View previous topic :: View next topic |
Author |
Message |
FatFourtyTwo n00b
Joined: 10 Jul 2022 Posts: 21
|
Posted: Wed Aug 17, 2022 1:25 pm Post subject: clang conflict between libwind & llvm-libwind |
|
|
I posted this a few days ago, and ultimately gave up on that install. But now that I have to reinstall my system anyway, I figured I'd try again. In short, I'm getting the following error when emerging:
Code: |
[blocks B ] sys-libs/libunwind ("sys-libs/libunwind" is soft blocking sys-libs/llvm-libunwind-14.0.6)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(sys-libs/libunwind-1.6.2:0/8::gentoo, ebuild scheduled for merge) pulled in by
sys-libs/libunwind:= required by (dev-lang/rust-1.62.1:stable/1.62::musl, ebuild scheduled for merge) USE="-clippy -debug -dist -doc (-miri) (-nightly) (-parallel-compiler) (-profiler) -rls -rust-src -rustfmt (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore"
sys-libs/libunwind:= required by (net-fs/samba-4.15.7:0/0::musl, ebuild scheduled for merge) USE="acl client pam regedit system-mitkrb5 -addc -ads -ceph -cluster -cups -debug (-fam) -glusterfs -gpg -iprint -json -ldap -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) (-systemd) (-test) -winbind -zeroconf" CPU_FLAGS_X86="aes" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
>=sys-libs/libunwind-1.0.1-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=sys-libs/libunwind-1.0.1-r1[abi_x86_64(-)]) required by (sys-libs/libcxxabi-14.0.6-1:0/0::gentoo, installed) USE="libunwind -static-libs -test -verify-sig"
(sys-libs/llvm-libunwind-14.0.6-1:0/0::gentoo, installed) pulled in by
sys-libs/llvm-libunwind required by (sys-devel/clang-14.0.6-r1-1:14/14::gentoo, installed) USE="default-compiler-rt default-libcxx default-lld llvm-libunwind (pie) static-analyzer -debug -doc -test -verify-sig -xml" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
sys-libs/llvm-libunwind required by @system
|
I decided to do as one of the commenters suggested, emerge gentoolkit, and try 'equery d clang' to see if I can remove something that is dependent on clang compiled with libunwind. This is that output:
Code: | * These packages depend on clang:
sys-devel/clang-common-14.0.6 (sys-devel/clang)
sys-libs/compiler-rt-14.0.6 (clang ? sys-devel/clang)
(=sys-devel/clang-14.0.6*:14)
sys-libs/libcxx-14.0.6 (test ? >=sys-devel/clang-3.9.0)
sys-libs/libcxxabi-14.0.6 (test ? >=sys-devel/clang-3.9.0)
sys-libs/libomp-14.0.6-r1 (llvm_targets_AMDGPU ? sys-devel/clang)
(llvm_targets_NVPTX ? sys-devel/clang)
(sys-devel/clang)
sys-libs/llvm-libunwind-14.0.6 (test ? >=sys-devel/clang-3.9.0)
|
Here's the next level down in the dependency tree:
Code: | $ equery d sys-devel/clang-common sys-libs/compiler-rt sys-libs/libcxx sys-libs/libcxxabi sys-libs/libomp
* These packages depend on sys-devel/clang-common:
sys-devel/clang-14.0.6-r1 (sys-devel/clang-common)
* These packages depend on sys-libs/compiler-rt:
sys-devel/clang-14.0.6-r1 (default-compiler-rt ? =sys-libs/compiler-rt-14.0.6*)
sys-devel/clang-runtime-14.0.6 (compiler-rt ? ~sys-libs/compiler-rt-14.0.6:14.0.6[abi_x86_32(+)?,abi_x86_64(+)?])
* These packages depend on sys-libs/libcxx:
sys-devel/clang-14.0.6-r1 (default-libcxx ? >=sys-libs/libcxx-14.0.6)
sys-devel/clang-runtime-14.0.6 (libcxx ? >=sys-libs/libcxx-14.0.6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
sys-devel/llvm-14.0.6-r2 (kernel_Darwin ? <sys-libs/libcxx-14.0.6.9999)
* These packages depend on sys-libs/libcxxabi:
sys-libs/libcxx-14.0.6 (libcxxabi ? ~sys-libs/libcxxabi-14.0.6[libunwind=,static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
* These packages depend on sys-libs/libomp:
sys-devel/clang-runtime-14.0.6 (openmp ? >=sys-libs/libomp-14.0.6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
* These packages depend on sys-libs/llvm-libunwind:
sys-devel/clang-14.0.6-r1 (llvm-libunwind ? sys-libs/llvm-libunwind)
sys-libs/libcxxabi-14.0.6 (libunwind ? >=sys-libs/llvm-libunwind-3.9.0-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
|
(My architecture is amd64 if it matters)
It's not immediately obvious to me what I can unmerge out (if anything). Any suggestions? |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1660
|
Posted: Wed Aug 17, 2022 1:59 pm Post subject: |
|
|
This system is using a clang profile evidenced by:
Code: | sys-libs/llvm-libunwind required by @system |
This profile is currently incompatible with samba until Bug 791349 is solved.
There are some hacks to get around it and attempt to use sys-libs/libunwind instead, but I don't know if it works with clang or why sys-libs/llvm-libunwind is required by the profile. |
|
Back to top |
|
|
FatFourtyTwo n00b
Joined: 10 Jul 2022 Posts: 21
|
Posted: Wed Aug 17, 2022 2:35 pm Post subject: |
|
|
Got it. I'll just download a new tarball without clang and start over. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|