Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Slot Conflic Inhibiting Update

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
21 posts • Page 1 of 1
Author
Message
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

Slot Conflic Inhibiting Update

  • Quote

Post by leyvi » Sat Dec 20, 2025 6:45 pm

I'm trying to update my @world set, and can't, since the solution to making it work would involve installing llvm-core/flang, which can't install due to a slot conflict:

Code: Select all

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

llvm-core/llvm:21

  (llvm-core/llvm-21.1.8:21/21.1::gentoo, ebuild scheduled for merge) USE="binutils-plugin doc libffi verify-sig xml zstd -debug (-debuginfod) -exegesis -libedit -test -z3" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) DirectX (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -M68k -Xtensa" pulled in by
    ~llvm-core/llvm-21.1.8[llvm_targets_SPIRV=] required by (llvm-core/flang-21.1.8:21/21.1::gentoo, ebuild scheduled for merge) USE="clang verify-sig -debug -test" ABI_X86="(64)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) DirectX (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -M68k -Xtensa"
    ^               ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
    (and 45 more with the same problem)

  (llvm-core/llvm-21.1.1:21/21.1::gentoo, installed) USE="binutils-plugin doc libffi verify-sig xml zstd -debug (-debuginfod) -exegesis -libedit -test -z3" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) ARC (ARM) (AVR) (BPF) CSKY DirectX (Hexagon) (Lanai) (LoongArch) M68k (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) Xtensa" pulled in by
    ~llvm-core/llvm-21.1.1[llvm_targets_Lanai] required by (llvm-core/lld-21.1.1:21/21.1::gentoo, installed) USE="verify-sig zstd -debug -test" ABI_X86="(64)" LLVM_TARGETS="(AArch64) (AMDGPU) ARC (ARM) (AVR) (BPF) CSKY DirectX (Hexagon) (Lanai) (LoongArch) M68k (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) Xtensa"
    ^               ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
    (and 77 more with the same problem)

llvm-core/clang:21

  (llvm-core/clang-21.1.8:21/21.1::gentoo, ebuild scheduled for merge) USE="doc extra (pie) static-analyzer verify-sig xml -debug (-ieee-long-double) -test" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) DirectX (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -M68k -Xtensa" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12 -python3_14" pulled in by
    ~llvm-core/clang-21.1.8[debug=] required by (llvm-core/flang-21.1.8:21/21.1::gentoo, ebuild scheduled for merge) USE="clang verify-sig -debug -test" ABI_X86="(64)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) DirectX (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -M68k -Xtensa"
    ^                ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

  (llvm-core/clang-21.1.1:21/21.1::gentoo, installed) USE="doc extra (pie) static-analyzer verify-sig xml -debug (-ieee-long-double) -test" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) ARC (ARM) (AVR) (BPF) CSKY DirectX (Hexagon) (Lanai) (LoongArch) M68k (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) Xtensa" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12 -python3_14" pulled in by
    ~llvm-core/clang-21.1.1 required by (llvm-core/lldb-21.1.1:0/21.1::gentoo, installed) USE="libedit ncurses python verify-sig xml -debug (-debuginfod) -lzma -test" ABI_X86="(64)" LLVM_TARGETS="(AArch64) (AMDGPU) ARC (ARM) (AVR) (BPF) CSKY DirectX (Hexagon) (Lanai) (LoongArch) M68k (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) Xtensa" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12 -python3_14"
    ^                ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

