me

/

vinix-ports Public
382 commits 0 issues 0 pull requests 1 contributor Discussions Projects Snippets LOC history Platform CI

Move package recipes into ports/

diviocity committed 5 days ago · c33d8afc2906b8dd9a8b905224eccd49a44f7ad5 View patch
Unverified signature 228 files changed +27 -18
BOOTSTRAP.md +6 -4

@@ -49,10 +49,10 @@ python3 tools/build-order.py x86_64 "$signed_feed" "$work/order"

4949

5050`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.

5151

52-To plan before the archives exist, point the same command at a trusted ports checkout. 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.

52+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.

5353

5454```sh

55-python3 tools/build-order.py --recipes aarch64 "$ports" "$work/source-order" \

55+python3 tools/build-order.py --recipes aarch64 ports "$work/source-order" \

5656 --extra-recipe "$work/vinix-keyring/PKGBUILD.vile"

5757```

5858

@@ -102,7 +102,7 @@ The released arm64 kernel uses 16 KiB pages. For every nonempty ELF load segment

102102

103103The 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`.

104104

105-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 `mpfr/decimal.c` and `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`.

105+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`.

106106

107107The 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`.

108108

@@ -155,10 +155,12 @@ The AArch64 `pkg` upgrade fixture passed on the published kernel. It installed C

155155For 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.

156156

157157```sh

158-python3 tools/build-queue.py --reserve-mib 6144 "$arch" "$plan/order.tsv" "$ports" "$work" \

158+python3 tools/build-queue.py --reserve-mib 6144 "$arch" "$plan/order.tsv" "$recipe_snapshot" "$work" \

159159 "$test_keys" "$auditor" "$vpac_builder" "$compile_lock" zlib make openssl

160160```

161161

162+Use the recipe snapshot that produced the plan. For a plan taken directly from this checkout, set `recipe_snapshot` to its `ports/` directory.

163+

162164Pass `--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.

163165

164166Each 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`.

PROFILES.md +9 -3

@@ -24,12 +24,18 @@ For `order-06`, `tools/release-archives.py` checks each receipt, the archive's p

2424

2525The reuse trial selected historical recipe bytes for 17 x86_64 and two AArch64 builds. Both regenerated dependency orders and their edges matched `order-06` byte for byte. A new archive scan matched 135 x86_64 and 127 AArch64 archives against the trial; the latter includes the newly built libxaw. The AArch64 libxml2 manifests record different library payloads. See `release-inputs/upstream-7f173671/reuse-plan-01`, receipt SHA-256 `b406f696aec1c7926f28a84d3ed9592fcf3444aef623356a38bb3c1e206ae65e`.

2626

27-`release-recipes/reuse.tsv` records the tested recipe variants in Git. Run this loop from the ports checkout on a copy of the source snapshot for one target. The x86_64 musl patch reconstructs the archived recipe bytes for that target. The AArch64 profile keeps its 16 KiB compiler-spec fix. Restore the package directory at each specified revision so local inputs such as Git's `config.mak` match the recipe.

27+`release-recipes/reuse.tsv` records the tested recipe variants in Git. Run this loop from the repository root with `$recipes` set to a copy of the recipe directory for one target. The x86_64 musl patch reconstructs the archived recipe bytes for that target. The AArch64 profile keeps its 16 KiB compiler-spec fix. Restore the package directory at each specified revision so local inputs such as Git's `config.mak` match the recipe.

2828

