ci(release): install libseccomp-dev + libcap-ng-dev for herolib_virt link #21

Merged
mik-tf merged 1 commit from development_mik_home212_lib_rhai_link_libs into development 2026-05-06 18:42:11 +00:00
Owner

Refs lhumina_code/home#212

Fix-forward on PR #20 (gnu pivot).

Progress vs previous attempts

v0.1.0-rc5 (gnu) compiled all the way through cargo (3m22 — much further than musl ever got). Failed at the final link step:

rust-lld: error: unable to find library -lseccomp
rust-lld: error: unable to find library -lcap-ng
collect2: error: ld returned 1 exit status

Cause

herolib_virt (one of the 14 herolib_* deps) bundles virtiofsd, which transitively depends on libseccomp and libcap-ng for its virtio backends. The runner image ships build-essential but not these specific dev packages.

Fix

Documented in the /forge_ci troubleshooting catalogue as the canonical fix for this exact symptom — one extra apt-get install line in the toolchain step.

After merge

Tag v0.1.0-rc6. We've now eliminated:

  • musl kernel-header gap (rc1-4) → switched to gnu (rc5)
  • gnu link-time C deps → installed (this PR)

If rc6 hits another wall it'll be a different class of issue. Otherwise: 4 release assets <bin>-x86_64-unknown-linux-gnu, consumer PR #221 (with the gnu suffix already pushed) ready to merge.

Signed-off-by: mik-tf

Refs https://forge.ourworld.tf/lhumina_code/home/issues/212 Fix-forward on PR #20 (gnu pivot). ## Progress vs previous attempts v0.1.0-rc5 (gnu) compiled all the way through cargo (3m22 — much further than musl ever got). Failed at the final link step: ``` rust-lld: error: unable to find library -lseccomp rust-lld: error: unable to find library -lcap-ng collect2: error: ld returned 1 exit status ``` ## Cause `herolib_virt` (one of the 14 herolib_* deps) bundles `virtiofsd`, which transitively depends on `libseccomp` and `libcap-ng` for its virtio backends. The runner image ships `build-essential` but not these specific dev packages. ## Fix Documented in the `/forge_ci` troubleshooting catalogue as the canonical fix for this exact symptom — one extra apt-get install line in the toolchain step. ## After merge Tag `v0.1.0-rc6`. We've now eliminated: - musl kernel-header gap (rc1-4) → switched to gnu (rc5) - gnu link-time C deps → installed (this PR) If rc6 hits another wall it'll be a different class of issue. Otherwise: 4 release assets `<bin>-x86_64-unknown-linux-gnu`, consumer PR #221 (with the gnu suffix already pushed) ready to merge. Signed-off-by: mik-tf
ci(release): install libseccomp-dev + libcap-ng-dev for herolib_virt link
Some checks failed
Tests / test-linux (pull_request) Failing after 27s
Lint / lint-linux (pull_request) Successful in 1m31s
f71f8a818d
v0.1.0-rc5 build-linux compiled all the way through cargo but failed
at the final link step:

  rust-lld: error: unable to find library -lseccomp
  rust-lld: error: unable to find library -lcap-ng

These are pulled in transitively by herolib_virt (libvirtiofsd needs
libseccomp_sys + libcapng for the virtio backends). The runner image
ships build-essential but not these specific dev packages.

Documented in the forge_ci troubleshooting catalogue as the canonical
fix for this exact symptom.

Refs lhumina_code/home#212

Signed-off-by: mik-tf
mik-tf merged commit 76cc903ac0 into development 2026-05-06 18:42:11 +00:00
Sign in to join this conversation.
No reviewers
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_lib_rhai!21
No description provided.