[nu-demo] hero_voice build fails on fresh VM — needs libclang-dev (bindgen dep for whisper-rs) #169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Symptom
Building hero_voice_server from source on a fresh Ubuntu 24.04 TF Grid VM fails with:
bindgenis pulled in transitively bywhisper-rs(orsilero-vad-rs) and requires libclang at build time.Root cause
hero_skillsinstaller's apt-dep list doesn't includelibclang-dev. It's listed in the build prereqs for some hero_* crates but not in the flat list thatinstall_base/installers.nuinstalls.Fix
Add to
hero_skills/tools/modules/installers/installers.nuapt-install list:On Ubuntu 24.04 this installs
libclang-18-dev(~100 MB). Cannot substitute lighter variants without losing bindgen support.Demo workaround (applied on herodemo 2026-04-24)
Manually:
apt-get install -y libclang-dev. Rebuild succeeds.Related
Signed-off-by: mik-tf
Fixed in hero_skills
tools/modules/installers/installers.nu.Verification:
pkg_ensure_dev "libclang-dev" # bindgen (espeak-rs-sys, whisper-rs-sys)insideinstall_base.install_baseis called frominstall_core(L366), so a freshhero_skillsinstall reaches the libclang-dev step before any cargo build of hero_voice / hero_embedder.pkg_ensure_dev "libespeak-ng-dev"at L68 covers espeak-rs-sys.Cross-link: home#125 (related apt-dev sweep) was already closed by the same install_base hardening.
Signed-off-by: mik-tf