View previous topic :: View next topic |
Author |
Message |
Blind_Sniper Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2018 Posts: 359
|
Posted: Sun Jul 21, 2024 11:40 am Post subject: libclc building fails |
|
|
Hi there!
emerge fails to update system:
Code: | >>> Emerging (1 of 16) dev-libs/libclc-17.0.6::gentoo
* llvm-project-17.0.6.src.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
* ERROR: dev-libs/libclc-17.0.6::gentoo failed (setup phase):
* No LLVM slot <= 17 satisfying the package's dependencies found installed!
*
* Call stack:
* ebuild.sh, line 136: Called pkg_setup
* libclc-17.0.6.ebuild, line 56: Called llvm_pkg_setup
* llvm.eclass, line 202: Called get_llvm_slot '17'
* llvm.eclass, line 161: Called die
* The specific snippet of code:
* die "No LLVM slot${1:+ <= ${1}} satisfying the package's dependencies found installed!"
*
* If you need support, post the output of `emerge --info '=dev-libs/libclc-17.0.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/libclc-17.0.6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/libclc-17.0.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libclc-17.0.6/temp/die.env'.
* Working directory: '/var/tmp/portage/dev-libs/libclc-17.0.6/empty'
* S: '/var/tmp/portage/dev-libs/libclc-17.0.6/work/libclc'
>>> Failed to emerge dev-libs/libclc-17.0.6, Log file:
>>> '/var/tmp/portage/dev-libs/libclc-17.0.6/temp/build.log'
* Messages for package dev-libs/libclc-17.0.6:
* ERROR: dev-libs/libclc-17.0.6::gentoo failed (setup phase):
* No LLVM slot <= 17 satisfying the package's dependencies found installed!
*
* Call stack:
* ebuild.sh, line 136: Called pkg_setup
* libclc-17.0.6.ebuild, line 56: Called llvm_pkg_setup
* llvm.eclass, line 202: Called get_llvm_slot '17'
* llvm.eclass, line 161: Called die
* The specific snippet of code:
* die "No LLVM slot${1:+ <= ${1}} satisfying the package's dependencies found installed!"
*
* If you need support, post the output of `emerge --info '=dev-libs/libclc-17.0.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/libclc-17.0.6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/libclc-17.0.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libclc-17.0.6/temp/die.env'.
* Working directory: '/var/tmp/portage/dev-libs/libclc-17.0.6/empty'
* S: '/var/tmp/portage/dev-libs/libclc-17.0.6/work/libclc' |
Code: | emerge --info llvm
sys-devel/llvm-16.0.6::gentoo was built with the following:
USE="binutils-plugin libffi ncurses zstd -debug -doc -exegesis -libedit -test -verify-sig -xar -xml -z3" 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)"
sys-devel/llvm-17.0.6::gentoo was built with the following:
USE="binutils-plugin libffi ncurses zstd -debug -debuginfod -doc -exegesis -libedit -test -verify-sig -xar -xml -z3" 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"
|
Code: | emerge -pqv '=dev-libs/libclc-17.0.6::gentoo'
* IMPORTANT: config file '/etc/portage/package.use/package.use' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
[ebuild N ] dev-libs/libclc-17.0.6 USE="spirv -verify-sig" VIDEO_CARDS="-nvidia -r600 -radeonsi" |
Tried to disable spirv flag for libclc - it doesn't help. Emerge complains that spirv flag should be enabled and refuses to compile libclc
What kind of llvm emerge needs for building libclc? _________________ GNU is Not Usable |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bstaletic Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Apr 2014 Posts: 313
|
Posted: Mon Jul 22, 2024 6:06 pm Post subject: |
|
|
According to the libclc-17.0.6.ebuild, you are expected to have a clang compiler from either of the slots from 13 to 17, and the corresponding spirv-llvm-translator.
Both of those are libclc's BDEPENDs. Are you trying to emerge libclc without its dependencies? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Blind_Sniper Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2018 Posts: 359
|
Posted: Tue Jul 23, 2024 10:08 am Post subject: |
|
|
Yes, I solved it already. I had my system free of clang till now, but now it became mandatory to have another one compiler. How much of compiler do we need? 5? 10? 20? Dedicated compiler for every f*cking library? Entire the rust compiler for one lib - librsvg, another clang compiler for another one lib - libclc.
Gentoo turns into bloatware Emerge pulls in few new packages every f*cking week. Eight new packages last week (related to clang)... _________________ GNU is Not Usable |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 22367
|
Posted: Tue Jul 23, 2024 12:02 pm Post subject: |
|
|
Gentoo passes through upstream's decisions. In the case of librsvg, upstream abandoned the no-Rust build, so either you stick with an outdated version (that likely has published CVEs by now) that works without Rust, you tolerate Rust, or you remove librsvg entirely (and everything which hard-depends on it). As I read the mesa ebuild, libclc is optional. If you don't want it, disable USE=opencl. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Blind_Sniper Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2018 Posts: 359
|
Posted: Tue Jul 23, 2024 12:09 pm Post subject: |
|
|
Hu wrote: | As I read the mesa ebuild, libclc is optional. If you don't want it, disable USE=opencl. |
I will try it, thanks! _________________ GNU is Not Usable |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
netfab Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 03 Mar 2005 Posts: 1941 Location: 127.0.0.1
|
Posted: Wed Jul 24, 2024 11:36 am Post subject: |
|
|
Hu wrote: | As I read the mesa ebuild, libclc is optional. If you don't want it, disable USE=opencl. |
With newest versions of mesa (>=24.1.x), if you have VIDEO_CARDS="intel" on, dev-libs/libclc and dev-util/intel_clc are required.
This pulls in clang and llvm. See bug #936399 for details. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|