| Summary: | media-libs/mesa: compilation error with sys-devel/llvm:15 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Oleksa <leo> |
| Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | leo |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Failed to emerge - log file
Emerge --info output |
||
|
Description
Oleksa
2022-09-08 10:17:59 UTC
Please attach full build.log and paste emerge --info. Afterwards, re-open. Created attachment 803902 [details]
Failed to emerge - log file
Created attachment 803905 [details]
Emerge --info output
I wonder how you enable llvm:15 when MAX_LLVM_SLOT="14". (In reply to Stephan Hartmann from comment #4) > I wonder how you enable llvm:15 when MAX_LLVM_SLOT="14". Mr. Hartmann, I did next trick: 1) I installed LLVM:15 in typical location as /usr/lib/llvm/15/ 2) Then I renamed existiong LLVM:14 to /usr/lib/llvm/_14_/ 3) Added in CFLAGS and CXXFLAGS -L/usr/lib/llvm/15/lib64 -L/usr/lib/llvm/15/lib 4) And finally: emerge -av llvm:15 Hrm, why this marked as INVALID?
I changed case:
A) Installed LLVM:15 in typical location as /usr/lib/llvm/15/
1) Then I have created local repo in /var/db/repos/leorepo/media-libs/mesa
2) copied file mesa-22.1.7.ebuild
3) edited it up to next:
LLVM_MAX_SLOT="15"
LLVM_DEPSTR="
|| (
sys-devel/llvm:15[${MULTILIB_USEDEP}]
sys-devel/llvm:14[${MULTILIB_USEDEP}]
)
<sys-devel/llvm-$((LLVM_MAX_SLOT + 1)):=[${MULTILIB_USEDEP}]
"
4) Created manifest: ebuild mesa-22.1.7.ebuild manifest
5) Ran >emerge -av media-libs/mesa
As result I got totally the same error! Please, see in logs attached
6) Ran >USE='-llvm' emerge -av media-libs/mesa
As result I got smooth compilation and working mesa package.
Please, investigate this bug. Thank You!
There's a reason the mesa ebuild doesn't claim support for llvm-15. See if you can guess why :) |