llvm-runtimes/clang-runtime:21

  (llvm-runtimes/clang-runtime-21.1.8:21/21::gentoo, ebuild scheduled for merge) USE="compiler-rt default-lld offload openmp sanitize -default-compiler-rt -default-libcxx -libcxx -llvm-libunwind -polly" ABI_X86="32 (64) (-x32)" pulled in by
    ~llvm-runtimes/clang-runtime-21.1.8 required by (llvm-core/clang-21.1.8:21/21.1::gentoo, ebuild scheduled for merge) USE="doc extra (pie) static-analyzer verify-sig xml -debug (-ieee-long-double) -test" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) DirectX (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -M68k -Xtensa" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12 -python3_14"
    ^                            ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

  (llvm-runtimes/clang-runtime-21.1.1:21/21::gentoo, installed) USE="compiler-rt default-lld offload openmp sanitize -default-compiler-rt -default-libcxx -libcxx -llvm-libunwind -polly" ABI_X86="32 (64) (-x32)" pulled in by
    ~llvm-runtimes/clang-runtime-21.1.1 required by (llvm-core/clang-21.1.1:21/21.1::gentoo, installed) USE="doc extra (pie) static-analyzer verify-sig xml -debug (-ieee-long-double) -test" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) ARC (ARM) (AVR) (BPF) CSKY DirectX (Hexagon) (Lanai) (LoongArch) M68k (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) Xtensa" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12 -python3_14"
    ^                            ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

llvm-runtimes/compiler-rt:21

  (llvm-runtimes/compiler-rt-21.1.8:21/21::gentoo, ebuild scheduled for merge) USE="atomic-builtins (clang) verify-sig -debug -test" ABI_X86="32 (64)" pulled in by
    ~llvm-runtimes/compiler-rt-21.1.8:21[abi_x86_32(+)?,abi_x86_64(+)?] required by (llvm-runtimes/clang-runtime-21.1.8:21/21::gentoo, ebuild scheduled for merge) USE="compiler-rt default-lld offload openmp sanitize -default-compiler-rt -default-libcxx -libcxx -llvm-libunwind -polly" ABI_X86="32 (64) (-x32)"
    ^                          ^^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

  (llvm-runtimes/compiler-rt-21.1.1:21/21::gentoo, installed) USE="atomic-builtins (clang) verify-sig -debug -test" ABI_X86="32 (64)" pulled in by
    ~llvm-runtimes/compiler-rt-21.1.1:21[abi_x86_32(+),abi_x86_64(+)] required by (llvm-runtimes/clang-runtime-21.1.1:21/21::gentoo, installed) USE="compiler-rt default-lld offload openmp sanitize -default-compiler-rt -default-libcxx -libcxx -llvm-libunwind -polly" ABI_X86="32 (64) (-x32)"
    ^                          ^^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

llvm-runtimes/compiler-rt-sanitizers:21

  (llvm-runtimes/compiler-rt-sanitizers-21.1.8:21/21::gentoo, ebuild scheduled for merge) USE="asan cfi (clang) ctx-profile dfsan gwp-asan hwasan libfuzzer lsan memprof msan nsan orc profile rtsan safestack scudo tsan ubsan verify-sig xray -debug (-shadowcallstack) -test" ABI_X86="32 (64)" pulled in by
    ~llvm-runtimes/compiler-rt-sanitizers-21.1.8:21[abi_x86_32(+)?,abi_x86_64(+)?] required by (llvm-runtimes/clang-runtime-21.1.8:21/21::gentoo, ebuild scheduled for merge) USE="compiler-rt default-lld offload openmp sanitize -default-compiler-rt -default-libcxx -libcxx -llvm-libunwind -polly" ABI_X86="32 (64) (-x32)"
    ^                                     ^^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

  (llvm-runtimes/compiler-rt-sanitizers-21.1.1:21/21::gentoo, installed) USE="asan cfi (clang) ctx-profile dfsan gwp-asan hwasan libfuzzer lsan memprof msan nsan orc profile rtsan safestack scudo tsan ubsan verify-sig xray -debug (-shadowcallstack) -test" ABI_X86="32 (64)" pulled in by
    ~llvm-runtimes/compiler-rt-sanitizers-21.1.1:21[abi_x86_32(+),abi_x86_64(+)] required by (llvm-runtimes/clang-runtime-21.1.1:21/21::gentoo, installed) USE="compiler-rt default-lld offload openmp sanitize -default-compiler-rt -default-libcxx -libcxx -llvm-libunwind -polly" ABI_X86="32 (64) (-x32)"
    ^                                     ^^^^^^^^^
