Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924432 - =media-libs/mesa-9999 fails to config with: ../mesa-9999/meson.build:21:0: ERROR: Value "disabled" (of type "string") for combo option "Build the intel-clc compiler or use a system version." is not one of the choices. Possible choices are (as string): "en
Summary: =media-libs/mesa-9999 fails to config with: ../mesa-9999/meson.build:21:0: ER...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-13 16:51 UTC by tt_1
Modified: 2024-02-14 06:03 UTC (History)
2 users (show)

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


Attachments
build log (mesa-build.log,6.10 KB, text/x-log)
2024-02-13 16:51 UTC, tt_1
Details
meson log (meson.log,1.56 KB, text/x-log)
2024-02-13 16:52 UTC, tt_1
Details
output from emerge --info (emerge-info,5.56 KB, text/plain)
2024-02-13 16:57 UTC, tt_1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2024-02-13 16:51:26 UTC
Created attachment 884870 [details]
build log

just checking the latest mesa dev code: 

>>> Configuring source in /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
meson setup --libdir lib --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/media-libs/mesa-9999/temp/python3.11/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/media-libs/mesa-9999/temp/python3.11/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/media-libs/mesa-9999/temp/meson.x86_64-gentoo-linux-musl.amd64.ini -Db_pch=false -Dwerror=false -Db_lto=false --buildtype plain -Dplatforms=x11 -Dgallium-nine=false -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dgallium-xa=disabled -Dvulkan-layers= -Dintel-clc=disabled -Degl=enabled -Dgbm=enabled -Dglvnd=true -Dglx=dri -Dbuild-tests=false -Dshared-glapi=enabled -Ddri3=enabled -Dexpat=enabled -Dopengl=true -Dgles1=disabled -Dgles2=enabled -Dllvm=enabled -Dlmsensors=disabled -Dosmesa=false -Dselinux=false -Dlibunwind=disabled -Dzstd=enabled -Dsse2=true -Dvalgrind=disabled -Dvideo-codecs=all -Dgallium-drivers=crocus,i915,iris,nouveau,r300,r600,radeonsi,swrast -Dvulkan-drivers= --buildtype plain -Db_ndebug=true /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999 /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999-abi_x86_64.amd64
The Meson build system
Version: 1.3.0
Source dir: /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999
Build dir: /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999-abi_x86_64.amd64
Build type: native build

../mesa-9999/meson.build:21:0: ERROR: Value "disabled" (of type "string") for combo option "Build the intel-clc compiler or use a system version." is not one of the choices. Possible choices are (as string): "enabled", "system", "auto".

A full log can be found at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999-abi_x86_64.amd64/meson-logs/meson-log.txt

will attach full build log, meson log and emerge --info
Comment 1 tt_1 2024-02-13 16:52:29 UTC
Created attachment 884871 [details]
meson log
Comment 2 tt_1 2024-02-13 16:57:10 UTC
Created attachment 884872 [details]
output from emerge --info
Comment 3 Blake Batson 2024-02-13 19:15:58 UTC
"disabled" needs to be changed to "auto" as of this MR in mesa: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27593
Comment 4 tt_1 2024-02-13 19:19:14 UTC
forgotten to provide emerge -pv mesa:

[ebuild   R   *] media-libs/mesa-9999::gentoo  USE="X gles2 llvm (opengl) proprietary-codecs zstd -d3d9 -debug -gles1 -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan -vulkan-overlay -wayland -xa (-zink)" CPU_FLAGS_X86="sse2" LLVM_SLOT="17 -15 -16" VIDEO_CARDS="intel nouveau radeon radeonsi -d3d12 (-freedreno) -lavapipe (-lima) (-panfrost) -r300 -r600 (-v3d) (-vc4) -virgl (-vivante) -vmware" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 5 tt_1 2024-02-13 19:25:17 UTC
(In reply to Blake Batson from comment #3)
> "disabled" needs to be changed to "auto" as of this MR in mesa:
> https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27593

that is correct in itself, but it will search for libclc if you reconfig the ebuild to "auto", and this will pull in all of dev-libs/libclc 

I can't see how to avoid that per my useflags
Comment 6 Blake Batson 2024-02-13 19:31:04 UTC
(In reply to tt_1 from comment #5)
> (In reply to Blake Batson from comment #3)
> > "disabled" needs to be changed to "auto" as of this MR in mesa:
> > https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27593
> 
> that is correct in itself, but it will search for libclc if you reconfig the
> ebuild to "auto", and this will pull in all of dev-libs/libclc 
> 
> I can't see how to avoid that per my useflags

I just finished building having only radeonsi enabled without intel-clc installed. AFAICT it should only be required if you are building for intel in which case intel-clc should already be pulled in.
Comment 7 Matt Turner gentoo-dev 2024-02-14 03:55:08 UTC
Presumably I fixed this already?

It's really not necessary to file bugs about -9999 build failures minutes after some change lands upstream. It's actually kind of annoying...
Comment 8 tt_1 2024-02-14 06:03:37 UTC
well, what a coincedence

let me assure you, I did check out the mesa github mirror and nothing did show up there, seems to be out of sync really. 

also, why do you think this is in any way urgent? mesa is a very complex package with millions of possible useflag combinations, it seems impossible to have all of them tested and therefore I'm doing that on my local tinderbox about once a week. 

my workaround from yesterday was to remove intel from VIDEO_CARDS, if I reenable it with the recent changes from this night this gets pulled in: 

[ebuild   R   ~] x11-libs/libdrm-2.4.120::gentoo  USE="-test -tools -udev -valgrind" VIDEO_CARDS="amdgpu intel* nouveau radeon (-exynos) (-freedreno) (-omap) (-tegra) (-vc4) (-vivante) -vmware" 0 KiB
[ebuild  N    ~] dev-util/spirv-headers-1.3.275::gentoo  456 KiB
[ebuild  N    ~] dev-util/spirv-tools-1.3.275::gentoo  3080 KiB
[ebuild  N    ~] dev-util/spirv-llvm-translator-17.0.0-r2:17::gentoo  USE="-test" 1564 KiB
[ebuild  N     ] dev-libs/libclc-17.0.6::gentoo  USE="spirv -verify-sig" VIDEO_CARDS="radeonsi (-nvidia) -r600" 0 KiB
[ebuild  N    *] dev-util/intel_clc-9999::gentoo  USE="-debug" LLVM_SLOT="17 -16" 0 KiB
[ebuild   R   *] media-libs/mesa-9999::gentoo  USE="X gles2 llvm (opengl) zstd -d3d9 -debug -gles1 -lm-sensors -opencl -osmesa -proprietary-codecs (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan -vulkan-overlay -wayland -xa (-zink)" CPU_FLAGS_X86="sse2" LLVM_SLOT="17 -15 -16" VIDEO_CARDS="intel* nouveau radeon radeonsi -d3d12 (-freedreno) -lavapipe (-lima) (-panfrost) -r300 -r600 (-v3d) (-vc4) -virgl (-vivante) -vmware" 0 KiB


hope its correct and all problems are solved?