llvm-config found: YES (/usr/lib/llvm/16/bin/x86_64-pc-linux-gnu-llvm-config) 16.0.6 Run-time dependency LLVM (modules: amdgpu, asmparser, bitreader, bitwriter, core, coverage, engine, executionengine, instcombine, ipo, irreader, libdriver, linker, lto, mcdisassembler, mcjit, native, option, scalaropts, target, transformutils, all-targets, coroutines, frontendhlsl, lto, windowsdriver) found: YES 16.0.6 Run-time dependency spirv-tools found: YES 2023.4.1 Run-time dependency llvmspirvlib found: YES 16.0.0.0 Library clang-cpp found: NO ../mesa-23.2.0-rc4/meson.build:1801:23: ERROR: C++ shared or static library 'clangBasic' not found A full log can be found at /var/tmp/portage/media-libs/mesa-23.2.0_rc4/work/mesa-23.2.0-rc4-abi_x86_64.amd64/meson-logs/meson-log.txt ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-20230928-191504 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.1 Python 3.11.5 Available Rust versions: [1] rust-1.72.0 * php cli (if any): HEAD of ::gentoo commit 7fefb4d8d3d774b498ba5988e76806866c608950 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Sep 28 19:01:44 2023 +0000 2023-09-28 19:01:44 UTC emerge -qpvO media-libs/mesa [ebuild N ] media-libs/mesa-23.2.0_rc4 USE="X gles2 llvm proprietary-codecs vaapi vulkan zstd -d3d9 -debug -gles1 -lm-sensors -opencl -osmesa (-selinux) -test -unwind (-valgrind) -vdpau -vulkan-overlay -wayland -xa -zink" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" VIDEO_CARDS="intel radeon radeonsi -d3d12 (-freedreno) -lavapipe (-lima) -nouveau (-panfrost) -r300 -r600 (-v3d) (-vc4) -virgl (-vivante) -vmware"
Created attachment 871711 [details] emerge-info.txt
Created attachment 871712 [details] emerge-history.txt
Created attachment 871713 [details] environment
Created attachment 871714 [details] etc.clang.tar.xz
Created attachment 871715 [details] etc.portage.tar.xz
Created attachment 871716 [details] logs.tar.xz
Created attachment 871717 [details] media-libs:mesa-23.2.0_rc4:20230929-100207.log
Created attachment 871718 [details] temp.tar.xz
I have the same bug, even I have clang installed
It's quite annoying because this bug block me for my new fresh installation of gentoo
Could you post a build log?
Probably the same as bug 914906.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e814d0a7d524fbc4d10948f79e0de8e8604eeef commit 6e814d0a7d524fbc4d10948f79e0de8e8604eeef Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2023-10-04 19:05:38 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2023-10-04 19:07:16 +0000 media-libs/mesa: Depend on clang for ray tracing Closes: https://bugs.gentoo.org/914906 Closes: https://bugs.gentoo.org/914912 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/mesa-23.1.9.ebuild | 9 ++++++++- media-libs/mesa/mesa-23.2.1.ebuild | 9 ++++++++- media-libs/mesa/mesa-9999.ebuild | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-)