I've tried oneshoting all the packages that it would update (as per recommendation from the wiki), but that causes a similar issue. How do I solve this?
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sat Dec 20, 2025 7:07 pm

flang requires updating llvm to a matching version. You have installed llvm-related packages that require the current version. Is emerge --ask --depclean empty? Do you want flang installed, or did Portage pick that due to some USE flag? What exactly did you try as a oneshot command?
Top
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Sat Dec 20, 2025 7:23 pm

Hu wrote:flang requires updating llvm to a matching version. You have installed llvm-related packages that require the current version. Is emerge --ask --depclean empty? Do you want flang installed, or did Portage pick that due to some USE flag? What exactly did you try as a oneshot command?
I can't depclean, as there are some packages that need to be updated first.

I need flang to replace the GNU Fortran implementation, since that isn't compatible with my compiler flags (since the latest version) and I don't want to have to set up yet another build environment.

The oneshot command was: emerge -1 llvm-runtimes/{openmp,offload,compiler-rt,compiler-rt-sanitizers,clang-runtime} llvm-core/{llvm,clang}.
Top
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Sun Dec 21, 2025 6:53 pm

OK, now I've got a similar but different problem:

Code: Select all

/usr/lib/llvm/21/bin/clang: symbol lookup error: /usr/lib/llvm/21/bin/clang: undefined symbol: LLVMInitializeARCTarget, version LLVM_21.1
This message appears whenever I try to update a package using LLVM, which is most of them. I don't use the ARC architecture on my system, so what's going on?
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Dec 21, 2025 7:28 pm

Without knowing what commands you have been running, I can only speculate how you got into a state where depclean fails.

I suggest temporarily abandoning use of flang until you can get everything else updated and in good order. At the very least, flang is trying to pull in a newer llvm:21, and you aren't yet ready to do that.

Your oneshot appears to be missing (at least) llvm-core/lld. There might be other things missing from it.

I don't know how you got into the state that LLVM is broken. What have you changed since it last worked? Your output from before indicates that you had ARC enabled, and would be disabling it with an update. In general, the LLVM_TARGETS are forced because disabling them can break things like this, and so needs to be done with great caution.
Top
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Sun Dec 21, 2025 8:14 pm

Hu wrote:Without knowing what commands you have been running, I can only speculate how you got into a state where depclean fails.

I suggest temporarily abandoning use of flang until you can get everything else updated and in good order. At the very least, flang is trying to pull in a newer llvm:21, and you aren't yet ready to do that.

Your oneshot appears to be missing (at least) llvm-core/lld. There might be other things missing from it.

I don't know how you got into the state that LLVM is broken. What have you changed since it last worked? Your output from before indicates that you had ARC enabled, and would be disabling it with an update. In general, the LLVM_TARGETS are forced because disabling them can break things like this, and so needs to be done with great caution.
Looks like I've borked my LLVM install... which is needed to fix itself. Should I just bootstrap it with GCC, then rebuild it with the result? Or maybe something else?
Top
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Fri Jan 02, 2026 12:15 pm

Still an issue for me, by the way... and it turns out I can't build llvm-core/clang without clang...
Top
sam_
Developer
Developer
User avatar
Posts: 2808
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Fri Jan 02, 2026 1:37 pm

I refer you to the unanswered questions above.
Top
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Fri Jan 02, 2026 2:08 pm

Ah, didn't realize that was a question. Yes, I did change the contents of LLVM_TARGETS, I removed a few irrelevant target architectures (M68K for example).
Top
sam_
Developer
Developer
User avatar
Posts: 2808
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Fri Jan 02, 2026 2:59 pm

Not as precise as I would've liked, but OK. Anyway, you've learned why all the targets for LLVM are forced on.

