Summary: | media-libs/mesa-23.2.0_rc4 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabio Coatti <fabio.coatti> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | leonchik1976 |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=907965 https://github.com/gentoo/gentoo/pull/33073 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Fabio Coatti
2023-09-26 12:37:24 UTC
Created attachment 871481 [details]
build.log
*** This bug has been marked as a duplicate of bug 907965 *** mesa ebuild needs slot 17 on llvm. Will not build on 15/16. I changed the slot to 17 and added a PR for it. I've linked related bug #907965 *** This bug has been marked as a duplicate of bug 907965 *** my bad on that one, sam's correct I've reviewed upstream tree, there's not been a dependency change. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90da97e78ade65753dfb2e0fb30ec9067c5aa766 commit 90da97e78ade65753dfb2e0fb30ec9067c5aa766 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-27 01:49:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-27 01:51:44 +0000 media-libs/mesa: fix LLVM detection Meson will prefer looking up LLVM via CMake to llvm-config and it's non-trivial to try coerce CMake into looking at the right thing, so we end up trying to use the wrong LLVM and exploding - fortunately just at configure time. Add a patch to force using llvm-config - which llvm.eclass controls the availability of - and avoid the CMake problem entirely. Of course, it'd be far better if LLVM just finally adopted pkg-config. Bug: https://bugs.gentoo.org/914632 Bug: https://bugs.gentoo.org/914742 Bug: https://bugs.gentoo.org/914775 Closes: https://bugs.gentoo.org/907965 Thanks-to: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-libs/mesa/files/clang_config_tool.patch | 13 +++++++++++++ media-libs/mesa/mesa-23.1.8.ebuild | 3 +++ media-libs/mesa/mesa-23.2.0_rc4.ebuild | 5 +++++ media-libs/mesa/mesa-9999.ebuild | 5 +++++ 4 files changed, 26 insertions(+) |