Summary: | media-libs/mesa-23.2.0_rc3 - [slibtool] ../.../meson.build: ERROR: Dependency lookup for LLVMSPIRVLib with method pkgconfig failed: Invalid version, need LLVMSPI | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | drmccoy, eschwartz, gentoo-bugzilla-r64zg3Goy, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/mesonbuild/meson/pull/12286 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz media-libs:mesa-23.2.0_rc3:20230923-171434.log temp.tar.xz |
Description
Toralf Förster
2023-09-23 17:56:55 UTC
Created attachment 871201 [details]
emerge-info.txt
Created attachment 871202 [details]
emerge-history.txt
Created attachment 871203 [details]
environment
Created attachment 871204 [details]
etc.clang.tar.xz
Created attachment 871205 [details]
etc.portage.tar.xz
Created attachment 871206 [details]
logs.tar.xz
Created attachment 871207 [details]
media-libs:mesa-23.2.0_rc3:20230923-171434.log
Created attachment 871208 [details]
temp.tar.xz
Meson fails to find LLVM 17, instead it finds 16 but also an LLVMSPIRVLib from 17. Mesa is strict here and wants an LLVMSPIRVLib that matches the major version of LLVM itself, hence the computed upper version bounds which fails here. The real question is why doesn't meson detect LLVM 17? Answer: you will need this upstream meson change which was merged to git master today: https://github.com/mesonbuild/meson/pull/12286 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f439c2e9964de598ac976e41dc68924b338bc5 commit 41f439c2e9964de598ac976e41dc68924b338bc5 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-24 04:12:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-24 04:13:35 +0000 dev-util/meson: backport LLVM 17 fixes 1.2.2 is hopefully coming Real Soon Now but Eli already pointed out precisely which PR it is and meson "rebuilds" are extremely cheap so there's no real reason to not throw it in now. Closes: https://bugs.gentoo.org/914576 Signed-off-by: Sam James <sam@gentoo.org> dev-util/meson/files/meson-1.2.1-llvm-17.patch | 41 +++++++++ dev-util/meson/meson-1.2.1-r2.ebuild | 122 +++++++++++++++++++++++++ 2 files changed, 163 insertions(+) |