Cant find CLANG/LLVM libs. Appending LIBCLANG_PATH="/usr/lib/llvm/18/lib64" before emerge command compiles fine. Reproducible: Always Actual Results: Fail emerge. ____________________________ error: failed to run custom build command for `v4l-sys v0.3.0` Caused by: process didn't exit successfully: `/var/tmp/portage/sys-power/wluma-4.4.0-r2/work/wluma-4.4.0/target/release/build/v4l-sys-238790346baaca19/build-script-build` (exit status: 101) --- stdout cargo:rustc-link-lib=v4l1 cargo:rustc-link-lib=v4l2 cargo:rustc-link-lib=v4lconvert --- stderr thread 'main' panicked at /var/tmp/portage/sys-power/wluma-4.4.0-r2/work/cargo_home/gentoo/bindgen-0.65.1/lib.rs:603: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 ____________________ Expected Results: Complete emerge Can be fixed with something like: LLVM_COMPAT=( 17 18 19 ) RUST_MIN_VER="1.75.0" _RUST_LLVM_MAP=( ["1.82.0"]=19 ["1.81.0"]=18 ["1.80.1"]=18 ["1.79.0"]=18 ["1.77.1"]=17 ["1.75.0"]=17 )
Created attachment 908702 [details] build log
Created attachment 908703 [details] emerge --info log