Pin zelnet to the Zig toolchain with a working xar #299
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/zelnet-zig-v10-retry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
zig-builder:v9got zelnet onto ARM64 and cross-compiled both Linux architectures as0.10.13, then the macOS.pkgstep failed: that image'sxarprints its usage and exits 1 for every command, includingxar -t.xar.cdeclareschar command = 0, c;and loops on(c = getopt_long(...)) != -1. A plaincharis signed on x86-64 so the loop ends; it is unsigned on ARM64, where-1lands as 255, the loop never ends, and the next pass falls to the switch default that prints usage. Upstream has not changed since 2014, so it appeared the moment the image was built for the architecture that runs it.builder-images #355 is released as
zig-builder:v10, which buildsxarwith-fsigned-charand proves it by creating an archive and reading it back, rather than only runningxar --versionon a binary that could not archive anything.The guard now refuses anything older than v10 and names the failure each older version carries: v1 through v8 are AMD64 manifests, v9 has the broken
xar.scripts/checkpasses.https://claude.ai/code/session_01XdBRc9CHgFhAxCyHbdVtt6