2929```sh

3030while IFS="$(printf '\t')" read -r target package revision checksum adjustment; do

3131 test "$target" = "$arch" || continue

32- git archive "$revision" "$package" | tar -xf - -C "$recipes" || exit 1

32+ source_dir="$package"

33+ strip=0

34+ if git cat-file -e "$revision:ports/$package/PKGBUILD.vile" 2>/dev/null; then

35+ source_dir="ports/$package"

36+ strip=1

37+ fi

38+ git archive "$revision" "$source_dir" | tar -xf - -C "$recipes" --strip-components="$strip" || exit 1

3339 recipe="$recipes/$package/PKGBUILD.vile"

3440 if test "$adjustment" != -; then

3541 patch --batch --fuzz=0 "$recipe" "$adjustment" || exit 1

@@ -42,7 +48,7 @@ The two AArch64 libxml2 archives have 1,749 matching exported symbols, including

4248

4349The second reuse trial adds the tested x86_64 Git and AArch64 OpenSSH recipes. It uses the selected AArch64 libxml2 archive and the shared `vinix-release` archive. All 21 source pins reconstructed with matching recipe hashes. Both dependency orders and their edges still match `order-06`. The archive check matched 137 of 158 x86_64 packages and 132 of 158 AArch64 packages. See `release-inputs/upstream-7f173671/reuse-plan-02`, receipt SHA-256 `86006adf587e68849f38aaf48ab820ae4d569dcd1093e3995a8df7d616750ccb`.

4450

45-The third scan reconstructed all 24 source pins, including the x86_64 GCC runtime, MPFR and desktop init, and again matched both dependency orders and edges. The signed x86_64 MPFR archive round-tripped decimal64 and decimal128 with `mpfr/decimal.c`. See `gnu/numeric-abi-x86-mpfr-reuse-01`, receipt SHA-256 `cf19247bed558445cc059050810e183f17a3c565324dbfae067eb14551037723`. The new scan verified 140 x86_64 and 134 AArch64 archives of 158 per target. See `release-inputs/upstream-7f173671/reuse-plan-03`, receipt SHA-256 `c99b43ac6b8fadb7ba6cc9366c36f51f99e4c529c01da1c2914532f633b8cae9`.

51+The third scan reconstructed all 24 source pins, including the x86_64 GCC runtime, MPFR and desktop init, and again matched both dependency orders and edges. The signed x86_64 MPFR archive round-tripped decimal64 and decimal128 with `ports/mpfr/decimal.c`. See `gnu/numeric-abi-x86-mpfr-reuse-01`, receipt SHA-256 `cf19247bed558445cc059050810e183f17a3c565324dbfae067eb14551037723`. The new scan verified 140 x86_64 and 134 AArch64 archives of 158 per target. See `release-inputs/upstream-7f173671/reuse-plan-03`, receipt SHA-256 `c99b43ac6b8fadb7ba6cc9366c36f51f99e4c529c01da1c2914532f633b8cae9`.

4652

4753Run the audit on the worker with the exact source snapshot and the saved receipt pools. The output includes each rejected candidate and the packages waiting on it. The worker tested the successful Make archive, changed recipe bytes and a wrong archive checksum. See `archive-provenance-controls-02`, receipt SHA-256 `ab654bd7de369594a78f6e5cae0ac49dea1a9c248ec92824f4a7699a5015ccad`.

4854

README.md +4 -4

@@ -1,8 +1,8 @@

11# Vinix ports

22

3-Each port contains a native vpac recipe and its local build inputs. The

4-bootstrap packages build Vinix's patched musl and a static BusyBox. The

5-`busybox-bootstrap` package supplies the initial shell, init and utilities.

3+Each port under [`ports/`](ports/) contains a native vpac recipe and its local

4+build inputs. The bootstrap packages build Vinix's patched musl and a static

5+BusyBox. The `busybox-bootstrap` package supplies the initial shell, init and utilities.

66The release `busybox` package uses `ssl-client` for HTTPS. Bootstrap images

77using that release package install `busybox-init` to run it as PID 1.

88See [the release profiles](PROFILES.md) for each architecture.

@@ -35,7 +35,7 @@ install both into an empty SDK through vpac and compile BusyBox against it.

3535

3636```sh

3737work=$(mktemp -d)

38-cp -R musl linux-headers busybox-bootstrap "$work/"

38+cp -R ports/musl ports/linux-headers ports/busybox-bootstrap "$work/"

3939export MAKEFLAGS=-j2 CMAKE_BUILD_PARALLEL_LEVEL=2

4040v -o "$work/feed" tests/feed.v

4141v -o "$work/vinix-cc" tools/vinix-cc.v

