Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Clangd and ns-samba conflict. Resolution?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
FatFourtyTwo
n00b
n00b


Joined: 10 Jul 2022
Posts: 21

PostPosted: Mon Aug 15, 2022 2:06 am    Post subject: Clangd and ns-samba conflict. Resolution? Reply with quote

In building a new system using clangd as the compiler, I wanted to install a desktop environment. I added a private repo for the Budgie desktop here. However, trying to install from it using emerge --ask --verbose budgie-desktop yields the following error:

Code:

[blocks B      ] sys-libs/libunwind ("sys-libs/libunwind" is soft blocking sys-libs/llvm-libunwind-14.0.6)

Total: 278 packages (277 new, 1 in new slot), Size of downloads: 1,063,386 KiB
Conflict: 1 block (1 unsatisfied)

 * 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 (net-fs/samba-4.15.7:0/0::gentoo, 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" ABI_X86="(64) -32 (-x32)" 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_32(-),abi_x86_64(-)]) required by (sys-libs/libcxxabi-14.0.6-1:0/0::gentoo, installed) USE="libunwind -static-libs -test -verify-sig" ABI_X86="(32) (64) (-x32)"

  (sys-libs/llvm-libunwind-14.0.6-1:0/0::gentoo, installed) pulled in by
    sys-libs/llvm-libunwind required by @system
    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" ABI_X86="(32) (64) (-x32)" 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"


This is apparently a known bug which I found here. However, no one actually provided a solution. A suggested solution there (adding the USE flag with llvm-libunwind) did not work for me.


Yes, I realize I could just install a different DE for now (which I probably will). But I want to work this out before it causes more problems. What can I do about this?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Mon Aug 15, 2022 8:48 am    Post subject: Reply with quote

Hi
in /etc/portage/profile/package.provided
plz add an entry
Code:

sys-libs/libunwind-1.6.2

For the longest time this is how I managed to have both installed.
I havent seen any samba malfunction.
_________________
:)
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1532

PostPosted: Mon Aug 15, 2022 2:02 pm    Post subject: Reply with quote

alamahant wrote:
Hi
in /etc/portage/profile/package.provided
plz add an entry
Code:

sys-libs/libunwind-1.6.2

For the longest time this is how I managed to have both installed.
I havent seen any samba malfunction.


That has the potential do break something.

FatFourtyTwo wrote:
A suggested solution there (adding the USE flag with llvm-libunwind) did not work for me.


You should disable the use flag, not add it.

Find out what depends on clang compiled with libunwind and see if you can remove that dependency.

You should be able to do so by invoking `equery d clang` and inspecting the output. If unsure, share the output here.

Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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