Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916959 - llvm and clang 15&16 are installed when shall not... (latest installed is 17 and lastest is only required)
Summary: llvm and clang 15&16 are installed when shall not... (latest installed is 17 ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-06 11:09 UTC by jlm
Modified: 2023-11-12 13:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jlm 2023-11-06 11:09:38 UTC
I was wondering why clang&llvm 15 and 16 are still installed on my system, when the only required is 17.....

# equery list "*" |grep llvm
dev-util/spirv-llvm-translator-16.0.0-r1
dev-util/spirv-llvm-translator-17.0.0
sys-devel/llvm-15.0.7-r3
sys-devel/llvm-16.0.6
sys-devel/llvm-17.0.4
sys-devel/llvm-common-17.0.4
sys-devel/llvm-toolchain-symlinks-15-r1
sys-devel/llvm-toolchain-symlinks-16-r1
sys-devel/llvm-toolchain-symlinks-17
sys-devel/llvmgold-17




in the world set, clang and llvm aren't listed so they are pulled by another package

# equery depends sys-devel/llvm-15.0.7-r3
 * These packages depend on sys-devel/llvm-15.0.7-r3:
app-office/libreoffice-7.5.7.1 (clang ? sys-devel/llvm:16)
                               (sys-devel/llvm:15)
                               (sys-devel/llvm:14)
dev-lang/rust-1.73.0 (llvm_targets_AArch64 ? sys-devel/llvm:17[llvm_targets_AArch64(-)])
                     (llvm_targets_AMDGPU ? sys-devel/llvm:17[llvm_targets_AMDGPU(-)])
                     (llvm_targets_ARC ? sys-devel/llvm:17[llvm_targets_ARC(-)])
                     (llvm_targets_ARM ? sys-devel/llvm:17[llvm_targets_ARM(-)])
                     (llvm_targets_AVR ? sys-devel/llvm:17[llvm_targets_AVR(-)])
                     (llvm_targets_BPF ? sys-devel/llvm:17[llvm_targets_BPF(-)])
                     (llvm_targets_CSKY ? sys-devel/llvm:17[llvm_targets_CSKY(-)])
                     (llvm_targets_DirectX ? sys-devel/llvm:17[llvm_targets_DirectX(-)])
                     (llvm_targets_Hexagon ? sys-devel/llvm:17[llvm_targets_Hexagon(-)])
                     (llvm_targets_Lanai ? sys-devel/llvm:17[llvm_targets_Lanai(-)])
                     (llvm_targets_LoongArch ? sys-devel/llvm:17[llvm_targets_LoongArch(-)])
                     (llvm_targets_M68k ? sys-devel/llvm:17[llvm_targets_M68k(-)])
                     (llvm_targets_Mips ? sys-devel/llvm:17[llvm_targets_Mips(-)])
                     (llvm_targets_MSP430 ? sys-devel/llvm:17[llvm_targets_MSP430(-)])
                     (llvm_targets_NVPTX ? sys-devel/llvm:17[llvm_targets_NVPTX(-)])
                     (llvm_targets_PowerPC ? sys-devel/llvm:17[llvm_targets_PowerPC(-)])
                     (llvm_targets_RISCV ? sys-devel/llvm:17[llvm_targets_RISCV(-)])
                     (llvm_targets_Sparc ? sys-devel/llvm:17[llvm_targets_Sparc(-)])
                     (llvm_targets_SPIRV ? sys-devel/llvm:17[llvm_targets_SPIRV(-)])
                     (llvm_targets_SystemZ ? sys-devel/llvm:17[llvm_targets_SystemZ(-)])
                     (llvm_targets_VE ? sys-devel/llvm:17[llvm_targets_VE(-)])
                     (llvm_targets_WebAssembly ? sys-devel/llvm:17[llvm_targets_WebAssembly(-)])
                     (llvm_targets_X86 ? sys-devel/llvm:17[llvm_targets_X86(-)])
                     (llvm_targets_XCore ? sys-devel/llvm:17[llvm_targets_XCore(-)])
                     (llvm_targets_Xtensa ? sys-devel/llvm:17[llvm_targets_Xtensa(-)])
                     (<sys-devel/llvm-18)
dev-util/spirv-llvm-translator-16.0.0-r1 (sys-devel/llvm:16)
dev-util/spirv-llvm-translator-17.0.0 (sys-devel/llvm:17)
media-gfx/openvdb-10.0.1 (ax ? <sys-devel/llvm-15)
media-libs/mesa-23.2.1 (!opencl ? sys-devel/llvm:16[llvm_targets_AMDGPU(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])                                                         
                       (!opencl ? sys-devel/llvm:15[llvm_targets_AMDGPU(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])                                                         
                       (!opencl ? <sys-devel/llvm-17[llvm_targets_AMDGPU(+),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/clang-15.0.7-r3 (~sys-devel/llvm-15.0.7:15[debug=,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])                                                                        
                          (llvm_targets_AArch64 ? ~sys-devel/llvm-15.0.7[llvm_targets_AArch64])
                          (llvm_targets_AMDGPU ? ~sys-devel/llvm-15.0.7[llvm_targets_AMDGPU])
                          (llvm_targets_ARM ? ~sys-devel/llvm-15.0.7[llvm_targets_ARM])
                          (llvm_targets_AVR ? ~sys-devel/llvm-15.0.7[llvm_targets_AVR])
                          (llvm_targets_BPF ? ~sys-devel/llvm-15.0.7[llvm_targets_BPF])
                          (llvm_targets_Hexagon ? ~sys-devel/llvm-15.0.7[llvm_targets_Hexagon])
                          (llvm_targets_Lanai ? ~sys-devel/llvm-15.0.7[llvm_targets_Lanai])
                          (llvm_targets_Mips ? ~sys-devel/llvm-15.0.7[llvm_targets_Mips])
                          (llvm_targets_MSP430 ? ~sys-devel/llvm-15.0.7[llvm_targets_MSP430])
                          (llvm_targets_NVPTX ? ~sys-devel/llvm-15.0.7[llvm_targets_NVPTX])
                          (llvm_targets_PowerPC ? ~sys-devel/llvm-15.0.7[llvm_targets_PowerPC])
                          (llvm_targets_RISCV ? ~sys-devel/llvm-15.0.7[llvm_targets_RISCV])
                          (llvm_targets_Sparc ? ~sys-devel/llvm-15.0.7[llvm_targets_Sparc])
                          (llvm_targets_SystemZ ? ~sys-devel/llvm-15.0.7[llvm_targets_SystemZ])
                          (llvm_targets_VE ? ~sys-devel/llvm-15.0.7[llvm_targets_VE])
                          (llvm_targets_WebAssembly ? ~sys-devel/llvm-15.0.7[llvm_targets_WebAssembly])
                          (llvm_targets_X86 ? ~sys-devel/llvm-15.0.7[llvm_targets_X86])
                          (llvm_targets_XCore ? ~sys-devel/llvm-15.0.7[llvm_targets_XCore])
                          (llvm_targets_ARC ? ~sys-devel/llvm-15.0.7[llvm_targets_ARC])
                          (llvm_targets_CSKY ? ~sys-devel/llvm-15.0.7[llvm_targets_CSKY])
                          (llvm_targets_DirectX ? ~sys-devel/llvm-15.0.7[llvm_targets_DirectX])
                          (llvm_targets_LoongArch ? ~sys-devel/llvm-15.0.7[llvm_targets_LoongArch])
                          (llvm_targets_M68k ? ~sys-devel/llvm-15.0.7[llvm_targets_M68k])
                          (llvm_targets_SPIRV ? ~sys-devel/llvm-15.0.7[llvm_targets_SPIRV])
sys-devel/clang-16.0.6 (~sys-devel/llvm-16.0.6:16[debug=,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])                                                                           
                       (llvm_targets_AArch64 ? ~sys-devel/llvm-16.0.6[llvm_targets_AArch64])
                       (llvm_targets_AMDGPU ? ~sys-devel/llvm-16.0.6[llvm_targets_AMDGPU])
                       (llvm_targets_ARM ? ~sys-devel/llvm-16.0.6[llvm_targets_ARM])
                       (llvm_targets_AVR ? ~sys-devel/llvm-16.0.6[llvm_targets_AVR])
                       (llvm_targets_BPF ? ~sys-devel/llvm-16.0.6[llvm_targets_BPF])
                       (llvm_targets_Hexagon ? ~sys-devel/llvm-16.0.6[llvm_targets_Hexagon])
                       (llvm_targets_Lanai ? ~sys-devel/llvm-16.0.6[llvm_targets_Lanai])
                       (llvm_targets_LoongArch ? ~sys-devel/llvm-16.0.6[llvm_targets_LoongArch])
                       (llvm_targets_Mips ? ~sys-devel/llvm-16.0.6[llvm_targets_Mips])
                       (llvm_targets_MSP430 ? ~sys-devel/llvm-16.0.6[llvm_targets_MSP430])
                       (llvm_targets_NVPTX ? ~sys-devel/llvm-16.0.6[llvm_targets_NVPTX])
                       (llvm_targets_PowerPC ? ~sys-devel/llvm-16.0.6[llvm_targets_PowerPC])
                       (llvm_targets_RISCV ? ~sys-devel/llvm-16.0.6[llvm_targets_RISCV])
                       (llvm_targets_Sparc ? ~sys-devel/llvm-16.0.6[llvm_targets_Sparc])
                       (llvm_targets_SystemZ ? ~sys-devel/llvm-16.0.6[llvm_targets_SystemZ])
                       (llvm_targets_VE ? ~sys-devel/llvm-16.0.6[llvm_targets_VE])
                       (llvm_targets_WebAssembly ? ~sys-devel/llvm-16.0.6[llvm_targets_WebAssembly])
                       (llvm_targets_X86 ? ~sys-devel/llvm-16.0.6[llvm_targets_X86])
                       (llvm_targets_XCore ? ~sys-devel/llvm-16.0.6[llvm_targets_XCore])
                       (llvm_targets_ARC ? ~sys-devel/llvm-16.0.6[llvm_targets_ARC])
                       (llvm_targets_CSKY ? ~sys-devel/llvm-16.0.6[llvm_targets_CSKY])
                       (llvm_targets_DirectX ? ~sys-devel/llvm-16.0.6[llvm_targets_DirectX])
                       (llvm_targets_M68k ? ~sys-devel/llvm-16.0.6[llvm_targets_M68k])
                       (llvm_targets_SPIRV ? ~sys-devel/llvm-16.0.6[llvm_targets_SPIRV])
                       (llvm_targets_Xtensa ? ~sys-devel/llvm-16.0.6[llvm_targets_Xtensa])
sys-devel/clang-17.0.4 (~sys-devel/llvm-17.0.4:17[debug=,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])                                                                           
                       (llvm_targets_AArch64 ? ~sys-devel/llvm-17.0.4[llvm_targets_AArch64])
                       (llvm_targets_AMDGPU ? ~sys-devel/llvm-17.0.4[llvm_targets_AMDGPU])
                       (llvm_targets_ARM ? ~sys-devel/llvm-17.0.4[llvm_targets_ARM])
                       (llvm_targets_AVR ? ~sys-devel/llvm-17.0.4[llvm_targets_AVR])
                       (llvm_targets_BPF ? ~sys-devel/llvm-17.0.4[llvm_targets_BPF])
                       (llvm_targets_Hexagon ? ~sys-devel/llvm-17.0.4[llvm_targets_Hexagon])
                       (llvm_targets_Lanai ? ~sys-devel/llvm-17.0.4[llvm_targets_Lanai])
                       (llvm_targets_LoongArch ? ~sys-devel/llvm-17.0.4[llvm_targets_LoongArch])
                       (llvm_targets_Mips ? ~sys-devel/llvm-17.0.4[llvm_targets_Mips])
                       (llvm_targets_MSP430 ? ~sys-devel/llvm-17.0.4[llvm_targets_MSP430])
                       (llvm_targets_NVPTX ? ~sys-devel/llvm-17.0.4[llvm_targets_NVPTX])
                       (llvm_targets_PowerPC ? ~sys-devel/llvm-17.0.4[llvm_targets_PowerPC])
                       (llvm_targets_RISCV ? ~sys-devel/llvm-17.0.4[llvm_targets_RISCV])
                       (llvm_targets_Sparc ? ~sys-devel/llvm-17.0.4[llvm_targets_Sparc])
                       (llvm_targets_SystemZ ? ~sys-devel/llvm-17.0.4[llvm_targets_SystemZ])
                       (llvm_targets_VE ? ~sys-devel/llvm-17.0.4[llvm_targets_VE])
                       (llvm_targets_WebAssembly ? ~sys-devel/llvm-17.0.4[llvm_targets_WebAssembly])
                       (llvm_targets_X86 ? ~sys-devel/llvm-17.0.4[llvm_targets_X86])
                       (llvm_targets_XCore ? ~sys-devel/llvm-17.0.4[llvm_targets_XCore])
                       (llvm_targets_ARC ? ~sys-devel/llvm-17.0.4[llvm_targets_ARC])
                       (llvm_targets_CSKY ? ~sys-devel/llvm-17.0.4[llvm_targets_CSKY])
                       (llvm_targets_DirectX ? ~sys-devel/llvm-17.0.4[llvm_targets_DirectX])
                       (llvm_targets_M68k ? ~sys-devel/llvm-17.0.4[llvm_targets_M68k])
                       (llvm_targets_SPIRV ? ~sys-devel/llvm-17.0.4[llvm_targets_SPIRV])
                       (llvm_targets_Xtensa ? ~sys-devel/llvm-17.0.4[llvm_targets_Xtensa])
sys-devel/llvm-toolchain-symlinks-15-r1 (sys-devel/llvm:15)
sys-devel/llvm-toolchain-symlinks-16-r1 (sys-devel/llvm:16)
sys-devel/llvm-toolchain-symlinks-17 (sys-devel/llvm:17)
sys-devel/llvmgold-17 (sys-devel/llvm:17[binutils-plugin])
sys-libs/compiler-rt-15.0.7 (sys-devel/llvm:15)
sys-libs/compiler-rt-16.0.6 (sys-devel/llvm:16)
sys-libs/compiler-rt-17.0.4 (sys-devel/llvm:17)
sys-libs/compiler-rt-sanitizers-15.0.7 (sys-devel/llvm:15)
sys-libs/compiler-rt-sanitizers-16.0.6 (sys-devel/llvm:16)
sys-libs/compiler-rt-sanitizers-17.0.4 (sys-devel/llvm:17)
sys-libs/libomp-17.0.4 (offload ? ~sys-devel/llvm-17.0.4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]) 




which resolve in human view as 
# equery depends sys-devel/llvm-15.0.7-r3
 * These packages depend on sys-devel/llvm-15.0.7-r3:

app-office/libreoffice-7.5.7.1                     clang use not selected
dev-lang/rust-1.73.0                               depends on 17
dev-util/spirv-llvm-translator-16.0.0-r1           depends on 16
dev-util/spirv-llvm-translator-17.0.0              depends on 17
media-gfx/openvdb-10.0.1                           ax use not selected
media-libs/mesa-23.2.1                             seems compatible with all llvm version... so the latest installed (17) is sufficient
sys-devel/clang-15.0.7-r3                          not in world set
sys-devel/clang-16.0.6                             should not depend on 15 but 16?
sys-devel/clang-17.0.4                             should not be listed here, depend on 17 not 15...
sys-devel/llvm-toolchain-symlinks-15-r1            not in world set...
sys-devel/llvm-toolchain-symlinks-16-r1            should not depend on 15 but 16
sys-devel/llvm-toolchain-symlinks-17               should not depend on 15 but 17
sys-devel/llvmgold-17                              should not depend on 15 but 17
sys-libs/compiler-rt-15.0.7                        not in world set
sys-libs/compiler-rt-16.0.6                        should not depend on 15 but 16
sys-libs/compiler-rt-17.0.4                        should not depend on 15 but 17
sys-libs/compiler-rt-sanitizers-15.0.7             not in world set
sys-libs/compiler-rt-sanitizers-16.0.6             should not depend on 15 but 16
sys-libs/compiler-rt-sanitizers-17.0.4             should not depend on 15 but 17
sys-libs/libomp-17.0.4                             offload use not selected


there are strange things... like some 16 and 17 llvm dependendant tools (clang-17 should not be listed in a 15 depends....) listed as dependant of 15... looks like the 15 version is installed because the 16 version is installed because the 17 version is required... if this continue like this, all clang version will be installed when version 20203934 will be required... 
I've done the same work looking at clang-15 (this looked like the only installed dependendcy that could cause llvm-15 to be installed if clang-15 is required by another installed package...) and same result, it seems not required by installed package...


Reproducible: Always

Actual Results:  
clang-15 and clang-16 as well as llvm-15 and llvm-16 are installed when it seems they aren't required by any other installed package that require only the latest version...

Expected Results:  
clang-17 and llvm-17 should be the only installed version
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-06 11:14:22 UTC
Please don't rely on equery for stuff like this.

You can try 'emerge -pvc sys-devel/llvm:15' and so on instead. Anyway, I think this is better suited to one of our support channels like IRC or the forums.

You can also do a global depclean (recommended after every world upgrade) with emerge -ac to see if any of them are eligible for removal.
Comment 2 jlm 2023-11-06 15:19:18 UTC
sorry, I'm not aware of all the possibilities of emerge, so I mainly use stuff I find on forums.... 
cleaning was done, I even tried to force remove them and update world, that re-built llvm15&16 and cland15&16, showing that there is some requirements that do pull them 

========================================================================
emerge -pvc sys-devel/llvm:15    

Calculating dependencies... done!                                   
  sys-devel/llvm-15.0.7-r3 pulled in by:
    sys-devel/clang-15.0.7-r3 requires ~sys-devel/llvm-15.0.7:15=[-debug,abi_x86_64(-)], ~sys-devel/llvm-15.0.7[llvm_targets_X86], ~sys-devel/llvm-15.0.7:15/15=[-debug,abi_x86_64(-)], ~sys-devel/llvm-15.0.7[llvm_targets_MSP430], ~sys-devel/llvm-15.0.7[llvm_targets_SystemZ], ~sys-devel/llvm-15.0.7[llvm_targets_NVPTX], ~sys-devel/llvm-15.0.7[llvm_targets_PowerPC], ~sys-devel/llvm-15.0.7[llvm_targets_VE], ~sys-devel/llvm-15.0.7[llvm_targets_AVR], ~sys-devel/llvm-15.0.7[llvm_targets_ARM], ~sys-devel/llvm-15.0.7[llvm_targets_Lanai], ~sys-devel/llvm-15.0.7[llvm_targets_Sparc], ~sys-devel/llvm-15.0.7[llvm_targets_WebAssembly], ~sys-devel/llvm-15.0.7[llvm_targets_AMDGPU], ~sys-devel/llvm-15.0.7[llvm_targets_AArch64], ~sys-devel/llvm-15.0.7[llvm_targets_BPF], ~sys-devel/llvm-15.0.7[llvm_targets_Mips], ~sys-devel/llvm-15.0.7[llvm_targets_Hexagon], ~sys-devel/llvm-15.0.7[llvm_targets_XCore], ~sys-devel/llvm-15.0.7[llvm_targets_RISCV]
    sys-devel/llvm-toolchain-symlinks-15-r1 requires sys-devel/llvm:15
    sys-libs/compiler-rt-15.0.7 requires sys-devel/llvm:15
    sys-libs/compiler-rt-sanitizers-15.0.7 requires sys-devel/llvm:15

==============================================================================
$ emerge -pvc sys-devel/clang:15

Calculating dependencies... done!
  sys-devel/clang-15.0.7-r3 pulled in by:
    dev-lang/ispc-1.19.0 requires <sys-devel/clang-16:15/15g1=, <sys-devel/clang-16:=
    sys-devel/clang-toolchain-symlinks-15-r2 requires sys-devel/clang:15


============================================================================
$ emerge -pvc =dev-lang/ispc-1.19.0

Calculating dependencies... done!
  dev-lang/ispc-1.19.0 pulled in by:
    media-libs/oidn-1.4.3 requires dev-lang/ispc

============================================================================
$ emerge -pvc =sys-devel/clang-toolchain-symlinks-15-r2

Calculating dependencies... done!
  sys-devel/clang-toolchain-symlinks-15-r2 pulled in by:
    sys-devel/clang-15.0.7-r3 requires sys-devel/clang-toolchain-symlinks:15

============================================================================
$ emerge -pvc =sys-devel/llvm-toolchain-symlinks-15-r1

Calculating dependencies... done!
  sys-devel/llvm-toolchain-symlinks-15-r1 pulled in by:
    sys-devel/llvm-15.0.7-r3 requires sys-devel/llvm-toolchain-symlinks:15

============================================================================
$ emerge -pvc =sys-libs/compiler-rt-15.0.7

Calculating dependencies... done!
  sys-libs/compiler-rt-15.0.7 pulled in by:
    sys-devel/clang-runtime-15.0.7 requires ~sys-libs/compiler-rt-15.0.7:15.0.7[abi_x86_64(+)]

============================================================================
$ emerge -pvc =sys-libs/compiler-rt-sanitizers-15.0.7

Calculating dependencies... done!
  sys-libs/compiler-rt-sanitizers-15.0.7 pulled in by:
    sys-devel/clang-runtime-15.0.7 requires ~sys-libs/compiler-rt-sanitizers-15.0.7:15.0.7[abi_x86_64(+)]

===========================================================================
 $ emerge -pvc =sys-devel/clang-runtime-15.0.7

Calculating dependencies... done!
  sys-devel/clang-runtime-15.0.7 pulled in by:
    sys-devel/clang-15.0.7-r3 requires ~sys-devel/clang-runtime-15.0.7
Comment 3 Eli Schwartz 2023-11-07 01:34:29 UTC
Okay so what exactly is the problem?

You have successfully determined that llvm:15 is required by ispc and by extension by oidn (probably due to blender). You cannot remove llvm:15 without removing those.

Have you tried removing llvm 16?

As for clang 15 -- you should be able to remove them if you try removing both packages with circular dependencies at the same time. clang-toolchain-symlinks depends on clang, but installing clang forces you to install clang-toolchain-symlinks afterward (PDEPEND) as they kind of go together.

In general this does feel very much like a forum/IRC question.
Comment 4 Mike Gilbert gentoo-dev 2023-11-08 16:42:38 UTC
Please seek assistance in support channels.
Comment 5 jlm 2023-11-12 13:45:29 UTC
(In reply to Eli Schwartz from comment #3)
> Okay so what exactly is the problem?
> 
> You have successfully determined that llvm:15 is required by ispc and by
> extension by oidn (probably due to blender). You cannot remove llvm:15
> without removing those.
> 
> Have you tried removing llvm 16?
> 
> As for clang 15 -- you should be able to remove them if you try removing
> both packages with circular dependencies at the same time.
> clang-toolchain-symlinks depends on clang, but installing clang forces you
> to install clang-toolchain-symlinks afterward (PDEPEND) as they kind of go
> together.
> 
> In general this does feel very much like a forum/IRC question.

from usr/portage/dev-lang/ispc/ispc-1.19.0.ebuild 
RDEPEND="<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):="

sorry, ispc depends on llvm max slot + 1 not llvm 15....  I don't have "successfully  determined that llvm:15 is required by ispc "