I recommend you use binpkgs to recover from a stage3 and https://wiki.gentoo.org/wiki/Fix_my_Gentoo
Top
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Sat Jan 03, 2026 4:44 pm

sam_ wrote:Not as precise as I would've liked, but OK. Anyway, you've learned why all the targets for LLVM are forced on.

I recommend you use binpkgs to recover from a stage3 and https://wiki.gentoo.org/wiki/Fix_my_Gentoo
I'll give binpkgs a shot. Thanks sam_!
Top
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Sat Jan 03, 2026 4:51 pm

I'm new to binpkgs (I've never used them before), and I'm getting the following output from emerge -1G llvm-core/clang:

Code: Select all

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

Calculating dependencies... done!
Dependency resolution took 8.26 s (backtrack: 1/500).

[binary   R    ] llvm-core/clang                                       [20.1.8-33]                   USE="-doc* -verify-sig* -xml*" ABI_X86="-32*" LLVM_TARGETS="-ARC* -CSKY* -DirectX* -M68k* -Xtensa*" PYTHON_SINGLE_TARGET="python3_12* -python3_13*"

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

llvm-core/clang:21

  (llvm-core/clang-21.1.8-9:21/21.1::gentoo, binary scheduled for merge) USE="extra (pie) static-analyzer -debug -doc (-ieee-long-double) -test -verify-sig -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -Xtensa" PYTHON_SINGLE_TARGET="python3_12 -python3_13 -python3_14" conflicts with
    ~llvm-core/clang-21.1.1 required by (llvm-core/lldb-21.1.1:0/21.1::gentoo, installed) USE="libedit ncurses python verify-sig xml -debug (-debuginfod) -lzma -test" ABI_X86="(64)" LLVM_TARGETS="(AArch64) (AMDGPU) ARC (ARM) (AVR) (BPF) CSKY DirectX (Hexagon) (Lanai) (LoongArch) M68k (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) Xtensa" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12 -python3_14"
    ^                ^^^^^^


!!! The following installed packages are masked:
- dev-lang/rust-1.84.1-r2::gentoo (masked by: package.mask)
- dev-lang/rust-1.87.0-r1::gentoo (masked by: package.mask)
- dev-lang/rust-1.89.0::gentoo (masked by: package.mask)
- gui-libs/hyprland-qtutils-0.1.4::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2025-12-21)
# Fails to build against Qt 6.10, upstream repository was archived.
# Bug #966389. Removal on 2026-01-15

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


Would you like to merge these packages? [Yes/No]

>>> Emerging binary (1 of 1) llvm-core/clang-20.1.8::gentoo
[#a16905 45MiB/48MiB(94%) CN:1 DL:4.7MiB]
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
a16905|OK  |   3.2MiB/s|/var/cache/binpkgs/llvm-core/clang/clang-20.1.8-33.gpkg.tar.partial

Status Legend:
(OK):download completed.
 * clang-20.1.8-33.gpkg.tar MD5 SHA1 size ;-) ...                        [ ok ]
!!!
gpg: keyblock resource '/etc/portage/gnupg/pubring.kbx': No such file or directory
[GNUPG:] ERROR add_keyblock_resource 33587281
[GNUPG:] PLAINTEXT 74 0
[GNUPG:] NEWSIG
gpg: Signature made Tue 23 Dec 2025 09:27:08 IST
gpg:                using RSA key 534E4209AB49EEE1C19D96162C44695DB9F6043D
[GNUPG:] ERROR keydb_search 33554445
[GNUPG:] ERROR keydb_search 33554445
[GNUPG:] ERRSIG 2C44695DB9F6043D 1 10 01 1766474828 9 534E4209AB49EEE1C19D96162C44695DB9F6043D
[GNUPG:] NO_PUBKEY 2C44695DB9F6043D
gpg: Can't check signature: No public key
[GNUPG:] FAILURE gpg-exit 33554433
gpg: can't create `/etc/portage/gnupg/random_seed': No such file or directory
!!! Invalid binary package: '/var/cache/binpkgs/llvm-core/clang/clang-20.1.8-33.gpkg.tar.partial', GPG verify failed

