Commit 6032f2e
fix(wave3): hol4 build in-place at /opt/HOL4 (not relocatable)
The previous fix got hol4 to *build* green, but the runtime image's
`bin/hol` was broken: it called /build/HOL4/bin/heapname and
/build/HOL4/bin/buildheap — "not found". HOL4 is not relocatable;
`bin/build` bakes the absolute build directory into bin/hol,
bin/heapname, bin/buildheap and the heap images. Building at
/build/HOL4 then COPYing to /opt/HOL4 leaves those paths dangling.
Fix: clone + configure + `bin/build` directly at /opt/HOL4 (the final
runtime path, which also matches HOLDIR=/opt/HOL4), and COPY
/opt/HOL4 → /opt/HOL4 unchanged so the baked paths stay valid.
Surfaced by runtime-smoke-testing the built image, not the build log
(the green build hid a non-functional backend — same lesson as the
scip silent-stub fix in 63bacf0). Verification (build + offline
`hol` smoke-test) is now part of the build script.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 63bacf0 commit 6032f2e
1 file changed
Lines changed: 18 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
474 | 479 | | |
475 | 480 | | |
476 | | - | |
| 481 | + | |
477 | 482 | | |
478 | | - | |
| 483 | + | |
479 | 484 | | |
480 | 485 | | |
481 | 486 | | |
482 | 487 | | |
483 | 488 | | |
484 | | - | |
| 489 | + | |
485 | 490 | | |
486 | 491 | | |
487 | 492 | | |
| |||
506 | 511 | | |
507 | 512 | | |
508 | 513 | | |
509 | | - | |
510 | | - | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
511 | 517 | | |
512 | 518 | | |
513 | 519 | | |
| |||
0 commit comments