pop-os / cosmic-epoch

Next generation Cosmic desktop environment
1.71k stars 54 forks source link

Building on Gentoo stable: couldn't find libclang.so #260

Closed joostruis closed 2 months ago

joostruis commented 2 months ago

As in the title the build-system fails to find libclang although this is present in the build chroot.

I tried passing LIBCLANG_PATH="/usr/lib/llvm/17/lib" LLVM_CONFIG_PATH="/usr/lib/llvm/17/bin/llvm-config"

Please see attached log.

layerscosmicepochgit0013_spec-build.txt

joostruis commented 2 months ago

It seems that after properly setting ENV in my build chroot I got passed this. Perhaps nice if packagers didn't have to fiddle with that!

mmstick commented 2 months ago

Packagers can submit PRs to the crate that handles clang path detection, and then it'll be applied to all Rust projects using the clang crate.

joostruis commented 2 months ago

So this crate is your upstream? Pardon my ignorance. I am new to this build infra.