>>> Failed to emerge llvm-core/clang-20.1.8, Log file:

>>>  '/var/log/portage/build-logs/llvm-core:clang-20.1.8:20260103-164848.log'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (llvm-core/clang-20.1.8-33:20/20.1::gentoo, binary scheduled for merge), Log file:
 *   '/var/log/portage/build-logs/llvm-core:clang-20.1.8:20260103-164848.log'
 *
How do I fix this?
Top
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Fri Jan 23, 2026 1:12 pm

leyvi wrote:I'm new to binpkgs (I've never used them before), and I'm getting the following output from emerge -1G llvm-core/clang:

Code: Select all

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

Calculating dependencies... done!
Dependency resolution took 8.26 s (backtrack: 1/500).

[binary   R    ] llvm-core/clang                                       [20.1.8-33]                   USE="-doc* -verify-sig* -xml*" ABI_X86="-32*" LLVM_TARGETS="-ARC* -CSKY* -DirectX* -M68k* -Xtensa*" PYTHON_SINGLE_TARGET="python3_12* -python3_13*"

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

llvm-core/clang:21

  (llvm-core/clang-21.1.8-9:21/21.1::gentoo, binary scheduled for merge) USE="extra (pie) static-analyzer -debug -doc (-ieee-long-double) -test -verify-sig -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -Xtensa" PYTHON_SINGLE_TARGET="python3_12 -python3_13 -python3_14" conflicts with
    ~llvm-core/clang-21.1.1 required by (llvm-core/lldb-21.1.1:0/21.1::gentoo, installed) USE="libedit ncurses python verify-sig xml -debug (-debuginfod) -lzma -test" ABI_X86="(64)" LLVM_TARGETS="(AArch64) (AMDGPU) ARC (ARM) (AVR) (BPF) CSKY DirectX (Hexagon) (Lanai) (LoongArch) M68k (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) Xtensa" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12 -python3_14"
    ^                ^^^^^^


!!! The following installed packages are masked:
- dev-lang/rust-1.84.1-r2::gentoo (masked by: package.mask)
- dev-lang/rust-1.87.0-r1::gentoo (masked by: package.mask)
- dev-lang/rust-1.89.0::gentoo (masked by: package.mask)
- gui-libs/hyprland-qtutils-0.1.4::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2025-12-21)
# Fails to build against Qt 6.10, upstream repository was archived.
# Bug #966389. Removal on 2026-01-15

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


Would you like to merge these packages? [Yes/No]

>>> Emerging binary (1 of 1) llvm-core/clang-20.1.8::gentoo
[#a16905 45MiB/48MiB(94%) CN:1 DL:4.7MiB]
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
a16905|OK  |   3.2MiB/s|/var/cache/binpkgs/llvm-core/clang/clang-20.1.8-33.gpkg.tar.partial

Status Legend:
(OK):download completed.
 * clang-20.1.8-33.gpkg.tar MD5 SHA1 size ;-) ...                        [ ok ]
!!!
gpg: keyblock resource '/etc/portage/gnupg/pubring.kbx': No such file or directory
[GNUPG:] ERROR add_keyblock_resource 33587281
[GNUPG:] PLAINTEXT 74 0
[GNUPG:] NEWSIG
gpg: Signature made Tue 23 Dec 2025 09:27:08 IST
gpg:                using RSA key 534E4209AB49EEE1C19D96162C44695DB9F6043D
[GNUPG:] ERROR keydb_search 33554445
[GNUPG:] ERROR keydb_search 33554445
[GNUPG:] ERRSIG 2C44695DB9F6043D 1 10 01 1766474828 9 534E4209AB49EEE1C19D96162C44695DB9F6043D
[GNUPG:] NO_PUBKEY 2C44695DB9F6043D
gpg: Can't check signature: No public key
[GNUPG:] FAILURE gpg-exit 33554433
gpg: can't create `/etc/portage/gnupg/random_seed': No such file or directory
!!! Invalid binary package: '/var/cache/binpkgs/llvm-core/clang/clang-20.1.8-33.gpkg.tar.partial', GPG verify failed

