Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884193 - media-libs/mesa-22.3.0 - ../.../meson.build: ERROR: Problem encountered: The OpenCL Clover state tracker requires LLVM, but LLVM i
Summary: media-libs/mesa-22.3.0 - ../.../meson.build: ERROR: Problem encountered: The ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 887469 893088 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-12-03 17:30 UTC by Toralf Förster
Modified: 2023-03-11 16:26 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.62 KB, text/plain)
2022-12-03 17:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,23.64 KB, text/plain)
2022-12-03 17:30 UTC, Toralf Förster
Details
environment (environment,169.78 KB, text/plain)
2022-12-03 17:30 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,696 bytes, application/x-bzip)
2022-12-03 17:30 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,44.53 KB, application/x-bzip)
2022-12-03 17:30 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,240.02 KB, application/x-bzip)
2022-12-03 17:30 UTC, Toralf Förster
Details
media-libs:mesa-22.3.0:20221203-165839.log (media-libs:mesa-22.3.0:20221203-165839.log,11.48 KB, text/plain)
2022-12-03 17:30 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.71 KB, application/x-bzip)
2022-12-03 17:30 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-12-03 17:30:12 UTC
Library m found: YES
Run-time dependency libdrm found: YES 2.4.114
Run-time dependency libudev found: YES 251

../mesa-22.3.0/meson.build:1853:2: ERROR: Problem encountered: The OpenCL "Clover" state tracker requires LLVM, but LLVM is disabled.

A full log can be found at /var/tmp/portage/media-libs/mesa-22.3.0/work/mesa-22.3.0-abi_x86_64.amd64/meson-logs/meson-log.txt

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20221203-110003

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.65.0 *
php cli (if any):

  HEAD of ::gentoo
commit 5f10ee852b170f9fa60ab14ed1b7a7c9a02a49d3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 3 10:46:49 2022 +0000

    2022-12-03 10:46:48 UTC

emerge -qpvO media-libs/mesa
[ebuild  N    ] media-libs/mesa-22.3.0  USE="X gles1 gles2 lm-sensors opencl osmesa zstd -d3d9 -debug -llvm -proprietary-codecs (-selinux) -test -unwind -vaapi (-valgrind) -vdpau -vulkan -vulkan-overlay -wayland -xa -zink" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" VIDEO_CARDS="-d3d12 (-freedreno) -intel (-lima) -nouveau (-panfrost) -r300 -r600 -radeon -radeonsi (-v3d) (-vc4) -virgl (-vivante) -vmware"
Comment 1 Toralf Förster gentoo-dev 2022-12-03 17:30:13 UTC
Created attachment 839489 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-03 17:30:14 UTC
Created attachment 839491 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-12-03 17:30:16 UTC
Created attachment 839493 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-03 17:30:17 UTC
Created attachment 839495 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-03 17:30:18 UTC
Created attachment 839497 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-03 17:30:19 UTC
Created attachment 839499 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-03 17:30:20 UTC
Created attachment 839501 [details]
media-libs:mesa-22.3.0:20221203-165839.log
Comment 8 Toralf Förster gentoo-dev 2022-12-03 17:30:21 UTC
Created attachment 839503 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-08 17:01:19 UTC Comment hidden (obsolete)
Comment 10 Alexander Puchmayr 2023-01-06 13:53:18 UTC
Just encountered the same problem here. Error message looks very similar to the one from the original reporter.

It is marked as fixed -- How was it fixed?
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-07 06:55:06 UTC
*** Bug 887469 has been marked as a duplicate of this bug. ***
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-03 12:11:53 UTC
(In reply to Alexander Puchmayr from comment #10)
> Just encountered the same problem here. Error message looks very similar to
> the one from the original reporter.
> 
> It is marked as fixed -- How was it fixed?

It was immediately reopened after because it was the wrong bug. It remains open.
Comment 13 Toralf Förster gentoo-dev 2023-02-26 13:59:39 UTC
run into this today at 17.1_desktop_plasma-j5-20230225-202556 again
Comment 14 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 04:26:30 UTC
*** Bug 893088 has been marked as a duplicate of this bug. ***
Comment 15 Larry the Git Cow gentoo-dev 2023-02-28 04:28:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83512a50b63d87b23cc1d47eb5392b4f5e15729e

commit 83512a50b63d87b23cc1d47eb5392b4f5e15729e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-02-28 04:28:10 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-02-28 04:28:35 +0000

    sys-devel/clang: Reenable EH/RTTI in *.9999
    
    This will also be the part of the next 16.x RC and 17.x snapshot.
    
    Bug: https://bugs.gentoo.org/884193
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-devel/clang/clang-16.0.0.9999.ebuild | 4 ++++
 sys-devel/clang/clang-17.0.0.9999.ebuild | 4 ++++
 2 files changed, 8 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb2c9f6643f2d7938630d59825842eef7cc65da

commit 1bb2c9f6643f2d7938630d59825842eef7cc65da
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-02-28 04:27:14 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-02-28 04:28:35 +0000

    sys-devel/llvm: Reenable EH/RTTI in *.9999
    
    This will also be the part of the next 16.x RC and 17.x snapshot.
    
    Bug: https://bugs.gentoo.org/884193
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-devel/llvm/llvm-16.0.0.9999.ebuild | 2 ++
 sys-devel/llvm/llvm-17.0.0.9999.ebuild | 2 ++
 2 files changed, 4 insertions(+)
Comment 16 Peter Levine 2023-03-05 08:10:56 UTC
Even after building the latest llvm-16.0.0.9999 and clang-16.0.0.9999, I needed to set MYMESONARGS="-Dcpp_rtti=true" to get mesa to build.
Comment 17 Larry the Git Cow gentoo-dev 2023-03-11 16:26:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=071d73daaac2c98d29b98cc4d240fdd11e8fcb91

commit 071d73daaac2c98d29b98cc4d240fdd11e8fcb91
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-03-11 16:23:45 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-03-11 16:26:53 +0000

    media-libs/mesa: Reenable RTTI for LLVM 16+
    
    It turned out that disabling RTTI to match upstream defaults causes
    more breakage, so we're returning to the previous state of enabling it
    in Gentoo.
    
    Closes: https://bugs.gentoo.org/900503
    Closes: https://bugs.gentoo.org/884193
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 media-libs/mesa/mesa-22.3.2.ebuild     | 9 ---------
 media-libs/mesa/mesa-22.3.3.ebuild     | 9 ---------
 media-libs/mesa/mesa-22.3.5.ebuild     | 9 ---------
 media-libs/mesa/mesa-22.3.6.ebuild     | 9 ---------
 media-libs/mesa/mesa-22.3.7-r1.ebuild  | 9 ---------
 media-libs/mesa/mesa-23.0.0-r1.ebuild  | 9 ---------
 media-libs/mesa/mesa-23.0.0_rc3.ebuild | 9 ---------
 media-libs/mesa/mesa-23.0.0_rc4.ebuild | 9 ---------
 media-libs/mesa/mesa-9999.ebuild       | 9 ---------
 9 files changed, 81 deletions(-)