latest-integration and latest-main musl release binaries are dynamically linked and cannot run on tester VMs #19

Open
opened 2026-06-11 20:50:34 +00:00 by mik-tf · 0 comments
Owner

The published hero_code_server and hero_code_admin assets named linux-musl-x86_64 on both latest-integration (target 4e37bd88) and latest-main are not static: they request the interpreter /lib/ld-musl-x86_64.so.1, so on an Ubuntu tester VM exec fails with "required file not found", and after installing the musl loader they segfault on startup. Asset md5 matches the sidecar, so this is the build, not download corruption. A plain cargo build --release --target x86_64-unknown-linux-musl -p hero_code_server -p hero_code_admin of the same commit 4e37bd88 produces fully static binaries (no PT_INTERP) that run fine, so the release workflow's builder environment is linking musl dynamically for this repo. Until this is fixed, a Cockpit upgrade of hero_code replaces a working binary with one that cannot start (this killed hero_code on the sandboxfull tester today; restored with a locally built static binary of the same commit).

Signed-by: mik-tf mik-tf@noreply.invalid

The published hero_code_server and hero_code_admin assets named linux-musl-x86_64 on both [latest-integration](https://forge.ourworld.tf/lhumina_code/hero_code/releases/tag/latest-integration) (target 4e37bd88) and [latest-main](https://forge.ourworld.tf/lhumina_code/hero_code/releases/tag/latest-main) are not static: they request the interpreter /lib/ld-musl-x86_64.so.1, so on an Ubuntu tester VM exec fails with "required file not found", and after installing the musl loader they segfault on startup. Asset md5 matches the sidecar, so this is the build, not download corruption. A plain `cargo build --release --target x86_64-unknown-linux-musl -p hero_code_server -p hero_code_admin` of the same commit 4e37bd88 produces fully static binaries (no PT_INTERP) that run fine, so the release workflow's builder environment is linking musl dynamically for this repo. Until this is fixed, a Cockpit upgrade of hero_code replaces a working binary with one that cannot start (this killed hero_code on the sandboxfull tester today; restored with a locally built static binary of the same commit). Signed-by: mik-tf <mik-tf@noreply.invalid>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_code#19
No description provided.