Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914912 - media-libs/mesa-23.2.0_rc4 - ../.../meson.build: ERROR: C++ shared or static library clangBasic not found
Summary: media-libs/mesa-23.2.0_rc4 - ../.../meson.build: ERROR: C++ shared or static ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-29 15:01 UTC by Toralf Förster
Modified: 2023-10-04 19:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.51 KB, text/plain)
2023-09-29 15:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,16.62 KB, text/plain)
2023-09-29 15:01 UTC, Toralf Förster
Details
environment (environment,158.99 KB, text/plain)
2023-09-29 15:01 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-09-29 15:01 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.37 KB, application/x-xz)
2023-09-29 15:01 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,343.83 KB, application/x-xz)
2023-09-29 15:01 UTC, Toralf Förster
Details
media-libs:mesa-23.2.0_rc4:20230929-100207.log (media-libs:mesa-23.2.0_rc4:20230929-100207.log,13.83 KB, text/plain)
2023-09-29 15:01 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,35.33 KB, application/x-xz)
2023-09-29 15:01 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-09-29 15:01:41 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2023-09-29 15:01:42 UTC
Created attachment 871711 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-29 15:01:43 UTC
Created attachment 871712 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-29 15:01:44 UTC
Created attachment 871713 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-29 15:01:45 UTC
Created attachment 871714 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-29 15:01:46 UTC
Created attachment 871715 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-29 15:01:47 UTC
Created attachment 871716 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-29 15:01:48 UTC
Created attachment 871717 [details]
media-libs:mesa-23.2.0_rc4:20230929-100207.log
Comment 8 Toralf Förster gentoo-dev 2023-09-29 15:01:49 UTC
Created attachment 871718 [details]
temp.tar.xz
Comment 9 Fulgurance 2023-10-04 04:39:54 UTC
I have the same bug, even I have clang installed
Comment 10 Fulgurance 2023-10-04 07:01:12 UTC
It's quite annoying because this bug block me for my new fresh installation of gentoo
Comment 11 Matt Turner gentoo-dev 2023-10-04 18:09:00 UTC
Could you post a build log?
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-04 18:10:39 UTC
Probably the same as bug 914906.
Comment 13 Larry the Git Cow gentoo-dev 2023-10-04 19:07:20 UTC
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(-)