renamed acl/PKGBUILD.vile → ports/acl/PKGBUILD.vile +0 -0
renamed argp-standalone/PKGBUILD.vile → ports/argp-standalone/PKGBUILD.vile +0 -0
renamed attr/PKGBUILD.vile → ports/attr/PKGBUILD.vile +0 -0
renamed bdftopcf/PKGBUILD.vile → ports/bdftopcf/PKGBUILD.vile +0 -0
renamed binutils/PKGBUILD.vile → ports/binutils/PKGBUILD.vile +0 -0
renamed brotli/PKGBUILD.vile → ports/brotli/PKGBUILD.vile +0 -0
renamed bsd-compat-headers/PKGBUILD.vile → ports/bsd-compat-headers/PKGBUILD.vile +0 -0
renamed btop/PKGBUILD.vile → ports/btop/PKGBUILD.vile +0 -0
renamed build-base/PKGBUILD.vile → ports/build-base/PKGBUILD.vile +0 -0
renamed busybox-bootstrap/PKGBUILD.vile → ports/busybox-bootstrap/PKGBUILD.vile +0 -0
renamed busybox-bootstrap/bootstrap.config → ports/busybox-bootstrap/bootstrap.config +0 -0
renamed busybox-init/PKGBUILD.vile → ports/busybox-init/PKGBUILD.vile +0 -0
renamed busybox/PKGBUILD.vile → ports/busybox/PKGBUILD.vile +0 -0
renamed bzip2/PKGBUILD.vile → ports/bzip2/PKGBUILD.vile +0 -0
renamed bzip2/bzip2.pc → ports/bzip2/bzip2.pc +0 -0
renamed c-ares/PKGBUILD.vile → ports/c-ares/PKGBUILD.vile +0 -0
renamed c-ares/check.vsh → ports/c-ares/check.vsh +0 -0
renamed ca-certificates-bundle/PKGBUILD.vile → ports/ca-certificates-bundle/PKGBUILD.vile +0 -0
renamed ca-certificates/PKGBUILD.vile → ports/ca-certificates/PKGBUILD.vile +0 -0
renamed ca-certificates/certhash → ports/ca-certificates/certhash +0 -0
renamed ca-certificates/make-config.py → ports/ca-certificates/make-config.py +0 -0
renamed curl/PKGBUILD.vile → ports/curl/PKGBUILD.vile +0 -0
renamed curl/check.py → ports/curl/check.py +0 -0
renamed elfutils/PKGBUILD.vile → ports/elfutils/PKGBUILD.vile +0 -0
renamed encodings/PKGBUILD.vile → ports/encodings/PKGBUILD.vile +0 -0
renamed expat/PKGBUILD.vile → ports/expat/PKGBUILD.vile +0 -0
renamed file/PKGBUILD.vile → ports/file/PKGBUILD.vile +0 -0
renamed file/check.py → ports/file/check.py +0 -0
renamed font-alias/PKGBUILD.vile → ports/font-alias/PKGBUILD.vile +0 -0
renamed font-cursor-misc/PKGBUILD.vile → ports/font-cursor-misc/PKGBUILD.vile +0 -0
renamed font-misc-misc/PKGBUILD.vile → ports/font-misc-misc/PKGBUILD.vile +0 -0
renamed font-util/PKGBUILD.vile → ports/font-util/PKGBUILD.vile +0 -0
renamed fontconfig/PKGBUILD.vile → ports/fontconfig/PKGBUILD.vile +0 -0
renamed fortify-headers/PKGBUILD.vile → ports/fortify-headers/PKGBUILD.vile +0 -0
renamed fortify-headers/checked.c → ports/fortify-headers/checked.c +0 -0
renamed freetype/PKGBUILD.vile → ports/freetype/PKGBUILD.vile +0 -0
renamed freetype/glyph.c → ports/freetype/glyph.c +0 -0
renamed gc/PKGBUILD.vile → ports/gc/PKGBUILD.vile +0 -0
renamed gc/collect.c → ports/gc/collect.c +0 -0
renamed gcc-libs/PKGBUILD.vile → ports/gcc-libs/PKGBUILD.vile +0 -0
renamed gcc/BOOTSTRAP.md → ports/gcc/BOOTSTRAP.md +0 -0
renamed gcc/PKGBUILD.vile → ports/gcc/PKGBUILD.vile +0 -0
renamed git/PKGBUILD.vile → ports/git/PKGBUILD.vile +0 -0
renamed git/check.py → ports/git/check.py +0 -0
renamed git/config.mak → ports/git/config.mak +0 -0
renamed glu-headers/PKGBUILD.vile → ports/glu-headers/PKGBUILD.vile +0 -0
renamed gmp/PKGBUILD.vile → ports/gmp/PKGBUILD.vile +0 -0
renamed gnupg/PKGBUILD.vile → ports/gnupg/PKGBUILD.vile +0 -0
renamed gnupg/check.py → ports/gnupg/check.py +0 -0
renamed gpgme/PKGBUILD.vile → ports/gpgme/PKGBUILD.vile +0 -0
renamed gpgme/context.c → ports/gpgme/context.c +0 -0
renamed hwdata-pci/PKGBUILD.vile → ports/hwdata-pci/PKGBUILD.vile +0 -0
renamed isl25/PKGBUILD.vile → ports/isl25/PKGBUILD.vile +0 -0
renamed isl25/count.c → ports/isl25/count.c +0 -0
renamed jansson/PKGBUILD.vile → ports/jansson/PKGBUILD.vile +0 -0
renamed libarchive/PKGBUILD.vile → ports/libarchive/PKGBUILD.vile +0 -0
renamed libassuan/PKGBUILD.vile → ports/libassuan/PKGBUILD.vile +0 -0
renamed libbsd/PKGBUILD.vile → ports/libbsd/PKGBUILD.vile +0 -0
renamed libcap/PKGBUILD.vile → ports/libcap/PKGBUILD.vile +0 -0
renamed libdrm/PKGBUILD.vile → ports/libdrm/PKGBUILD.vile +0 -0
renamed libedit/PKGBUILD.vile → ports/libedit/PKGBUILD.vile +0 -0
renamed libedit/history.c → ports/libedit/history.c +0 -0
renamed libedit/wchar.c → ports/libedit/wchar.c +0 -0
renamed libelf/PKGBUILD.vile → ports/libelf/PKGBUILD.vile +0 -0
renamed libelf/check.v → ports/libelf/check.v +0 -0
renamed libepoxy/PKGBUILD.vile → ports/libepoxy/PKGBUILD.vile +0 -0
renamed libffi/PKGBUILD.vile → ports/libffi/PKGBUILD.vile +0 -0
renamed libfontenc/PKGBUILD.vile → ports/libfontenc/PKGBUILD.vile +0 -0
renamed libgcrypt/PKGBUILD.vile → ports/libgcrypt/PKGBUILD.vile +0 -0
renamed libgpg-error/PKGBUILD.vile → ports/libgpg-error/PKGBUILD.vile +0 -0
renamed libice/PKGBUILD.vile → ports/libice/PKGBUILD.vile +0 -0
renamed libidn2/PKGBUILD.vile → ports/libidn2/PKGBUILD.vile +0 -0
renamed libksba/PKGBUILD.vile → ports/libksba/PKGBUILD.vile +0 -0
renamed libmd/PKGBUILD.vile → ports/libmd/PKGBUILD.vile +0 -0
renamed libpciaccess/PKGBUILD.vile → ports/libpciaccess/PKGBUILD.vile +0 -0
renamed libpng/PKGBUILD.vile → ports/libpng/PKGBUILD.vile +0 -0
renamed libpsl/PKGBUILD.vile → ports/libpsl/PKGBUILD.vile +0 -0
renamed libseccomp/PKGBUILD.vile → ports/libseccomp/PKGBUILD.vile +0 -0
renamed libseccomp/check.py → ports/libseccomp/check.py +0 -0
renamed libseccomp/remove-redefinition-prctl.patch → ports/libseccomp/remove-redefinition-prctl.patch +0 -0
renamed libsm/PKGBUILD.vile → ports/libsm/PKGBUILD.vile +0 -0
renamed libunistring/PKGBUILD.vile → ports/libunistring/PKGBUILD.vile +0 -0
renamed libuuid/PKGBUILD.vile → ports/libuuid/PKGBUILD.vile +0 -0
renamed libx11/PKGBUILD.vile → ports/libx11/PKGBUILD.vile +0 -0
renamed libxau/PKGBUILD.vile → ports/libxau/PKGBUILD.vile +0 -0
renamed libxaw/PKGBUILD.vile → ports/libxaw/PKGBUILD.vile +0 -0
renamed libxcb/PKGBUILD.vile → ports/libxcb/PKGBUILD.vile +0 -0
renamed libxcvt/PKGBUILD.vile → ports/libxcvt/PKGBUILD.vile +0 -0
renamed libxdamage/PKGBUILD.vile → ports/libxdamage/PKGBUILD.vile +0 -0
renamed libxdmcp/PKGBUILD.vile → ports/libxdmcp/PKGBUILD.vile +0 -0
renamed libxext/PKGBUILD.vile → ports/libxext/PKGBUILD.vile +0 -0
renamed libxfixes/PKGBUILD.vile → ports/libxfixes/PKGBUILD.vile +0 -0
renamed libxfont2/PKGBUILD.vile → ports/libxfont2/PKGBUILD.vile +0 -0
renamed libxft/PKGBUILD.vile → ports/libxft/PKGBUILD.vile +0 -0
renamed libxi/PKGBUILD.vile → ports/libxi/PKGBUILD.vile +0 -0
renamed libxkbfile/PKGBUILD.vile → ports/libxkbfile/PKGBUILD.vile +0 -0
renamed libxml2/PKGBUILD.vile → ports/libxml2/PKGBUILD.vile +0 -0
renamed libxmu/PKGBUILD.vile → ports/libxmu/PKGBUILD.vile +0 -0
renamed libxpm/PKGBUILD.vile → ports/libxpm/PKGBUILD.vile +0 -0
renamed libxrandr/PKGBUILD.vile → ports/libxrandr/PKGBUILD.vile +0 -0
renamed libxrender/PKGBUILD.vile → ports/libxrender/PKGBUILD.vile +0 -0
renamed libxshmfence/PKGBUILD.vile → ports/libxshmfence/PKGBUILD.vile +0 -0
renamed libxt/PKGBUILD.vile → ports/libxt/PKGBUILD.vile +0 -0
renamed libxtst/PKGBUILD.vile → ports/libxtst/PKGBUILD.vile +0 -0
renamed libxv/PKGBUILD.vile → ports/libxv/PKGBUILD.vile +0 -0
renamed libxxf86vm/PKGBUILD.vile → ports/libxxf86vm/PKGBUILD.vile +0 -0
renamed linux-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch → ports/linux-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch +0 -0
renamed linux-headers/PKGBUILD.vile → ports/linux-headers/PKGBUILD.vile +0 -0
renamed linux-headers/revert-broken-uapi.patch → ports/linux-headers/revert-broken-uapi.patch +0 -0
renamed llvm17-dev/PKGBUILD.vile → ports/llvm17-dev/PKGBUILD.vile +0 -0
renamed llvm17-dev/rust-feature-tables-17.patch → ports/llvm17-dev/rust-feature-tables-17.patch +0 -0
renamed llvm17-libs/PKGBUILD.vile → ports/llvm17-libs/PKGBUILD.vile +0 -0
renamed llvm17-libs/rust-feature-tables-17.patch → ports/llvm17-libs/rust-feature-tables-17.patch +0 -0
renamed llvm19-dev/PKGBUILD.vile → ports/llvm19-dev/PKGBUILD.vile +0 -0
renamed llvm19-libs/PKGBUILD.vile → ports/llvm19-libs/PKGBUILD.vile +0 -0
renamed lz4/PKGBUILD.vile → ports/lz4/PKGBUILD.vile +0 -0
renamed make/PKGBUILD.vile → ports/make/PKGBUILD.vile +0 -0
renamed mesa-glx-legacy/PKGBUILD.vile → ports/mesa-glx-legacy/PKGBUILD.vile +0 -0
renamed mesa-platform-headers/PKGBUILD.vile → ports/mesa-platform-headers/PKGBUILD.vile +0 -0
renamed mesa/BOOTSTRAP.md → ports/mesa/BOOTSTRAP.md +3 -3

