Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953382 - media-libs/mesa-9999: Unable to compile, multiple dependency-related errors
Summary: media-libs/mesa-9999: Unable to compile, multiple dependency-related errors
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-07 19:29 UTC by opensauce04
Modified: 2025-04-07 21:53 UTC (History)
1 user (show)

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


Attachments
Build log for an attempt to emerge mesa-9999 with libclc installed (build.log,17.33 KB, text/x-log)
2025-04-07 19:54 UTC, opensauce04
Details
Output of `emerge --info mesa` with mesa-9999 (emerge-info.txt,8.80 KB, text/plain)
2025-04-07 19:55 UTC, opensauce04
Details
Meson log for mesa-9999 emerge attempt (meson-log.txt,183.68 KB, text/plain)
2025-04-07 19:57 UTC, opensauce04
Details

Note You need to log in before you can comment on or make changes to this bug.
Description opensauce04 2025-04-07 19:29:48 UTC
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.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-07 19:46:57 UTC
Please provide the full build.log, emerge --info, meson-log.txt, and tell us if earlier Mesa works.
Comment 2 opensauce04 2025-04-07 19:54:27 UTC
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.
Comment 3 opensauce04 2025-04-07 19:55:32 UTC
Created attachment 923887 [details]
Output of `emerge --info mesa` with mesa-9999
Comment 4 opensauce04 2025-04-07 19:57:58 UTC
Created attachment 923888 [details]
Meson log for mesa-9999 emerge attempt
Comment 5 opensauce04 2025-04-07 19:59:16 UTC
I don't have any issues compiling Mesa 25.0.3
Comment 6 Paul Zander 2025-04-07 20:57:19 UTC
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.
Comment 7 opensauce04 2025-04-07 21:53:12 UTC
FYI enabling the `opencl` USE flag didn't fix the compilation error. The same error as before appears