Building app-arch/ouch-0.6.0 fails: error: failed to run custom build command for `libbzip3-sys v0.4.0+1.4.0` Caused by: process didn't exit successfully: `/var/tmp/portage/app-arch/ouch-0.6.0/work/ouch-0.6.0/target/release/build/libbzip3-sys-9ce583f0976053dd/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-changed=./bzip3/include/libbz3.h --- stderr thread 'main' panicked at /var/tmp/portage/app-arch/ouch-0.6.0/work/cargo_home/gentoo/bindgen-0.63.0/lib.rs:2338:31: Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the`LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])" note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Reproducible: Always Steps to Reproduce: 1. # emerge app-arch/ouch Actual Results: The error occurs. Expected Results: The package compiles. Adding BDEPEND="llvm-core/clang" to the ebuild fixes the issue, at least on my end.
Created attachment 925672 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e984f4a10dd30c3d3254d5a3579c59687f95dab5 commit e984f4a10dd30c3d3254d5a3579c59687f95dab5 Author: Jonas Frei <freijon@pm.me> AuthorDate: 2025-04-24 18:06:27 +0000 Commit: Jonas Frei <freijon@pm.me> CommitDate: 2025-04-24 18:09:18 +0000 app-arch/ouch: add 0.6.1 Closes: https://bugs.gentoo.org/954216 Closes: https://bugs.gentoo.org/954229 Signed-off-by: Jonas Frei <freijon@pm.me> app-arch/ouch/Manifest | 2 ++ app-arch/ouch/ouch-0.6.1.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+)