From d62ae0ee8f554380d6b39151ac6dde42128ce407 Mon Sep 17 00:00:00 2001 From: diviocity Date: Mon, 30 Nov 2026 23:16:05 +0100 Subject: [PATCH] Record the Mesa demo build against the signed Vinix SDK --- BOOTSTRAP.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BOOTSTRAP.md b/BOOTSTRAP.md index 309d84e..b483b59 100644 --- a/BOOTSTRAP.md +++ b/BOOTSTRAP.md @@ -165,6 +165,8 @@ python3 tools/build-queue.py --reserve-mib 6144 "$arch" "$plan/order.tsv" "$reci Use the recipe snapshot that produced the plan. For a plan taken directly from this checkout, set `recipe_snapshot` to its `ports/` directory. +Run the target package queue with `LD_LIBRARY_PATH` unset. If a host tool needs additional libraries, set the path in that tool's own launcher. The x86_64 Xvfb and Mesa demos links both picked up the host's glibc Expat from the inherited library path. With that variable unset, the Mesa demos built with the same signed 53-package SDK, `glxinfo -h` ran through its musl loader, and all four executables passed the ELF page check. The archive SHA-256 is `a6bee207cc3bd6c32f564111196ceedb0ac950ec8644227a302b3d707b62b819`. The exact source audit verified 154 of 158 x86_64 package outputs. See `release-inputs/upstream-7f173671/mesa-demos-x86-release-coverage-01`, receipt SHA-256 `04eea286601133cd53e601ed32ae8498010655431aee7ff8b797c4a9a990179d`. + Pass `--reuse "$previous_work/artifacts"` when starting a new queue. The queue can bring in both requested packages and their prerequisites from one or more earlier artifact directories. It checks the exact version, target, archive checksum, embedded recipe hash, and ELF page alignment before reusing an archive. On the same filesystem it hard-links the verified archive so both queues share one copy. Build outputs and their hashes are immutable inputs to later signing, installation and guest tests. When a source, ABI or recipe change changes the output, increment the package release before building it. Each port gets a fresh, signed SDK containing its transitive prerequisites. The queue records recipe and dependency hashes, compiler logs and ELF page results. A subsequent port consumes an archive after its final checksum is available. Exit status 2 reports outstanding input packages. Rerunning reuses verified outputs and reclaims interrupted scratch directories. The worker built musl-fts, resumed it, and rejected an incorrect input version and a damaged receipt in `foundation/queue-test-03`, receipt SHA-256 `1de747944bd569219494cd127fc1f42cf110f7b0ad2a4e513099249a2e0b3bb1`. Two concurrent resumptions passed in `foundation/queue-resume-04`, receipt SHA-256 `a58a80c0050294666d4ecd41ce5c2affc371c5fbeb58fc672e98a9b7c8c3b14b`. -- 2.56.1