>>> Failed to emerge llvm-core/clang-20.1.8, Log file:

>>>  '/var/log/portage/build-logs/llvm-core:clang-20.1.8:20260103-164848.log'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (llvm-core/clang-20.1.8-33:20/20.1::gentoo, binary scheduled for merge), Log file:
 *   '/var/log/portage/build-logs/llvm-core:clang-20.1.8:20260103-164848.log'
 *
How do I fix this?
Never mind, I just didn't know how to use getuto. All good!
Top
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Fri Jan 23, 2026 1:22 pm

Here's the thing though: I need LLVM v21.1.x, and it seems that some of the dependencies of that version of clang are present, and some are not, look:

Code: Select all

root ~ (0) $ emerge -1G =llvm-core/clang-21.1.8
[gentoobinhost] Local copy of remote index is within TTL and will be used.

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

Calculating dependencies... done!
Dependency resolution took 14.06 s (backtrack: 3/500).

[binary     U  ] llvm-runtimes/compiler-rt                             [21.1.8-4]                   [21.1.1] USE="debug* -verify-sig*" ABI_X86="-32*"
[binary     U  ] llvm-runtimes/compiler-rt-sanitizers                  [21.1.8-4]                   [21.1.1] USE="debug* -verify-sig*" ABI_X86="-32*"
[binary     U  ] llvm-core/clang                                       [21.1.8-9]                   [21.1.1] USE="-doc* -verify-sig* -xml*" ABI_X86="-32*" LLVM_TARGETS="-ARC* -CSKY* -DirectX* -M68k* -Xtensa*" PYTHON_SINGLE_TARGET="python3_12* -python3_13*"
[binary     U  ] llvm-runtimes/clang-runtime                           [21.1.8-2]                   [21.1.1] USE="-default-lld* -offload*" ABI_X86="-32*"

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

llvm-core/clang:21

  (llvm-core/clang-21.1.8-9:21/21.1::gentoo, binary scheduled for merge) USE="extra (pie) static-analyzer -debug -doc (-ieee-long-double) -test -verify-sig -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -Xtensa" PYTHON_SINGLE_TARGET="python3_12 -python3_13 -python3_14" pulled in by
    =llvm-core/clang-21.1.8 (Argument)

  (llvm-core/clang-21.1.1:21/21.1::gentoo, installed) USE="doc extra (pie) static-analyzer verify-sig xml -debug (-ieee-long-double) -test" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) ARC (ARM) (AVR) (BPF) CSKY DirectX (Hexagon) (Lanai) (LoongArch) M68k (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) Xtensa" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12 -python3_14" pulled in by
    ~llvm-core/clang-21.1.1 required by (llvm-core/lldb-21.1.1:0/21.1::gentoo, installed) USE="libedit ncurses python verify-sig xml -debug (-debuginfod) -lzma -test" ABI_X86="(64)" LLVM_TARGETS="(AArch64) (AMDGPU) ARC (ARM) (AVR) (BPF) CSKY DirectX (Hexagon) (Lanai) (LoongArch) M68k (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) Xtensa" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12 -python3_14"
    ^                ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