@@ -1,6 +1,6 @@

11# Building the release graphics stack

22

3-The Vinix X11 sidecar uses indirect GLX from Mesa 24.0.9 and EGL, GLES and GBM from Mesa 24.2.8. Their Gallium libraries require LLVM 17.0.6 and 19.1.4 respectively. The new LLVM and Mesa packages still require full builds and guest rendering checks on each architecture. The [release ELF check](../tests/x11/README.md) records the public paths and the matching original files.

3+The Vinix X11 sidecar uses indirect GLX from Mesa 24.0.9 and EGL, GLES and GBM from Mesa 24.2.8. Their Gallium libraries require LLVM 17.0.6 and 19.1.4 respectively. The new LLVM and Mesa packages still require full builds and guest rendering checks on each architecture. The [release ELF check](../../tests/x11/README.md) records the public paths and the matching original files.

44

55Build each LLVM release with a native TableGen of the same version. `tools/vinix-llvm.v` checks the reported version and configures the native CPU backend and AMDGPU with shared LLVM, RTTI and exceptions. Install the matching `llvm17-dev` or `llvm19-dev` package in the Mesa build SDK for its headers and relocatable `llvm-config`. The runtime packages use Vinix’s `gcc-libs` and musl.

66

@@ -12,7 +12,7 @@ Both target Mesa profiles build the Zink Gallium backend with Mesa's Vulkan head

