Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(solved)emerge world returns: clang:15 has unmet requiremen
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 92
Location: Princeton, NJ

PostPosted: Tue Jul 02, 2024 1:45 pm    Post subject: (solved)emerge world returns: clang:15 has unmet requiremen Reply with quote

The latest update on one of my gentoo PCs gave:

Quote:

emerge -vuNDq world


!!! Problem resolving dependencies for sys-devel/clang:15 from @selected

!!! The ebuild selected to satisfy "sys-devel/clang:15" has unmet requirements.
- sys-devel/clang-15.0.7-r3::gentoo USE="extra (pie) static-analyzer xml -debug -doc (-ieee-long-double) -test -verify-sig" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-DirectX) (-LoongArch) (-M68k) (-SPIRV)" PYTHON_SINGLE_TARGET="-python3_10 -python3_11"

The following REQUIRED_USE flag constraints are unsatisfied:
exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 )

The above constraints are a subset of the following complete expression:
exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 ) any-of ( llvm_targets_AArch64 llvm_targets_AMDGPU llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF llvm_targets_Hexagon llvm_targets_Lanai llvm_targets_Mips llvm_targets_MSP430 llvm_targets_NVPTX llvm_targets_PowerPC llvm_targets_RISCV llvm_targets_Sparc llvm_targets_SystemZ llvm_targets_VE llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore llvm_targets_ARC llvm_targets_CSKY llvm_targets_DirectX llvm_targets_LoongArch llvm_targets_M68k llvm_targets_SPIRV )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])



Any idea why? I have clang:17 installed:
Quote:

emerge -vp clang

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

Calculating dependencies... done!
Dependency resolution took 1.07 s (backtrack: 0/20).

[ebuild R ] sys-devel/clang-17.0.6:17::gentoo USE="extra (pie) static-analyzer xml -debug -doc (-ieee-long-double) -test -verify-sig" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


Can i remove clang:15?


Last edited by ngorelen on Tue Jul 02, 2024 6:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1935

PostPosted: Tue Jul 02, 2024 2:06 pm    Post subject: Reply with quote

ngorelen wrote:
Code:
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
Any idea why

You have specifically selected sys-devel/clang:15 to always be installed. If this is not desired (which seems to be the case), then issue emerge --deselect sys-devel/clang:15

Once you have fully updated system, then doing emerge --ask --depclean will likely remove it if it is no longer needed.
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 92
Location: Princeton, NJ

PostPosted: Tue Jul 02, 2024 6:00 pm    Post subject: Reply with quote

Thanks grknight, i had to deselect two related packages which were giving that problem:

Quote:
emerge --deselect sys-devel/clang-toolchain-symlinks:15 sys-devel/clang:15


Now emerge world is working as it should.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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