llvm-runtimes/clang-runtime:21

  (llvm-runtimes/clang-runtime-21.1.8-2:21/21::gentoo, binary scheduled for merge) USE="compiler-rt openmp sanitize -default-compiler-rt -default-libcxx -default-lld -libcxx -llvm-libunwind -offload -polly" ABI_X86="(64) -32 (-x32)" pulled in by
    ~llvm-runtimes/clang-runtime-21.1.8 required by (llvm-core/clang-21.1.8-9:21/21.1::gentoo, binary scheduled for merge) USE="extra (pie) static-analyzer -debug -doc (-ieee-long-double) -test -verify-sig -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -Xtensa" PYTHON_SINGLE_TARGET="python3_12 -python3_13 -python3_14"
    ^                            ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

  (llvm-runtimes/clang-runtime-21.1.1:21/21::gentoo, installed) USE="compiler-rt default-lld offload openmp sanitize -default-compiler-rt -default-libcxx -libcxx -llvm-libunwind -polly" ABI_X86="32 (64) (-x32)" pulled in by
    ~llvm-runtimes/clang-runtime-21.1.1 required by (llvm-core/clang-21.1.1:21/21.1::gentoo, installed) USE="doc extra (pie) static-analyzer verify-sig xml -debug (-ieee-long-double) -test" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) ARC (ARM) (AVR) (BPF) CSKY DirectX (Hexagon) (Lanai) (LoongArch) M68k (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) Xtensa" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12 -python3_14"
    ^                            ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

llvm-runtimes/compiler-rt:21

  (llvm-runtimes/compiler-rt-21.1.8-4:21/21::gentoo, binary scheduled for merge) USE="atomic-builtins (clang) debug -test -verify-sig" ABI_X86="(64) -32" pulled in by
    ~llvm-runtimes/compiler-rt-21.1.8:21[abi_x86_64(+)] required by (llvm-runtimes/clang-runtime-21.1.8-2:21/21::gentoo, binary scheduled for merge) USE="compiler-rt openmp sanitize -default-compiler-rt -default-libcxx -default-lld -libcxx -llvm-libunwind -offload -polly" ABI_X86="(64) -32 (-x32)"
    ^                          ^^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

  (llvm-runtimes/compiler-rt-21.1.1:21/21::gentoo, installed) USE="atomic-builtins (clang) verify-sig -debug -test" ABI_X86="32 (64)" pulled in by
    ~llvm-runtimes/compiler-rt-21.1.1:21[abi_x86_32(+),abi_x86_64(+)] required by (llvm-runtimes/clang-runtime-21.1.1:21/21::gentoo, installed) USE="compiler-rt default-lld offload openmp sanitize -default-compiler-rt -default-libcxx -libcxx -llvm-libunwind -polly" ABI_X86="32 (64) (-x32)"
    ^                          ^^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

llvm-runtimes/compiler-rt-sanitizers:21

  (llvm-runtimes/compiler-rt-sanitizers-21.1.8-4:21/21::gentoo, binary scheduled for merge) USE="asan cfi (clang) ctx-profile debug dfsan gwp-asan hwasan libfuzzer lsan memprof msan nsan orc profile rtsan safestack scudo tsan ubsan xray (-shadowcallstack) -test -verify-sig" ABI_X86="(64) -32" pulled in by
    ~llvm-runtimes/compiler-rt-sanitizers-21.1.8:21[abi_x86_64(+)] required by (llvm-runtimes/clang-runtime-21.1.8-2:21/21::gentoo, binary scheduled for merge) USE="compiler-rt openmp sanitize -default-compiler-rt -default-libcxx -default-lld -libcxx -llvm-libunwind -offload -polly" ABI_X86="(64) -32 (-x32)"
    ^                                     ^^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

  (llvm-runtimes/compiler-rt-sanitizers-21.1.1:21/21::gentoo, installed) USE="asan cfi (clang) ctx-profile dfsan gwp-asan hwasan libfuzzer lsan memprof msan nsan orc profile rtsan safestack scudo tsan ubsan verify-sig xray -debug (-shadowcallstack) -test" ABI_X86="32 (64)" pulled in by
    ~llvm-runtimes/compiler-rt-sanitizers-21.1.1:21[abi_x86_32(+),abi_x86_64(+)] required by (llvm-runtimes/clang-runtime-21.1.1:21/21::gentoo, installed) USE="compiler-rt default-lld offload openmp sanitize -default-compiler-rt -default-libcxx -libcxx -llvm-libunwind -polly" 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.

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