1212

1313## Sharing a builder

1414

15-Compile `tools/vinix-ninja.v` as `vinix-ninja` on the build host. Its default invocation delegates to Ninja with two jobs. On a shared Linux worker, open the existing build lock before starting vpac and pass that same file descriptor to its subprocesses. This example assumes the signed target SDK and build tools are already configured in the worker service.

15+Compile `tools/vinix-ninja.v` as `vinix-ninja` on the build host. Its default invocation delegates to Ninja with two jobs. On a shared Linux worker, open the existing build lock before starting vpac and pass that same file descriptor to its subprocesses. Run the example from the repository root with the signed target SDK and build tools already configured.

1616

1717```sh

1818export VINIX_BUILD_LOCK="$worker_state/compile.lock" VINIX_BUILD_LOCK_FD=9

@@ -20,7 +20,7 @@ export VINIX_BUILD_SLICE_SECONDS=180

2020export VINIX_BUILD_MIN_FREE_MIB=6912

2121exec 9>>"$VINIX_BUILD_LOCK"

2222flock -x 9

23-vpac --native-build "$ports/llvm19-libs/PKGBUILD.vile" "$receipts/llvm19.manifest"

23+vpac --native-build ports/llvm19-libs/PKGBUILD.vile "$receipts/llvm19.manifest"

2424```

