Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890006 - media-libs/mesa-22.2.5 (stable) fails to build with sys-devel/clang-15.0.6: ERROR: C++ shared or static library 'clangCodeGen' not found
Summary: media-libs/mesa-22.2.5 (stable) fails to build with sys-devel/clang-15.0.6: E...
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-01-07 06:49 UTC by Sergey Torokhov
Modified: 2023-04-28 22:22 UTC (History)
0 users

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


Attachments
build.log (build.log,16.32 KB, text/x-log)
2023-01-07 06:50 UTC, Sergey Torokhov
Details
emerge_info.txt (emerge_info.txt,6.88 KB, text/plain)
2023-01-07 06:50 UTC, Sergey Torokhov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Torokhov 2023-01-07 06:49:34 UTC
Try to update media-libs/mesa and got the error:
../mesa-22.2.5/src/gallium/targets/opencl/meson.build:62:2: ERROR: C++ shared or static library 'clangCodeGen' not found


[ebuild     U  ] media-libs/mesa-22.2.5::gentoo [22.2.3::gentoo] USE="X gles2 llvm opencl proprietary-codecs vulkan wayland zstd -d3d9 -debug -gles1 -lm-sensors -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan-overlay -xa -xvmc -zink" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" VIDEO_CARDS="radeon radeonsi -d3d12 (-freedreno) -intel (-lima) -nouveau (-panfrost) -r300 -r600 (-v3d) (-vc4) -virgl (-vivante) -vmware"

I Use AMD Radeon RX 550 (VIDEO_CARDS="amdgpu radeon radeonsi vesa fbdev") and there were no problem before with updating mesa.

Reproducible: Always
Comment 1 Sergey Torokhov 2023-01-07 06:50:11 UTC
Created attachment 847752 [details]
build.log
Comment 2 Sergey Torokhov 2023-01-07 06:50:47 UTC
Created attachment 847754 [details]
emerge_info.txt
Comment 3 Sergey Torokhov 2023-01-07 07:23:45 UTC
Disabling OpenCL support (USE="-opencl") for media-libs/mesa fixes the configuration problem for me and mesa built successfully.
Comment 4 Sergey Torokhov 2023-01-07 12:27:13 UTC
Update to recently stabilized sys-devel/llvm-15.0.6-r1 and sys-devel/clang-15.0.6-r1 fixes the build of media-libs/mesa-22.2.5[opencl] in my system.