When first attempting to compile this package, I ran into this: ``` ../mesa-9999/meson.build:841:12: ERROR: Dependency "libclc" not found, tried pkgconfig and cmake ``` This indicated a missing dependency on the `llvm-core/libclc` package, which I proceeded to install. After attempting to emerge once again, I ran into a new error: ``` ../mesa-9999/meson.build:1872:21: ERROR: Dependency "LLVMSPIRVLib" not found, tried pkgconfig and cmake ``` This library appears to be provided by `dev-util/spirv-llvm-translator`, but `libclc` pulls this library in as a dependency, so I'm unsure of why CMake wasn't able to find it.
Please provide the full build.log, emerge --info, meson-log.txt, and tell us if earlier Mesa works.
Created attachment 923886 [details] Build log for an attempt to emerge mesa-9999 with libclc installed Here is the build.log produced for a build attempt with libclc pre-installed before beginning the emerge. I assume a log for the build without libclc won't be necessary, as that's a simple case of a missing package dependency.
Created attachment 923887 [details] Output of `emerge --info mesa` with mesa-9999
Created attachment 923888 [details] Meson log for mesa-9999 emerge attempt
I don't have any issues compiling Mesa 25.0.3
https://gitlab.freedesktop.org/mesa/mesa/-/commit/feedd427b3d113965d49670c7be164bec8fc59e4 seems to be the cause, as you have `VIDEO_CARDS: nvk` set. Wild guess: enabling opencl will allow it to build for now.
FYI enabling the `opencl` USE flag didn't fix the compilation error. The same error as before appears