Compilation error for media-libs/mesa 22.1.7 occur after version bump up to sys-devel/llvm 15.0.0 In case to set USE='-llvm' for media-libs/mesa --> compilation going smooth without any error It is occur for use both - GCC and CLANG compilers. Reproducible: Always
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 :)