Milestone
M5 (cold boot) — parent #1492 / #2849 (native rebuild path)
Problem
With vendor/ moved aside, php script/bootstrap-vendor-objects.php --compile reports:
OK ircmaxell/php-types → prelinked/bootstrap-vendor/ircmaxell-php-types.o (cold boot: committed prelink)
bootstrap-vendor-objects: 2 package(s) missing committed prelink .o (vendor/ absent)
make north-star5-verify is green when vendor/ is present (3/3 object_ok), but a fresh clone without Composer cannot link php-cfg/php-llvm into the bootstrap floor. M5 requires no vendor/autoload.php at cold boot (#1416).
Scope
| Path |
Work |
prelinked/bootstrap-vendor/ircmaxell-php-cfg.o |
Commit LLVM 9 object (or reproducible build script) |
prelinked/bootstrap-vendor/ircmaxell-php-llvm.o |
Same |
prelinked/bootstrap-vendor/manifest.json |
object_ok / cold-boot metadata for all 3 packages |
script/bootstrap-vendor-prelink-lib.php |
bootstrapVendorPrelinkColdBootCompileFromCommitted() — verify + link path |
script/bootstrap-vendor-objects.php |
Exit 0 on --compile when only committed .o required |
Repro
./script/docker-exec.sh -- bash -lc 'mv vendor vendor.bak; php script/bootstrap-vendor-objects.php --compile; mv vendor.bak vendor'
# expect exit 0 + 3/3 object_ok without vendor/
Done when
- Repro exits 0 with
vendor/ absent (no Missing vendor autoload for php-cfg/php-llvm)
make north-star5-verify passes with vendor/ moved aside
- Regenerate manifest via
php script/bootstrap-vendor-objects.php (committed artifacts checked in)
Labels: self-host, bootstrap, IMPORTANT
Milestone
M5 (cold boot) — parent #1492 / #2849 (native rebuild path)
Problem
With
vendor/moved aside,php script/bootstrap-vendor-objects.php --compilereports:make north-star5-verifyis green whenvendor/is present (3/3 object_ok), but a fresh clone without Composer cannot link php-cfg/php-llvm into the bootstrap floor. M5 requires novendor/autoload.phpat cold boot (#1416).Scope
prelinked/bootstrap-vendor/ircmaxell-php-cfg.oprelinked/bootstrap-vendor/ircmaxell-php-llvm.oprelinked/bootstrap-vendor/manifest.jsonobject_ok/ cold-boot metadata for all 3 packagesscript/bootstrap-vendor-prelink-lib.phpbootstrapVendorPrelinkColdBootCompileFromCommitted()— verify + link pathscript/bootstrap-vendor-objects.php--compilewhen only committed.orequiredRepro
Done when
vendor/absent (noMissing vendor autoloadfor php-cfg/php-llvm)make north-star5-verifypasses withvendor/moved asidephp script/bootstrap-vendor-objects.php(committed artifacts checked in)Labels:
self-host,bootstrap,IMPORTANT