2525

2626The helper obtains the object prerequisites from Ninja’s graph and completes them in batches of eight. Once a batch exceeds the time slice, it hands the lock to waiting workers. The next batch resumes in the same verified source and build directory. Ninja rechecks the full requested dependency graph and runs the final links while holding the lock. The surrounding vpac process keeps ownership through its checks and archive creation.

renamed mesa/PKGBUILD.vile → ports/mesa/PKGBUILD.vile +0 -0
renamed mkfontscale/PKGBUILD.vile → ports/mkfontscale/PKGBUILD.vile +0 -0
renamed mkfontscale/update-x11-misc-fonts.hook → ports/mkfontscale/update-x11-misc-fonts.hook +0 -0
renamed mpc/PKGBUILD.vile → ports/mpc/PKGBUILD.vile +0 -0
renamed mpfr/PKGBUILD.vile → ports/mpfr/PKGBUILD.vile +0 -0
renamed mpfr/decimal.c → ports/mpfr/decimal.c +0 -0
renamed mpfr/thread-state.c → ports/mpfr/thread-state.c +0 -0
renamed musl-fts/PKGBUILD.vile → ports/musl-fts/PKGBUILD.vile +0 -0
renamed musl-legacy-error/PKGBUILD.vile → ports/musl-legacy-error/PKGBUILD.vile +0 -0
renamed musl-obstack/PKGBUILD.vile → ports/musl-obstack/PKGBUILD.vile +0 -0
renamed musl-utils/PKGBUILD.vile → ports/musl-utils/PKGBUILD.vile +0 -0
renamed musl-utils/check.vsh → ports/musl-utils/check.vsh +0 -0
renamed musl-utils/ldd.in → ports/musl-utils/ldd.in +0 -0
renamed musl/PKGBUILD.vile → ports/musl/PKGBUILD.vile +0 -0
renamed musl/patches/.gitattributes → ports/musl/patches/.gitattributes +0 -0
renamed musl/patches/0001-add-stub-for-pthread_mutexattr_setprioceiling.patch → ports/musl/patches/0001-add-stub-for-pthread_mutexattr_setprioceiling.patch +0 -0
renamed musl/patches/CVE-2026-40200.patch → ports/musl/patches/CVE-2026-40200.patch +0 -0
renamed musl/patches/CVE-2026-6042.patch → ports/musl/patches/CVE-2026-6042.patch +0 -0
renamed musl/patches/fix-loongarch64-zero-len-extcontext.patch → ports/musl/patches/fix-loongarch64-zero-len-extcontext.patch +0 -0
renamed musl/patches/handle-aux-at_base.patch → ports/musl/patches/handle-aux-at_base.patch +0 -0
renamed musl/patches/malloc-retain.patch → ports/musl/patches/malloc-retain.patch +0 -0
renamed ncurses/PKGBUILD.vile → ports/ncurses/PKGBUILD.vile +0 -0
renamed netbase/PKGBUILD.vile → ports/netbase/PKGBUILD.vile +0 -0
renamed nettle/PKGBUILD.vile → ports/nettle/PKGBUILD.vile +0 -0
renamed nghttp2/PKGBUILD.vile → ports/nghttp2/PKGBUILD.vile +0 -0
renamed npth/PKGBUILD.vile → ports/npth/PKGBUILD.vile +0 -0
renamed openssh-client/PKGBUILD.vile → ports/openssh-client/PKGBUILD.vile +0 -0
renamed openssl/PKGBUILD.vile → ports/openssl/PKGBUILD.vile +0 -0
renamed openssl/ec-methods.c → ports/openssl/ec-methods.c +0 -0
renamed patch/PKGBUILD.vile → ports/patch/PKGBUILD.vile +0 -0
renamed patch/change.diff → ports/patch/change.diff +0 -0
renamed patch/patched.sha256 → ports/patch/patched.sha256 +0 -0
renamed patch/sample → ports/patch/sample +0 -0
renamed pcre2/PKGBUILD.vile → ports/pcre2/PKGBUILD.vile +0 -0
renamed pinentry/PKGBUILD.vile → ports/pinentry/PKGBUILD.vile +0 -0
renamed pixman/PKGBUILD.vile → ports/pixman/PKGBUILD.vile +0 -0
renamed pkgconf/PKGBUILD.vile → ports/pkgconf/PKGBUILD.vile +0 -0
renamed readline/PKGBUILD.vile → ports/readline/PKGBUILD.vile +0 -0
renamed readline/check-history.c → ports/readline/check-history.c +0 -0
renamed scanelf/PKGBUILD.vile → ports/scanelf/PKGBUILD.vile +0 -0
renamed spirv-headers/PKGBUILD.vile → ports/spirv-headers/PKGBUILD.vile +0 -0
renamed spirv-tools/PKGBUILD.vile → ports/spirv-tools/PKGBUILD.vile +0 -0
renamed spirv-tools/fragment.spvasm → ports/spirv-tools/fragment.spvasm +0 -0
renamed sqlite/PKGBUILD.vile → ports/sqlite/PKGBUILD.vile +0 -0
renamed sqlite/check.vsh → ports/sqlite/check.vsh +0 -0
renamed sqlite/read-ports.c → ports/sqlite/read-ports.c +0 -0
renamed ssl-client/PKGBUILD.vile → ports/ssl-client/PKGBUILD.vile +0 -0
renamed ssl-client/check.py → ports/ssl-client/check.py +0 -0
renamed util-macros/PKGBUILD.vile → ports/util-macros/PKGBUILD.vile +0 -0
renamed vim/PKGBUILD.vile → ports/vim/PKGBUILD.vile +0 -0
renamed vim/vimrc → ports/vim/vimrc +0 -0
renamed vinix-accounts/PKGBUILD.vile → ports/vinix-accounts/PKGBUILD.vile +0 -0
renamed vinix-desktop-init/PKGBUILD.vile → ports/vinix-desktop-init/PKGBUILD.vile +0 -0
renamed vinix-desktop-init/check-init.py → ports/vinix-desktop-init/check-init.py +0 -0
renamed vinix-filesystem/20locale.sh → ports/vinix-filesystem/20locale.sh +0 -0
renamed vinix-filesystem/PKGBUILD.vile → ports/vinix-filesystem/PKGBUILD.vile +0 -0
renamed vinix-filesystem/fstab → ports/vinix-filesystem/fstab +0 -0
renamed vinix-filesystem/hostname → ports/vinix-filesystem/hostname +0 -0
renamed vinix-filesystem/hosts → ports/vinix-filesystem/hosts +0 -0
renamed vinix-filesystem/nsswitch.conf → ports/vinix-filesystem/nsswitch.conf +0 -0
renamed vinix-filesystem/profile → ports/vinix-filesystem/profile +0 -0
renamed vinix-filesystem/root.crontab → ports/vinix-filesystem/root.crontab +0 -0
renamed vinix-filesystem/shells → ports/vinix-filesystem/shells +0 -0
renamed vinix-filesystem/sysctl.conf → ports/vinix-filesystem/sysctl.conf +0 -0
renamed vinix-keyring/PKGBUILD.vile.in → ports/vinix-keyring/PKGBUILD.vile.in +0 -0
renamed vinix-pkg/PKGBUILD.vile → ports/vinix-pkg/PKGBUILD.vile +0 -0
renamed vinix-pkg/pkg → ports/vinix-pkg/pkg +0 -0
renamed vinix-release-desktop/PKGBUILD.vile → ports/vinix-release-desktop/PKGBUILD.vile +0 -0
renamed vinix-release-x11/PKGBUILD.vile → ports/vinix-release-x11/PKGBUILD.vile +0 -0
renamed vinix-release/PKGBUILD.vile → ports/vinix-release/PKGBUILD.vile +0 -0
renamed vinix-x11/PKGBUILD.vile → ports/vinix-x11/PKGBUILD.vile +0 -0
renamed vinix-x11/build.v → ports/vinix-x11/build.v +0 -0
renamed vpac/PKGBUILD.vile → ports/vpac/PKGBUILD.vile +0 -0
renamed vpac/check-config.py → ports/vpac/check-config.py +0 -0
renamed vpac/config.vile.in → ports/vpac/config.vile.in +0 -0
renamed vpac/vinix-landlock.patch → ports/vpac/vinix-landlock.patch +0 -0
renamed wayland-protocols/PKGBUILD.vile → ports/wayland-protocols/PKGBUILD.vile +0 -0
renamed wayland/PKGBUILD.vile → ports/wayland/PKGBUILD.vile +0 -0
renamed xauth/PKGBUILD.vile → ports/xauth/PKGBUILD.vile +0 -0
renamed xbps/PKGBUILD.vile → ports/xbps/PKGBUILD.vile +0 -0
renamed xbps/check.py → ports/xbps/check.py +0 -0
renamed xcb-proto/PKGBUILD.vile → ports/xcb-proto/PKGBUILD.vile +0 -0
renamed xclock/PKGBUILD.vile → ports/xclock/PKGBUILD.vile +0 -0
renamed xkbcomp/PKGBUILD.vile → ports/xkbcomp/PKGBUILD.vile +0 -0
renamed xkbcomp/us.xkb → ports/xkbcomp/us.xkb +0 -0
renamed xkeyboard-config/PKGBUILD.vile → ports/xkeyboard-config/PKGBUILD.vile +0 -0
renamed xmodmap/PKGBUILD.vile → ports/xmodmap/PKGBUILD.vile +0 -0
renamed xorg-server/configure.v → ports/xorg-server/configure.v +0 -0
renamed xorgproto/PKGBUILD.vile → ports/xorgproto/PKGBUILD.vile +0 -0
renamed xrdb/PKGBUILD.vile → ports/xrdb/PKGBUILD.vile +0 -0
renamed xset/PKGBUILD.vile → ports/xset/PKGBUILD.vile +0 -0
renamed xtrans/PKGBUILD.vile → ports/xtrans/PKGBUILD.vile +0 -0
renamed xvfb/PKGBUILD.vile → ports/xvfb/PKGBUILD.vile +0 -0
renamed xvfb/configure.v → ports/xvfb/configure.v +0 -0
renamed xz/PKGBUILD.vile → ports/xz/PKGBUILD.vile +0 -0
renamed zlib/PKGBUILD.vile → ports/zlib/PKGBUILD.vile +0 -0
renamed zsh/PKGBUILD.vile → ports/zsh/PKGBUILD.vile +0 -0
renamed zsh/zprofile → ports/zsh/zprofile +0 -0
renamed zsh/zshenv → ports/zsh/zshenv +0 -0
renamed zsh/zshrc → ports/zsh/zshrc +0 -0
renamed zstd/PKGBUILD.vile → ports/zstd/PKGBUILD.vile +0 -0
tools/build-order.py +1 -1