!!! The following installed packages are masked:
- dev-lang/rust-1.84.1-r2::gentoo (masked by: package.mask)
- dev-lang/rust-1.87.0-r1::gentoo (masked by: package.mask)
- dev-lang/rust-1.89.0::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
How do I resolve this?
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Jan 23, 2026 2:28 pm

As I read that output, this is the usual problem that you're implicitly not allowing Portage to do all the installations needed to keep the system consistent. If you want to update clang, then you also need to let Portage update lldb to a version compatible with the new clang.
Top
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Sat Jan 24, 2026 4:36 pm

Hu wrote:As I read that output, this is the usual problem that you're implicitly not allowing Portage to do all the installations needed to keep the system consistent. If you want to update clang, then you also need to let Portage update lldb to a version compatible with the new clang.
Ah. Could you maybe tell me how I might enable such installations?
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3526
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Sat Jan 24, 2026 5:12 pm

leyvi wrote:
Hu wrote:As I read that output, this is the usual problem that you're implicitly not allowing Portage to do all the installations needed to keep the system consistent. If you want to update clang, then you also need to let Portage update lldb to a version compatible with the new clang.
Ah. Could you maybe tell me how I might enable such installations?
Run full world update. Those partial updates do not allow for the complete graph to be considered and what's not in the sub-graph of llvm but is depended on by something that is, cannot be rebuilt.

Or add manually to the command line all the packages that are relevant to the update. As suggested by Hu, at least lldb. The list could take some work to figure out.

Or try adding --complete-graph to your emerge command, but I don't think that ever did what I wanted it to do.

Best Regards,
Georgi
Top
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Sun Jan 25, 2026 7:28 pm

It looks like there is no prebuilt package for lldb... what now? (Adding llvm-core/lldb to the command did make the conflict go away, at least.)
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3526
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Sun Jan 25, 2026 7:36 pm

EDIT: Actually what was the original command? I now read in your first post you tried to update your world set, but did you add -D? Trying to update only a set without -D may cause similar issues.
leyvi wrote:It looks like there is no prebuilt package for lldb... what now? (Adding llvm-core/lldb to the command did make the conflict go away, at least.)
You build it, but why do you need it at all?

If emerge --deselect lldb says it removed it from world, then you might have emerged it by mistake. If you remember you installed it intentionally or the previous command said it couldn't find it in world, let it build.

Otherwise, what does emerge -pvc lldb say?

p.s. don't forget to add -1 to your update command so you don't pollute world.

Best Regards,
Georgi
Last edited by logrusx on Sun Jan 25, 2026 7:46 pm, edited 1 time in total.
Top
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Sun Jan 25, 2026 7:42 pm

logrusx wrote:
leyvi wrote:It looks like there is no prebuilt package for lldb... what now? (Adding llvm-core/lldb to the command did make the conflict go away, at least.)
You build it, but why do you need it at all?

If emerge --deselect lldb says it removed it from world, then you might have emerged it by mistake. If you remember you did it intentionally, let it build.

Otherwise, what does emerge -pvc lldb say?

p.s. don't forget to add -1 to your update command so you don't pollute world.

Best Regards,
Georgi
Yeah, I've been oneshoting everything here.

I installed lldb because I needed to debug something (go figure :lol:).

I'm not using it now, so I guess it can't hurt to deselect it...
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3526
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Sun Jan 25, 2026 7:47 pm

logrusx wrote:EDIT: Actually what was the original command? I now read in your first post you tried to update your world set, but did you add -D? Trying to update only a set without -D may cause similar issues.
Top
Post Reply

21 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy