[nu-demo] hero_voice build needs cmake (whisper.cpp build step) — not in installer apt deps #172
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
After resolving
libclang-dev(home#169),cargo build -p hero_voice_serverstill fails:whisper-rs-sysincludes whisper.cpp and drives its build via the cmake Rust crate, which shells out to thecmakebinary.Root cause
cmakeis not inhero_skills/tools/modules/installers/installers.nuapt-dep list. Combined withlibclang-dev(home#169), the voice build has two hidden system-level prerequisites not captured by the nu-shell installer.Fix
Add both to the apt-dep list in
installers.nu:Total size impact: ~200 MB (libclang-18 at ~100 MB, cmake + deps at ~60 MB, rest is shared libs). Reasonable on a 16 GB rootfs.
Demo workaround (herodemo 2026-04-24)
Then
cargo build -p hero_voice_serversucceeds.Related
Signed-off-by: mik-tf
Partially closed by hero_skills #125 (commit
1379cc0)The apt-side gap is now codified in
install_base: libssl-dev, pkg-config, wget, jq, sqlite3, libsqlite3-dev, python3, python3-pip, python3-venv, python3-openpyxl.Note: this issue mentions multiple specific gaps. Some are now resolved upstream; others (e.g.
uvinstall, ONNX runtime, Chrome) are tracked in the same Phase 2 effort and will land in a follow-up PR — see home#185 for the master tracker.Signed-off-by: mik-tf