@@ -140,7 +140,7 @@ def plan(args):

140140if __name__ == "__main__":

141141 parser = argparse.ArgumentParser(description=__doc__)

142142 parser.add_argument("arch", choices=("x86_64", "aarch64"))

143- parser.add_argument("source", type=Path, help="published feed, or ports root with --recipes")

143+ parser.add_argument("source", type=Path, help="published feed, or a recipe directory such as ports/ with --recipes")

144144 parser.add_argument("output", type=Path)

145145 parser.add_argument("--recipes", action="store_true", help="read native Vile recipes using vpac")

146146 parser.add_argument("--extra-recipe", type=Path, default=[], action="append",

tools/build-queue.py +2 -1

@@ -260,7 +260,8 @@ if __name__ == "__main__":

260260 parser = argparse.ArgumentParser(description=__doc__)

261261 parser.add_argument("arch", choices=("aarch64", "x86_64"))

262262 for name in ("order", "recipes", "work", "keys", "auditor", "vpac", "lock"):

263- parser.add_argument(name, type=lambda p: Path(p).resolve())

263+ help_text = "recipe directory such as ports/, or the exact snapshot used for the plan" if name == "recipes" else None

264+ parser.add_argument(name, type=lambda p: Path(p).resolve(), help=help_text)

264265 parser.add_argument("--reserve-mib", type=int, default=0)

265266 parser.add_argument("--reuse", action="append", type=lambda p: Path(p).resolve(), default=[],

266267 metavar="ARTIFACT_DIR", help="reuse exact verified build receipts from another queue")

tools/keyring.py +1 -1

@@ -44,7 +44,7 @@ def prepare(args):

4444 if not public:

4545 raise ValueError("could not export public certificate")

4646 pin = (args.fingerprint + "\n").encode()

47- template = Path(__file__).resolve().parent.parent / "vinix-keyring/PKGBUILD.vile.in"

47+ template = Path(__file__).resolve().parents[1] / "ports/vinix-keyring/PKGBUILD.vile.in"

4848 recipe = (template.read_text().replace("@VERSION@", args.version)

4949 .replace("@PUBLIC_SHA256@", hashlib.sha256(public).hexdigest())

5050 .replace("@FINGERPRINT_SHA256@", hashlib.sha256(pin).hexdigest()))

tools/release-archives.py +1 -1

@@ -120,7 +120,7 @@ if __name__ == "__main__":

120120 parser = argparse.ArgumentParser(description=__doc__)

121121 parser.add_argument("arch", choices=("aarch64", "x86_64"))

122122 parser.add_argument("order", type=Path, help="architecture-specific order.tsv")

123- parser.add_argument("recipes", type=Path, help="exact source snapshot used for the plan")

123+ parser.add_argument("recipes", type=Path, help="recipe directory used for the plan, such as ports/ or an exact snapshot")

124124 parser.add_argument("output", type=Path, help="new directory for the coverage reports")

125125 parser.add_argument("pools", type=Path, nargs="+",

126126 help="archive receipt directories, individual receipts, or feed packages.tsv files")