Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libunwind conflicts llvm-libunwind
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
devbit
n00b
n00b


Joined: 06 Jul 2007
Posts: 21

PostPosted: Sun Jan 24, 2021 9:28 am    Post subject: libunwind conflicts llvm-libunwind Reply with quote

I have issue installing libunwind:

emerge -av1p google-perftools libunwind llvm-libunwind libcxxabi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-libs/libunwind-1.5.0-r1:0/8::gentoo USE="zlib -debug -debug-frame -doc -libatomic -lzma -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild N ] dev-util/google-perftools-2.8:0/4::gentoo USE="debug -largepages -largepages64k -minimal -optimisememory -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild N ] sys-devel/llvm-11.0.1:11::gentoo USE="libffi ncurses xml -debug -doc -exegesis -gold -libedit -test -xar -z3" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 (-ARC) -ARM -AVR -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ (-VE) -WebAssembly -XCore" 0 KiB
[ebuild N ] sys-libs/llvm-libunwind-11.0.1::gentoo USE="static-libs -debug -test" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild U ] sys-libs/libcxxabi-11.0.1::gentoo [11.0.0::gentoo] USE="libunwind static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB
[blocks B ] sys-libs/libunwind ("sys-libs/libunwind" is blocking sys-libs/llvm-libunwind-11.0.1)

Total: 5 packages (1 upgrade, 3 new, 1 reinstall), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-libs/libcxxabi:0

(sys-libs/libcxxabi-11.0.1:0/0::gentoo, ebuild scheduled for merge) USE="libunwind static-libs -test" ABI_X86="32 (64) (-x32)" pulled in by
sys-libs/libcxxabi (Argument)

(sys-libs/libcxxabi-11.0.0:0/0::gentoo, installed) USE="libunwind static-libs -test" ABI_X86="32 (64) (-x32)" pulled in by
~sys-libs/libcxxabi-11.0.0[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(-)?] required by (sys-libs/libcxx-11.0.0:0/0::gentoo, installed) USE="(libcxxabi) libunwind static-libs -test" ABI_X86="32 (64) (-x32)"
^ ^^^^^^


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

(sys-libs/libunwind-1.5.0-r1:0/8::gentoo, ebuild scheduled for merge) pulled in by
sys-libs/libunwind required by @selected
sys-libs/libunwind required by (dev-util/google-perftools-2.8:0/4::gentoo, ebuild scheduled for merge) USE="debug -largepages -largepages64k -minimal -optimisememory -static-libs -test" ABI_X86="32 (64) (-x32)"
libunwind

(sys-libs/llvm-libunwind-11.0.1:0/0::gentoo, ebuild scheduled for merge) pulled in by
llvm-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(-)?] (>=sys-libs/llvm-libunwind-3.9.0-r1[static-libs,abi_x86_32(-),abi_x86_64(-)]) required by (sys-libs/libcxxabi-11.0.0:0/0::gentoo, installed) USE="libunwind static-libs -test" ABI_X86="32 (64) (-x32)"
>=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(-)?] (>=sys-libs/llvm-libunwind-3.9.0-r1[static-libs,abi_x86_32(-),abi_x86_64(-)]) required by (sys-libs/libcxxabi-11.0.1:0/0::gentoo, ebuild scheduled for merge) USE="libunwind static-libs -test" ABI_X86="32 (64) (-x32)"


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30954
Location: here

PostPosted: Sun Jan 24, 2021 10:47 am    Post subject: Reply with quote

llvm-libunwind-11.0.0.ebuild:
RDEPEND="!sys-libs/libunwind"

It seems you can't install llvm-libunwind and libunwind at the same time
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
devbit
n00b
n00b


Joined: 06 Jul 2007
Posts: 21

PostPosted: Sun Jan 24, 2021 2:19 pm    Post subject: Reply with quote

I try to mask the package llvm-libunwind, add the line to /etc/portage/package.mask:

Quote:
=sys-libs/llvm-libunwind*



Now I have the next message after run emerge:

Quote:
--- Invalid atom in /etc/portage/package.mask: =sys-libs/llvm-libunwind*
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Jan 24, 2021 3:39 pm    Post subject: Reply with quote

leave the = and the * off

the line sys-libs/llvm-libunwind added to /etc/portage/package.mask will mask all versions; the = calls for a single version unless modified by > or <; The * doesn't fit the syntax
_________________
Defund the FCC.
Back to top
View user's profile Send private message
devbit
n00b
n00b


Joined: 06 Jul 2007
Posts: 21

PostPosted: Sun Jan 24, 2021 5:30 pm    Post subject: Reply with quote

Thanks, I corrected the package.mask, and now I can emerge by removing llvm-libunwing:

Quote:
emerge -av1p google-perftools libunwind libcxxabi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-libs/libunwind-1.5.0-r1:0/8::gentoo USE="static-libs* zlib -debug -debug-frame -doc -libatomic -lzma" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild N ] dev-util/google-perftools-2.8:0/4::gentoo USE="debug -largepages -largepages64k -minimal -optimisememory -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild N ] sys-devel/llvm-11.0.1:11::gentoo USE="libffi ncurses xml -debug -doc -exegesis -gold -libedit -test -xar -z3" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 (-ARC) -ARM -AVR -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ (-VE) -WebAssembly -XCore" 0 KiB
[ebuild N ] sys-libs/libcxxabi-11.0.1::gentoo USE="libunwind static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 4 packages (3 new, 1 reinstall), Size of downloads: 0 KiB

The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by sys-libs/libcxxabi-11.0.1::gentoo[libunwind]
# required by libcxxabi (argument)
>=sys-libs/libunwind-1.5.0-r1 static-libs


Also in emerge world, didn't try to use llvm-libunwind.
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