Building the Vinix release packages
Build the ports outside the source checkout. Keep a separate SDK and package database for each target. Each SDK contains the target headers, startup objects and libraries installed by vpac from a signed test repository. Build tools such as the bootstrap compiler, Make, Python and Meson execute on the Linux worker. Keep their host libraries out of the target include and linker search paths.
The build box runs up to two compiler jobs under a shared compile lock, with a 6 GiB memory throttle, an 8 GiB hard limit and no swap. The worker verified the pinned GCC tarball checksum at each retained path before hard-linking nine duplicate copies to its existing archive. This recovered 792.3 MiB. See foundation/gcc-source-archive-space-01, receipt SHA-256 b1d4a214b9418509b6606d70587bfde0b772d551613624f710a9f3019c9bc9d5.
| Stage | Inputs and outputs | Check before advancing |
|---|---|---|
| C runtime and headers | Build patched musl and the architecture-specific Linux UAPI package independently. Install both into the first SDK. Build BusyBox against that SDK. | Check the linker map and header inputs. Boot the installed shell and run a dynamically linked program through the packaged loader. |
| Base libraries and tools | Use musl for zlib, bzip2, XZ, Zstandard, Brotli, Expat, libffi, pkgconf, ncurses and GNU Make. libuuid and libcap also use UAPI headers. PCRE2 uses zlib. Vim uses ncurses. Zsh uses ncurses, PCRE2 and libcap. | Install each dependency before its consumers. Exercise its library, CLI or loadable modules. |
| Native compiler | Build GMP, then MPFR, then MPC. Build gcc-libs for Vinix with the bootstrap C and C++ compilers. Install that runtime before building binutils with gold and CTF. Build the native GCC with the signed runtime, binutils and arithmetic libraries installed. |
Compile, link and run C and C++ programs in the installed target root. Inspect the runtime libraries and startup object ownership. |
| Package installation and networking | Build OpenSSL against musl and UAPI. Install the Mozilla CA bundle. Build libarchive with the packaged compression libraries. GPGME requires libgpg-error and libassuan. Its OpenPGP operations require a working GnuPG installation. Build vpac with its pinned nspkg, Stutter and Vile sources and the target libraries. Build the c-ares and nghttp2 libraries needed by curl before the network tools. | In Vinix, use the target vpac to install by name, reject a tampered package, upgrade a package and query ownership. Exercise TLS with the installed CA store. |
| Fonts and X clients | Build libpng against zlib. Build FreeType with Brotli, bzip2, libpng and zlib, then fontconfig against FreeType and Expat. Build X protocol data, Xau and Xdmcp before XCB, then Xlib and the extension libraries. Add font and keyboard data before the server smoke test. | Exercise font selection and an X client against the packaged server. |
| Graphics and release assembly | Resolve the current Mesa and legacy Mesa/LLVM stack for the sidecar layout in PROFILES.md. Install the package-owned base, compiler and desktop packages into fresh roots on both architectures. |
Boot both images. Exercise the native compiler, desktop and GLX. Compare the shipped files and their owners to the release inputs. |
The order above describes dependencies. The signed feed receipt, clean-install log, file-ownership check and guest transcript record how far a particular build got. Keep these records beside the package archives, outside Git.
The GCC worker keeps its prepared sources and objects at a fixed absolute path with VINIX_GCC_BUILD_DIR. Reuse that path with the same recipe, SDK and build tools under the compile lock. With VINIX_GCC_LOCAL_SOURCE=1, the recipe verifies the pinned checksum of gcc-14.2.0.tar.xz beside PKGBUILD.vile. The preparation fixture reopened the same tree from a new vpac work directory, verified the original files and rejected changed recipe bytes. See gnu/gcc-checkpoints/recipe-retry-01, receipt SHA-256 d266107ef72538e53f35c06f96d97f445e35b70ae8f8b1886db2611867cff01d.
The x86_64 libitm preflight built the static archive and the musl shared library with SONAME libitm.so.1 against the signed GCC SDK. An independent recursive make test verified that the explicit CXX_FOR_TARGET argument reached the child make. These checks precede the complete compiler package and its native guest test. See gnu/libitm-preflight-01 and gnu/libitm-recursive-make-01, receipt SHA-256 adbd88a897d4c1528fbcabd72b5508d99aaf6fe93cd6e26e6095d0b85d2381ce and c58525cb90de735cc0aedc6fc6de8fa3d679dcec3bc1b7b75a955bf3ddb8e25f.
The x86_64 compiler build then compiled and linked libitm with the newly built G++ and reached the install phase. The package phase failed while listing versioned libraries to move out of the compiler archive. The revised package phase uses each shared library's SONAME and leaves the versioned files to gcc-libs. A fixture ran the revised phase against representative installed files on both targets and checked the generated linker paths. The full retry reuses the compiler objects after comparing the unchanged build phases. See gnu/gcc-packaging-fixture-01, receipt SHA-256 73293fe3468aadfaf8aed523777330d2c0002fed45c0dd2e8d765ebd7a20d423.
The retry produced gcc-14.2.0-1-x86_64.pkg.tar.zst, SHA-256 136aeee3c040fcf356e3ff0d3e83150883c6452e4c3de9ea18bac4e60809b22a. It reused the compiler objects and peaked at 545 MiB. The new signed SDK installed 18 packages and the auditor checked 3,763 owned paths and 101 target ELFs. See gnu/gcc-package-release-01, receipt SHA-256 c7bce72a61d40ab598c25b7171b4f4ba244bc4574e353ba74d091fc6199b24f4, and gnu/gcc-final-verification-01/sdk/audit.log. Running programs built by this compiler remains a separate acceptance check.
The private build umask left some packaged compiler directories at mode 0700. Release 2 sets the packaged directories to 0755 and reuses the same configured GCC objects. The worker verified file metadata in all 46 compiler and C++ header directories and checked the target ELF load segments in gcc-14.2.0-2-x86_64.pkg.tar.zst, SHA-256 aeba57d6dd36afd723cbaab6db3b2b1310c99c2f4c4a61cda77fe98dbb0f877a. See gnu/gcc-work/gcc-release-r3/gcc-r2.sha256 and the associated build attempt.
A fresh signed installation of that GCC revision, build-base, BusyBox init and the system accounts audited 23 packages, 3,792 owned paths and 104 target ELFs. The installed toolchain compiled the six fixtures under PRoot. The first run failed when Make tried to start ./arithmetic. The preserved executables all passed when run through the signed root's musl loader, including C++, OpenMP, 128-bit atomics, Graphite, LTO and GNU transactional memory. See gnu/gcc-final-verification-02, receipt SHA-256 54cfc9537738786622b1d550243ea5308b342393d0bb65ffcc66be477a13f9aa. The worker retained the configured objects with a verified archive and restoration path in foundation/gcc-x86-checkpoint-archive-02, receipt SHA-256 e17f870c167cba4d3bc33df189a2168356567d9936d6360c9d8de45dbceaefed.
The x86_64 release kernel booted the signed toolchain root from ext2 in QEMU. It compiled and ran all six fixtures with the packaged GCC and Make, including the LTO archive, OpenMP and atomics, transaction total of 128 and Graphite report. The test verified c89 and c99 modes and the disk identity. See tests/toolchain/guest.sh and gnu/receipts/native-toolchain-guest-01, receipt SHA-256 5e0d737c1243dc8548fb9d905e09b058f637b768343ab49a1665bdd6261e27d5.
The AArch64 bootstrap ran the built cc1plus through the signed musl SDK in QEMU user mode. It compiled a C++17 template and checked a compile-time assertion. The build worksheet supplies the cross-toolchain objdump for libcc1 and sets override SELFTEST_TARGETS := in a file passed through GNU Make's MAKEFILES. The separate C++ probe uses the target frontend directly. The recursive GCC self-test otherwise invokes the C-only bootstrap driver. See gnu/arm/build/gcc-r85-retry/cross-selftest, receipt SHA-256 c7e4649eef18f5472e7430a50e063addd4717a7a52eb5fa253ec58e02b8393e0.
The AArch64 packaging retry uses the signed gcc-libs package for the driver check and moves bootstrap-created usr/lib64 files into usr/lib before assigning the runtime files to gcc-libs. It compared the unchanged preparation and build recipe phases against the previous checkpoint and reused its objects. The archive contains the GCC and G++ drivers, the libstdc++ development archive and linker symlink, and GCC's libitm.spec. The archive gcc-14.2.0-2-aarch64.pkg.tar.zst has SHA-256 0c011186076066158a1c57c968d74c7f97556ad9cc0c2b74e64a5f9d2a7a2ec2.
The clean AArch64 toolchain install passed the audit for 19 signed packages, 3,897 owned files and links and 98 target ELFs. A PRoot run failed to spawn cc1. The installed GCC found its own cc1 on the Vinix release kernel under QEMU and compiled and ran all six fixtures, including exceptions, OpenMP, 128-bit atomics, Graphite, LTO and transactional memory. See gnu/arm/logs/native-toolchain-guest-01, receipt SHA-256 62149d44398071115d5afde69676111b81a96807df25efb623809f05be52dbf4. The archived build checkpoint is in foundation/gcc-arm16-checkpoint-archive-01, receipt SHA-256 681298a927cb47a170624e742f86011b4f6b3c9fa1a4186732e454fbe102a99a.
The static x86_64 busybox-bootstrap archive built against the signed musl and Linux headers. A cold signed install verified the one owned ELF and ran its uname -o applet. See foundation/busybox-bootstrap-x86-release-01, receipt SHA-256 d6364f5f04fb271a612608121388f5dfef71ece56d5b9bf3371c2223f96a5ad5.
Installing build-base by name from a signed x86_64 repository brought in 17 packages. The installed-root audit checked 3,196 owned files and links and 95 target ELFs. ALPM gives the metapackage a zero-byte file list. The auditor checked its archive manifest for package metadata and also rejected an empty file list substituted for the installed musl record. See foundation/installed-root-meta-02, receipt SHA-256 0632e6ff628e031080655367caa4aa01df213d328e32c1bae77a82bd766330f2.
The first installed compiler test stopped when GNU Make selected the build worker's vinix-c++ wrapper for CXX. Make 4.4.1-4 sets the installed default to g++. The signed installs on both targets checked the gmake link and expanded CXX with the environment override removed. See foundation/make-default-cxx-x86_64-01 and foundation/make-default-cxx-aarch64-01, receipt SHA-256 9d517066d1b1499f9a39221e43546fc9e9d9d1ad36231e9fe2d9c407f0b9c2e8 and b8c3062ea4fa14e174f0af98a290d04e653ba0735af94b1bb00254a9fe272320.
For the exact order within a source-built feed, run the following on the worker. The checker verifies each archive against the receipt from feed publish, reads its .PKGINFO, and resolves runtime, build and check dependencies including versioned providers. Its inputs are the feed and the indicated target architecture. The worker supplies bsdtar, ALPM's vercmp and Python 3.11 or later.
python3 tools/build-order.py x86_64 "$signed_feed" "$work/order"
order.tsv groups packages that may be built after earlier stages finish. edges.tsv records every declared dependency and the selected provider. Missing providers, ambiguous virtual names and cycles leave a pending row and cause a nonzero exit. Host tools still follow the bootstrap sequence above.
To plan before the archives exist, point the same command at the checkout's ports/ directory or an exact recipe snapshot. It uses vpac to evaluate each native recipe's metadata for the selected architecture. Include a prepared signing-key port with --extra-recipe when it belongs in the build.
python3 tools/build-order.py --recipes aarch64 ports "$work/source-order" \
--extra-recipe "$work/vinix-keyring/PKGBUILD.vile"
The worker cross-checked the source plan against the signed x86_64 archives for musl, Linux UAPI, zlib and PCRE2. The package versions, stages and dependency edges matched byte for byte. A second check of ports revision c745c03 found an unsatisfied check dependency on xkeyboard-config for xkbcomp on both targets. It ordered the other 100 x86_64 and 99 arm64 packages in that checkout. The worker keeps the results in foundation/source-order-01. Its receipt manifest has SHA-256 d46e8c29cb0404a5dc61489662e41e8999aaea0bb4186d534fea50dea7a15797.
At ports revision 06d5cb5, xkeyboard-config supplies the missing check dependency. The source planner placed all 114 recipes in seven stages independently on each architecture. See foundation/source-order-02, receipt SHA-256 813b33eb878851d7c32bae9a9cd2b05ad6365f034e286183d633f1836e09901c. Signed installation and guest execution have their own receipts.
vinix-release-desktop selects the source-built base, network utilities, compiler tools and desktop init by name. The architecture-specific recipe adds libuuid for the amd64 userland stage. The existing Vinix image builder also supplies the kernel, compositor and native services. Once the complete signed feed is available, a fresh install of this metapackage must resolve all its dependencies. The November 30 development snapshot placed the metapackage in stage 8, with 153 recipes across 15 stages on both targets including the X11 work. The exact recipe hashes and edges are in foundation/full-source-order-01, receipt SHA-256 86a9b1ae365bfe0cfb79f4a98407caf8d0ac92bea37e96eca7472eadaba11624. This snapshot includes recipes awaiting their first successful build.
The x86_64 desktop metapackage built against its exact signed runtime dependency set. The SDK audit checked 69 installed packages, 13,226 owned files and links, and 295 target ELFs. The archive vinix-release-desktop-20261130-2-x86_64.pkg.tar.zst has SHA-256 0fe4f791a8e3f245e21403d294f1664b2484b235b37bdc8327e7c328ad7f7c8c. See foundation/desktop-x86-meta-sdk-01, receipt SHA-256 8ac10f979fecc102a2ed57fc3da2e0a5d7dd23db3c23c4c2733e957bc3876a22. Restore the retired SDK from foundation/archived-x86-desktop-meta-sdk-01/restore.tsv, receipt SHA-256 05744d206111223602063145c0e03b7086829db4279647d14617b33784e6b347.
At Vinix revision 7f173671, a fresh x86_64 root installed vinix-release-desktop by name from the exact signed test feed. The audit verified 70 PGP-validated packages, 13,226 owned files and links, and 295 target ELFs. The install also checked ownership of the shell, PID 1, compiler tools, package manager and keyring. See foundation/desktop-release-x86-01/cold-install.sha256, SHA-256 bfa9b83dc4c39815a6c21e8c2f6579baefdb461444266f516a008ea716188aa9.
To check the clean install before allocating disk space for the image, pass --install-only to python3 tools/desktop-root.py "$arch" "$repo" "$auditor" "$work" "$fingerprint". When assembling the image later, run python3 tools/stage-image.py "$arch" "$work/client" "$repo" "$work/image" "$auditor" "$fingerprint" against that same audited client.
The x86_64 release kernel booted that same 70-package client from ext2 with the five checksum-pinned Vinix native programs from the November 28 release. The guest read the ext2 identity, reached the registration screen and sampled at least 24 framebuffer colors. See foundation/desktop-cold-guest-x86-01, receipt SHA-256 0c5b9bfae72837102bec49cf86e6422dc133466b121d951adf2cda14e6f95a5f. The checksum-verified disk archive and restoration metadata are in foundation/archived-desktop-cold-disk-02, receipt SHA-256 463aa01ddb1ced471b0bc4dce635a660982ba7181ba6a5b8f8a454f43e35cea5.
The packaged musl loader relocated all 150 dynamically linked position-independent executables from that client under PRoot. The --fixed-address-report option of tests/exec-linkage.py listed 24 GCC executables separately for direct execution. The GCC guest fixture exercises compiler drivers, compiler internals and runtime libraries through C, C++ and LTO builds. See foundation/desktop-loader-cold-x86-02, receipt SHA-256 5d5487ba68828b33f7e73957b14249c4b8b1ec414ae278ccbeb319d1931c001b.
The same client's file ownership and exported-symbol comparison against the published initramfs is in foundation/release-roots-audit-cold-01/x86_64, receipt SHA-256 53c9dada6393e3608bd24bfed1f27d194271861f747b023a734ed121f2681e9b. The comparison found full export coverage at 60 library paths, export differences at eight, and one absent provider for Alpine's libapk.
The follow-up looked for all 769 distinct missing export names in the checksum-pinned published x86_64 initramfs and X11 sidecar. Every match was a weak import, with 485 in the image and 228 in the sidecar. The fixture tests separately exercise compiler runtime behavior. See foundation/x86-export-consumer-check-01, receipt SHA-256 c306298a039a9b08cb704d208f48751fab297350afce503a7956592f6e66c0c3.
Image assembly verified the packaged trust certificate against the independent test pin and embedded all 70 signed seed packages and the installed vpac database. The staged x86_64 image root was at foundation/desktop-release-x86-01/install/image/root, receipt SHA-256 0859ea6deef81ff172662ac0a671a06c6829a46fc754de459b4025655df1cdb3. Restore it, the clean client and the boot fixture tree with tar --zstd --acls --xattrs -xf foundation/archived-cold-desktop-roots-01/cold-desktop-roots.tar.zst from the worker's project directory. The archive was compared against the original trees before recycling their disk space. Its receipt SHA-256 is 6a3fcf6a881be02a45ebeaf3da4fb7e524ec9637267f4379aaf2655b66352855.
The x86_64 elfutils port builds the ELF and DWARF tools with the C++ headers and unwind support from the signed Vinix GCC SDK. A C++ exception probe linked and ran against the SDK's shared runtime before the full build. A fresh install audited ten signed packages, 442 owned files and links, and 42 target ELFs. elfutils owns eu-readelf, which read its own ELF header, and the separate libelf package owns the shared library. See foundation/elfutils-release-x86_64-03, receipt SHA-256 e7a50f31ef41f345a5d1e16c17da3eba7fa730a9852d2508ad9968d840099be4.
The AArch64 elfutils install also audited ten signed packages, 442 owned files and links, and 42 target ELFs. The installed eu-readelf identified its own ELF machine as AArch64. The separate libelf package owns usr/lib/libelf.so.1. See foundation/elfutils-release-aarch64-03, receipt SHA-256 ebd5b4a32207462fbe9e048dedea75093ab928986e8509ee4030fa4a27e5fabc.
The archive comparison in reuse plan 04 verified 143 of 158 planned x86_64 outputs and 140 of 158 AArch64 outputs by package version, recipe hash and archive checksum. Its x86_64.outstanding.tsv and aarch64.outstanding.tsv reports list each missing receipt and any dependency blocking its build. See release-inputs/upstream-7f173671/reuse-plan-04, receipt SHA-256 e0c82bbb06153cffefb0d8f35644ade7bd57cb012ebd67997e273e225d0a3652.
With the tested SPIR-V Tools archive added, x86_64 has 144 of 158 planned outputs verified. The AArch64 desktop runtime closure has verified archives for 67 of 69 outputs. It needs the native GCC archive and the vinix-release-desktop metapackage built against that closure before the clean signed install. See release-inputs/upstream-7f173671/reuse-plan-05, receipt SHA-256 347cd3de8207dfe6e860b42a3a181a38275412d7e2c632fda215e7a8128b2e57.
With AArch64 GCC and the desktop metapackage built, the clean AArch64 desktop install verified all 69 signed packages, 13,341 owned files and links, and 294 target ELFs. Assembly verified and embedded all 69 signed seed packages. See foundation/desktop-release-arm-02, receipt SHA-256 8ce8b825519b0495335aa2d9d2f82f4d0c44566aaedeba82adca25a735f3d848. The cold client's root and cache are archived with restoration paths in foundation/archived-arm16-desktop-cold-client-01, receipt SHA-256 05fa2d0a78d959a24d9254cb609537fdd243b66439e083f0b4d4c7a5ca86bca4.
The AArch64 release kernel booted the complete desktop root with the five checksum-pinned native programs. It reached graphical registration with the watchdog active, sampled at least 24 framebuffer colors at 1024×768, passed signed package queries through pkg, and relocated all 150 dynamically linked position-independent executables. The kernel's serial diagnostic appeared on the same line as the exact ext2 image identity. The worker matched that identity against the seed and disk contents, verified each guest result, and retained the raw serial stream. The harness now accepts the known diagnostic after the complete identity. See foundation/desktop-cold-guest-arm16-02, receipt SHA-256 cc90a5237c7919c89ed32e6a6d3d495af84cd201b864b895f56d8e729ded4660.
The AArch64 export comparison reported differences at nine paths and an absent Alpine libapk provider. The follow-up checked 756 distinct missing export names against the published image and X11 sidecar. It found 431 weak imports in the image, 240 in the sidecar and zero strong imports. See foundation/arm64-export-consumer-check-01, receipt SHA-256 0a2168e5f7c1fe851f5a1a0b324a6ab7dd5ea852cdf70f54d43a54f2c685b661.
The AArch64 SPIR-V Tools package passed a clean four-package signed install and ran its assembler against the installed libraries. See xorg/spirv-tools-aarch64-01, receipt SHA-256 4ba36bcbb732fc6287cabbe7edd48935bb0d44d196e0d938e4c40ee00ccbbfb3. With AArch64 elfutils included, the archive scan matched 146 of 158 outputs on each architecture by recipe hash, version and archive checksum. The 12 outstanding outputs per architecture are in the Mesa and X11 chain, including LLVM 17 for x86_64 and LLVM 19 for AArch64. See release-inputs/upstream-7f173671/elfutils-release-coverage-01, receipt SHA-256 5bd90cfff555a5a194bb02f1d78ccf52b19599c566d6b61f753ab5eb8bb5780b.
The worker resolved all 81 packages in foundation/xlib-combined-01/repo into seven stages. For example, BusyBox follows musl and Linux headers, Xlib follows XCB and Xtrans, and the bitmap fonts follow mkfontscale. The order is in foundation/xlib-order-01/order.tsv with SHA-256 51d1464a0a994328c40264105f8b95b7b22a8922cad177daef98e593d4a6930c. The first signed ARM feed puts both musl and Linux headers in stage zero. Its signed, installed root passed the ownership and ELF audit for 1,165 files and links, including six target ELFs. The worker keeps that receipt in arm/common/sdk-01-audit.log with SHA-256 b315f8d20f2d4c7737fd2e5078c33e12b6183d2ee86a22a9ba6db6852d68c59b.
Running the shared worker
The released arm64 kernel uses 16 KiB pages. For every nonempty ELF load segment, the virtual address and file offset must have the same remainder modulo 16384. The x86_64 page size is 4096. Check a package before adding it to the build SDK with python3 tests/archive-pages.py aarch64 "$archive". Add --inventory to survey older archives and record every affected executable or shared object. The released kernel must also execute the installed payload.
The initial arm64 survey covered 22 distinct archive names. Thirteen contained an incompatible load segment, affecting 28 of 53 packaged executables and shared objects. BusyBox 1.38.0-4 and both initial musl releases were affected. The Linux UAPI and fortify headers contained no executable or shared object. Earlier arm64 installation and ownership receipts predate this kernel check. The worker stores the source archive hashes and segment offsets in arm/abi16/previous-02, receipt SHA-256 676679a285a3ccd67bbd85ea2415fbc46e0e79b4f6bfc9bb5e9a12c310bd54f6. The wrong-machine, historical BusyBox, header-only and x86_64 musl controls are in arm/abi16/archive-controls-01, receipt SHA-256 cc8e171dc5febc3ec75a7a3c30a008c9e49bd7bbc8e9d7ace465c576dee762e1.
MPFR needs a cross-compiler with BID decimal support. On aarch64 the worker used the pinned Ubuntu GCC 14.2 cross-compiler as a build tool, Vinix musl headers and a static decimal support archive built from the GCC source used for the Vinix runtime. The compiler inputs and probe are recorded in gnu/arm/decimal-compiler/receipts.sha256. The signed MPFR 4.2.1-5 has SHA-256 e44e82b8761f1bc286c48778be25d227d3081e116f19c68752815f683fabbf82 and retains all 697 published exports. Reproduce the check with ports/mpfr/decimal.c and ports/mpfr/thread-state.c linked against the signed SDK. The released kernel ran both fixtures and round-tripped decimal64 and decimal128 while keeping two threads' floating-point state separate. See gnu/arm/logs/mpfr-decimal-131/receipts.sha256 and gnu/arm/logs/numeric-decimal-guest-132/serial.log, SHA-256 4f5302374bc2f94137fd31ad6c3015fd95fe0282b6f87e7141d06a17edbb5820 and 0a16a54024c57e6751d814eb6f7ab9122aadd4322f145ca1409139dace70c894.
The aarch64 GNU runtime uses inline atomics so its shared libraries resolve against the packaged musl and unwinder. The recipe checks every library for 16 KiB load segments and unresolved outlined atomic helpers. A clean signed installation of gcc-libs 14.2.0-2 booted with the released kernel and ran the C++ exception, OpenMP and 128-bit atomic fixtures in tests/toolchain. The package digest is 796840770f4e2121e2923e727c5469270625b0e9832cea4504e97ea3149460a0. See gnu/arm/logs/runtime-guest-r115/serial.log, SHA-256 61e7f5b0b14295d3b2c1a6156388aa67f6ba21fccb1555ca8a484d410e260dcd.
The binutils recipe uses its signed SDK's Zstd and Jansson metadata in subdirectory configuration. Both source builds exercised split DWARF, CTF and Zstd debug-section compression. The x86_64 check linked PE32 and PE32+ fixtures with the generated scripts. On aarch64, BFD and gold linked executables with 16 KiB load segments, and the package installed into the signed GCC SDK. The archive receipts are gnu/gcc-work/binutils-release-r3/binutils.sha256 and gnu/arm/build/binutils-release-r3/binutils.sha256, manifest SHA-256 b27e492226fdc1987b5973277a3853e0410f488e97da1e1c76605bd50aa2968c and 73a87a0882a369fc245d3f000791a5047a5917d3f0d573395d223e939899c631.
The desktop metapackage requires musl 1.2.6-4 or later on arm64 and 1.2.6-2 or later on x86_64. The test-signed ARM 1.2.6-3 loader itself had 16 KiB load segments. Its GCC specs let the cross toolchain override that setting for a newly linked shared library. The expected ARM minimum excludes this SDK. The worker checked the architecture-specific version constraints with native vpac metadata in foundation/release-musl-floor-02, receipt SHA-256 2d6886c3bc9fdc7ef38945d303c92cb3b877eba9d67c2fa25b49f46d73019e8a.
Run python3 tests/exec-linkage.py x86_64 "$client" "$auditor" --proot "$(command -v proot)" on an x86_64 worker to exercise the installed loader against each dynamic executable in an audited root. For a Vinix guest, use --fixture "$work/linkage.sh" and pass that script to the boot harness. Packaged musl 1.2.6 applies relocations before returning from --list. It resolved all 109 dynamic executables in the signed 106-package x86_64 root. Renaming the exported OPENSSL_init_ssl symbol in an isolated copy of libssl caused the loader to reject /usr/bin/openssl with status 127. See foundation/exec-linkage-01, receipt SHA-256 cb2fdec09f4b9e7c873ec82d672af576e9e0c26484f9496744588323a01ed3a0.
The Ubuntu build worker serializes builds with compile.lock. Each build may use two compiler jobs. Set MAKEFLAGS=-j2 and CMAKE_BUILD_PARALLEL_LEVEL=2, or pass -j2 to Ninja or Meson. On the 12 GiB worker, run build services as a dynamic user with CPUQuota=200%, MemoryHigh=6G, MemoryMax=8G and MemorySwapMax=0. Guest-only checks can keep their 1 GiB service cap. Keep downloads, build directories, emulators and signing tools in private worker state. Store memory.peak and memory.events with each build and record any single-job retry. The worker recorded the live limit change in foundation/worker-memory-8g-01, receipt SHA-256 e8d4771cb2a4ef8f7ea7a32c2d6e483b6a9f105f08486f2750c88d71b1d5e54f.
The AArch64 desktop root and boot disk are archived with their original relative paths in foundation/archived-arm64-desktop-staged-01/restore-paths, receipt SHA-256 de17bb64a10bffce54c7d9de28c49be28991adf9a20750dcea421d7e4b941508. Extract staged-root-and-guest.tar.zst from the project directory with tar --zstd --acls --xattrs -xf to recover those paths.
The worker moved completed audit archives to disk-backed state on the operator's machine. See foundation/offloaded-audit-bundles-01 and foundation/offloaded-audit-bundles-02, receipt SHA-256 f6cef01bfbb27a7725ca6ad0ac1fb20c30908f00dc59a409c075b802a1a9381f and b1e8bf6b2e851a864b1f95bc87a3984881c38318e841df54fb8da449236c0845. Each offsite-path gives the storage directory, and files.tsv records the original path, size, mode, timestamp and digest. Restore the selected archive at its original worker path with its recorded metadata, then compare its hash with the corresponding archives.sha256 entry before opening the evidence bundle.
The aarch64 rebuilds of attr, ISL, libpng, libseccomp and Nettle require the 16 KiB musl SDK. Their clean signed install with musl, GMP and zlib audited eight package records, 514 owned paths and 25 target ELFs. The worker records exact versions and hashes in arm/abi16/common-library-check-01, receipt SHA-256 71890d9f9aa07f33ea13f64dbb3caab5e45505d48779392afe92bc0d89c4f5a3.
The aarch64 ncurses build uses the target strip for installed executables and the host tic for the terminfo database. The recipe ran its target infocmp against the staged xterm-256color entry. The worker checked the package's 16 KiB ELF segments in arm/abi16/logs/ncurses-pages.tsv, SHA-256 48d777d8e44938601cf51d8a63a58b4243b492ed7a455b3ef1c0b0743db0fb06.
The AArch64 release kernel booted a fresh ext2 root from 79 signed packages, including binutils, GCC libraries, OpenSSL and X client libraries. The installed musl loader relocated all 82 dynamic executable paths. The root audit covered 12,011 owned files and links and 204 target ELFs. See arm/abi16/combined-runtime-02, receipt SHA-256 06df2a06013eaaaa18f05482668aab20d3ef0fca2339f2f9116970f5bed34c51.
Verified x86_64 bootstrap
A fresh signed Git 2.47.3 installation pulled in 15 packages and passed the audit for 1,842 paths and 46 ELF files. In the isolated root, Git created a commit, read it back and passed git fsck --full. The installed OpenSSH 9.9p2 client and its five dependencies passed the audit for 4,319 paths and 34 ELFs. Its ssh-keygen generated an Ed25519 key, signed a file and verified it for the named principal. The worker retains those installed-package results in foundation/signed-git-01 and foundation/signed-ssh-01, receipt SHA-256 f43c1f53e159f97b6e5cfb8db542828f5ab055996e7885b2e4b89b044df9ed76 and 6e30b1d67ad5e9740ca28cf76317ef3f4dac4e75c82c78560785a2395ddb2e32 respectively.
The November 2026 worker run installed 24 packages by name into a fresh root from a test-signed repository. The ownership and ELF auditor at ports revision 4cc4c14 checked 8,169 files and links and 67 ELF files, including interpreter and shared library resolution. The package set includes BusyBox 1.38.0-4, musl, Linux headers, GNU Make, GMP, OpenSSL, the CA bundle, libpng, nghttp2 and c-ares. The worker retains the package hashes in foundation/feed-01/packages.tsv and the client in foundation/sdk-01.
A separate client upgraded BusyBox 1.38.0-3 to 1.38.0-4 and installed vinix-release. vpac recorded BusyBox as owner of /bin/uname and the identity package as owner of /usr/bin/uname. The installed OS ID was vinix. Signed upgrade commands
On the operator machine, ~/.local/state/vinix/ports/musl-busybox-CqkBEA/foundation/receipts.sha256 records the transaction and audit logs. The clean-root audit log has SHA-256 328fbb76a322e5e61b572ee9e7d6fdd52a5cb37613fbc8de2b07d0290f075f49. The signed upgrade log has SHA-256 802496df0b3da0f5f66f1a12f293c910ebb43c4d19a781b58f88bd8ccbd303c6. Guest boot and display protocol checks have their own serial transcript. XCB guest run
The x86_64 SQLite 3.48.0-1 build used 724 MiB at peak under the 1 GiB limit. Its recipe creates an FTS5 database with the target shell and reads it through the target shared library. A fresh signed installation of SQLite, musl, readline, ncurses and zlib passed commit, rollback, search and integrity checks. All eight dynamic executables in that root relocated. The worker keeps the install and query logs in foundation/signed-sqlite-02, receipt SHA-256 660aec4a9ed85889b15c79eab19439c8364cb7bc870f6809bdff26dd1732938e.
The installed x86_64 XBPS 0.59.2-1 tools created a package, indexed it, installed it into an empty directory and read its version from the local database. The fixture compared the installed bytes with the input. Its 13-package signed root contained 57 target ELFs. See foundation/signed-xbps-01, receipt SHA-256 c54c52e01e076177f73be1830574c3c256d6af8627679d1b24353f145cf1f078.
The GnuPG 2.4.9-1 recipe uses the SDK's gpgrt-config to locate libksba. Its build check verifies a detached signature with the target gpgv and requires a bad-signature result after changing the signed bytes. The x86_64 archive has SHA-256 05a9da36d6f07114af1a1683690eec0452582b506262c445dde55d1a1b5e07c4. Installing GnuPG, GPGME, the Vinix test keyring and BusyBox init pulled in 22 signed packages with 4,893 owned files and links and 76 target ELFs. See foundation/signature-engine-x86-02/audit.log, SHA-256 9762624c6ba59640955091783d9bea47a6e9859ef3d5a1f45e11cecbc461ef34.
The published x86_64 Vinix kernel booted that 22-package root. Both gpgv and the GPGME OpenPGP engine verified the feed's actual detached database signature against the packaged public key. Both reported a bad signature when the guest appended bytes to the database. To repeat the check, compile tests/userland/verify-index.c with the target SDK and -lgpgme. Stage the executable, the signed vinix.db and its signature as /signature-fixture/{verify-index,index,index.sig}, then boot with tests/userland/signatures.sh. The worker receipt manifest is foundation/signature-engine-guest-03/receipts.sha256, SHA-256 71ce37b04b4e75936bd4082396f3b312ee7b4ef68a05cc9e7338849f6889293e.
The x86_64 vpac recipe uses V at 597b0f6, targets musl explicitly, and embeds the Vile resources. Its configuration check temporarily removes both input Scheme files and queries an installed signed musl record. The recipe uses the locked nobody account from vinix-accounts and keeps package and database signature checks enabled. The build peaked at 2,281,107,456 bytes with zero cgroup OOM events. The resulting vpac-1.0.0-1-x86_64.pkg.tar.zst has SHA-256 f6aa20508a8bc62b5da8b5134657f8d12b1ff5c1609a87e2d7eae02759ea7786. The worker recorded the pinned source trees in foundation/vpac-vcs-pins-01, receipt SHA-256 2124cc24c72459f7274eb4a74c0d1fa4ec30896a35183e31e6786e9060666014.
Release 2 handles the Vinix kernel's ENOSYS response to the Landlock ABI query. Downloads retain the locked account, no-new-privs and seccomp, and the transaction still verifies the signed package. The x86_64 install scenario refused a same-length modification of the signed netbase archive, installed the authentic archive, and verified its owner, signature and repository lookup. The upgrade scenario installed CA bundle release 3 over release 2 and verified the new record, signature, symlink, contents and owner. See foundation/vpac-install-scenario-01 and foundation/vpac-upgrade-scenario-01, receipt SHA-256 8aadaa39401e58548c4df2d50cc7147277df26d51a92920d23bf3cf7cdace8f5 and 2d19dacbd7df9dad4dc9e328e3473585c955b8356dafbc9ba58f1ae77feaff1a. The combined x86_64 replay reported a completed upgrade and timed out before the fixture passed.
vpac-1.0.0-2-aarch64.pkg.tar.zst has SHA-256 8a4080716ebed22c948e0cb54c0dfaf08decfe0fa26eca85e8f7b388883da3d5. The published AArch64 Vinix kernel booted a 40-package signed root, refused a modified netbase archive, installed the authentic package, and verified its signature, owner and lookup results. See arm/abi16/guest-vpac-03, receipt SHA-256 7edee67a20ef2ec6993f9a5148a634cc1a667d93464cb2dac076760f18f40169.
The AArch64 public pkg fixture passed package update, search, install and removal using the signed netbase archive. The first boot timed out after installing the package. The worker booted the same ext2 fixture with a longer timeout and verified the matching disk identity and transcript. See foundation/vinix-pkg-guest-arm16-01, receipt SHA-256 1fca972af159621a7955ff978a32e63df0f4a7950908b64af9c2ebc80fbd4c6a.
The AArch64 pkg upgrade fixture passed on the published kernel. It installed CA bundle release 3 over release 2 from the signed update feed and verified the new package record, PGP status, trust-store symlink, contents and owner. See foundation/vinix-pkg-upgrade-arm16-01, receipt SHA-256 30cd1372150a90739643a1f44e77f2189dfc376e33ea2d4845031312a3a40c13.
For later builds, tools/build-queue.py uses the source order and a verified bootstrap feed. Place the input archives and a NAME.sha256 receipt for each in $work/artifacts. Configure the host compiler and signing tools as for a single native build, then select the ports to build. The worker uses this command form.
python3 tools/build-queue.py --reserve-mib 6144 "$arch" "$plan/order.tsv" "$recipe_snapshot" "$work" \
"$test_keys" "$auditor" "$vpac_builder" "$compile_lock" zlib make openssl
Use the recipe snapshot that produced the plan. For a plan taken directly from this checkout, set recipe_snapshot to its ports/ directory.
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.
An empty queue reused the existing AArch64 musl and musl-fts archives with the compiler path set to a nonexistent executable. Both archives passed the page audit. The worker also rejected a changed recipe with the same package version and an archive with a mismatched checksum. See foundation/queue-shared-reuse-01, receipt SHA-256 bcab78e7e9fd1d0b86800c32870ceea84abcd5ce54781ddb42d1c46e5970d213.
Source plans record the recipe directory for each output package. The queue invokes a split recipe once, validates its complete output list and records each archive separately. The AArch64 fixture requested two split packages, built them in one invocation and reused both in an empty queue with the compiler disabled. See foundation/queue-split-reuse-01, receipt SHA-256 437ce9d0bea7bd7e8409877584c082c32804530217a7b5bb65879b624caba2bc.
The published x86_64 Vinix kernel booted 32 signed network packages. It refreshed the trust store with a local CA, established loopback HTTPS, rejected the wrong hostname, committed and read a Git file, signed and verified that file with the installed SSH tools, then installed and queried a local XBPS package. The fixture and logs are tests/userland/network.sh and foundation/network-guest-03, receipt SHA-256 4e9afac33947b999911a4ff35f218b49f3356b345e47e7b90e7ffce644d0c7b4.
OpenSSH 9.9p2-1 passed its AArch64 recipe checks in QEMU user mode with six packages in the signed SDK. The recipe wraps the emulated commands in fakeroot so the musl process can resolve its test UID in the worker's passwd file. The check lists ciphers, generates and fingerprints an Ed25519 key, and signs a file. The archive and ELF page report are in arm/abi16/openssh-recheck-01, receipt SHA-256 227a4e471322b1c5ada06ed342145bb05b08020e371ab293fb4194500ff97918. The network guest remains the installed-system check.
On AArch64, readline's configure script repurposes CROSS_COMPILE as a C preprocessor flag. The configure wrapper now fixes the compiler names before that script runs. With the same signed musl and ncurses SDK, configure changed from a lookup for -DCROSS_COMPILINGgcc to a successful AArch64 compiler and configuration check. See arm/abi16/readline-configure-01, receipt SHA-256 60d817d3cd361d8a07bf186e3a8378787e05664207fef02a00ed25cfbfc1ce7f.
Readline 8.2.13-1 built and passed its history and ELF checks on AArch64. The compiler wrapper also rebases absolute include and library subdirectories into the signed SDK, including the /usr/include/ncursesw path emitted by pinentry. Pinentry 1.3.1-1 built its terminal and curses programs, ran the target version check, and passed the ELF page audit. See arm/abi16/readline-package-01 and arm/abi16/pinentry-headers-01, receipt SHA-256 705341ec3a85b2779cd6ebd551bed3c06672ee86674b4d50fec6ab149453c2bc and 096d60a52b5b89d22eab0945aa6de8922e4ffc115aaa51a878ae335799ab31d4.
Git 2.47 uses thread_local as a struct tag. The AArch64 bootstrap compiler rejected that tag in its default C23 mode and accepted it with -std=gnu17. The Git recipe selects GNU C17 for its build. See arm/abi16/git-c23-failure-01/gnu17-probe.sha256, SHA-256 dc42c7319bfa7fbfce0791d8a03f66866a85271345a59d90d9e9ecd808f8ae19.
The AArch64 build produced git-2.47.3-1-aarch64.pkg.tar.zst, SHA-256 d918a161c913c413d651d789a04c2049946f420f3c25f8e4e7c61bf2c171b8a4. The published kernel booted the 32-package signed network root and passed the same network fixture as x86_64. The installed-root audit checked 6,441 owned paths and 110 target ELFs. See arm/abi16/guest-network-01, receipt SHA-256 2bc6b8bdc8a4cd932e367b4b9f4b1299219700f39aee4c679acb37d13c8d0570.
The AArch64 signature guest booted 22 signed packages with GnuPG 2.4.9-1. GnuPG and the GPGME verifier accepted the repository index signed by the pinned test key and rejected a modified copy. See tests/userland/signatures.sh and arm/abi16/signature-engine-01, receipt SHA-256 4825e4c065e96ed4cfec4e2f34fc3b157b61e22aa40f57c7db138331b1fe51a4.
The worker compressed three retired vpac upgrade test disks and the first x86_64 build-base verification SDK. It checked the decompressed disk hashes and compared the SDK archive against its original tree before recycling those paths. foundation/archived-toolchain-input-space-01/restore.tsv records the disk paths, original hashes, modes and modification times. Restore the SDK with tar --zstd -xf from the worker's project directory using the archive named in restore-tree.tsv. The receipt SHA-256 is 877da7c3aaca368dc8c2cf4936553de6d0e31d2bb9dd9d32994a5b85ae8f5847.
The worker also preserved completed root trees in foundation/archived-release-roots-02 and the original signed build-base client in foundation/archived-build-base-fixture-01. The worker compared each archive with the tree before recycling it. Use restore.tsv and tar --zstd -xf to restore the original paths. The receipt SHA-256 values are a75480c3dec539c056df1e1600b935804f88f7a1029663f3463c437f14be29fb and 4c98fffa1f6486ad4c13eabfaf9a1a6ed0a26caf93819e5f66be5fbbc9192818.
foundation/archived-gcc-deltas-01 and foundation/archived-vpac-disk-deltas-01 preserve older compressed archives as Zstandard deltas against closely matching archives on the same worker. Each TSV records the original pathname and hash, the reference and its hash, and the original mode and modification time. Recreate the original compressed archive with zstd -d -M1024MB --patch-from="$reference" "$delta" -o "$original", verify its SHA-256, and restore its recorded metadata before running the original evidence checker. The receipt SHA-256 values are c1890c05479bfa0ab51d5ffdb9a9de421b2d0835923cbfc3d7a51a070ab960cf and 274775396dd874acb4a82d12058680d267eff837c1318ab3f82079e84ceab1f2.
An eight-package x86_64 guest tested the BusyBox wget applet and its separately packaged TLS helper. It rejected an unknown certificate, retrieved the expected bytes after installing the local CA, and rejected the same certificate for a different hostname. The guest fixture is tests/userland/wget.sh. The worker keeps the install, audit and serial hashes in foundation/wget-guest-x86_64-01/receipts.sha256, SHA-256 5872d1467ee2594b9305bed5fa1ceb084c8c3fde4ebccb0539db25d02b3849f9.
For package roots too large for a test initramfs, use python3 tests/disk-root.py "$arch" "$root" "$fixture" "$iso" "$boot" "$output" on the worker. The root must supply BusyBox init, and the fixture prints VPAC FIXTURE GUEST PASS after its checks. The helper creates a fresh ext2 image file from a private copy and runs QEMU in snapshot mode. The x86_64 release kernel read the matching disk identity and relocated all 109 dynamic executable paths from a 106-package root with 512 MiB of guest RAM. The test retains its ext2 and serial hashes under foundation/disk-exec-x86-02/test, receipt SHA-256 6f600855744d04fa71d916f545e746ed36ba2686a56937c2b4c3cb02e3ec6a58.