Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771840 - dev-libs/opencl-clang-11.0.0 blocks llvm/clang 11.1.0
Summary: dev-libs/opencl-clang-11.0.0 blocks llvm/clang 11.1.0
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-21 08:29 UTC by Yury Katuar
Modified: 2021-02-21 19:20 UTC (History)
1 user (show)

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 Yury Katuar 2021-02-21 08:29:01 UTC
> ...
> 
> WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
> 
> sys-devel/clang:11
> 
>   (sys-devel/clang-11.1.0:11/11.1::gentoo, ebuild scheduled for merge) USE="static-analyzer xml -abi_riscv_lp64 -abi_riscv_lp64d -debug -default-compiler-rt (-default-libcxx) -default-lld -doc -test" LLVM_TARGETS="AArch64 ARM BPF Mips (X86) -AMDGPU -ARC -AVR -Hexagon -Lanai -MSP430 -NVPTX -PowerPC -RISCV -Sparc -SystemZ -VE -WebAssembly -XCore" PYTHON_SINGLE_TARGET="python3_7 -python3_8 -python3_9" conflicts with
>     ~sys-devel/clang-11.0.1:11=[static-analyzer,-mgorny(-)] required by (dev-libs/opencl-clang-11.0.0:11/11::gentoo, installed) USE="-abi_riscv_lp64 -abi_riscv_lp64d"
>     ^                ^^^^^^
>     sys-devel/clang:11/11=[-mgorny(-)] required by (dev-util/spirv-llvm-translator-11.0.0:11/11::gentoo, installed) USE="-abi_riscv_lp64 -abi_riscv_lp64d -test -tools"
>                    ^^^^^^^
>     ~sys-devel/clang-11.0.1:11/11=[static-analyzer,-mgorny(-)] required by (dev-libs/opencl-clang-11.0.0:11/11::gentoo, installed) USE="-abi_riscv_lp64 -abi_riscv_lp64d"
>     ^                ^^^^^^^^^^^^^
>     sys-devel/clang:11/11= required by (dev-db/postgresql-13.1:13/13::gentoo, installed) USE="icu kerberos llvm nls pam python readline server ssl threads xml zlib -debug -doc -ldap -libressl -perl (-selinux) -static-libs (-systemd) -tcl -uuid" PYTHON_SINGLE_TARGET="python3_7 -python3_8 -python3_9"
>                    ^^^^^^^
> 
> sys-devel/llvm:11
> 
>   (sys-devel/llvm-11.1.0:11/11::gentoo, ebuild scheduled for merge) USE="gold libffi ncurses xml -abi_riscv_lp64 -abi_riscv_lp64d -debug -doc -exegesis -libedit -test -xar -z3" LLVM_TARGETS="AArch64 ARM BPF Mips (X86) -AMDGPU -ARC -AVR -Hexagon -Lanai -MSP430 -NVPTX -PowerPC -RISCV -Sparc -SystemZ -VE -WebAssembly -XCore" conflicts with                                                                         
>     ~sys-devel/llvm-11.0.1:11[llvm_targets_Mips] required by (sys-devel/clang-11.0.1:11/11::gentoo, installed) USE="static-analyzer xml -abi_riscv_lp64 -abi_riscv_lp64d -debug -default-compiler-rt (-default-libcxx) -default-lld -doc -test" LLVM_TARGETS="AArch64 ARM BPF Mips (X86) -AMDGPU -ARC -AVR -Hexagon -Lanai -MSP430 -NVPTX -PowerPC -RISCV -Sparc -SystemZ -VE -WebAssembly -XCore" PYTHON_SINGLE_TARGET="python3_7 -python3_8 -python3_9"
>     ^               ^^^^^^
> 
> ...


I guess this workaround from bug 743992 is the reason:
'DEPEND="~sys-devel/clang-11.0.1:11=[static-analyzer,${MULTILIB_USEDEP}]
Comment 1 Yury Katuar 2021-02-21 09:57:06 UTC
Editing the dependency line doesn't seem to fix it though.

> -- Looking for LLVM version 11.0.0
> CMake Error at CMakeLists.txt:26 (find_package):
>   Could not find a configuration file for package "LLVM" that is compatible
>   with requested version "11.0.0".
> 
>   The following configuration files were considered but not accepted:
> 
>     /usr/lib/llvm/11/lib64/cmake/llvm/LLVMConfig.cmake, version: 11.1.0
>     /usr/lib/llvm/10/lib64/cmake/llvm/LLVMConfig.cmake, version: 10.0.1
> 
> 
> 
> -- Configuring incomplete, errors occurred!
Comment 2 Jonas Stein gentoo-dev 2021-02-21 19:20:02 UTC
Nexion, please  
* attach the logs and 
* paste the emerge info 
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket

The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/