Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900503 - media-libs/mesa-23.0.0 fails to compile (CLANG-17-SYSTEM): meson.build:1892:8: ERROR: Problem encountered: LLVM was built with RTTI, cannot build Mesa with RTTI disabled Remove cpp_rtti disable switch or use LLVM built without LLVM_ENABLE_RTTI
Summary: media-libs/mesa-23.0.0 fails to compile (CLANG-17-SYSTEM): meson.build:1892:8...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-09 08:38 UTC by Agostino Sarubbo
Modified: 2023-03-11 16:26 UTC (History)
0 users

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


Attachments
build.log (build.log,81.75 KB, text/plain)
2023-03-09 08:38 UTC, Agostino Sarubbo
Details
1-meson-log.txt (1-meson-log.txt,167.01 KB, text/plain)
2023-03-09 08:38 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-09 08:38:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/mesa-23.0.0 fails to compile (CLANG-17-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(CLANG-17-SYSTEM) in the summary means that the bug was found on a machine that runs clang-17 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-09 08:38:53 UTC
Created attachment 856913 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-09 08:38:55 UTC
Created attachment 856915 [details]
1-meson-log.txt

1-meson-log.txt
Comment 3 Agostino Sarubbo gentoo-dev 2023-03-09 08:38:55 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


../mesa-23.0.0/meson.build:1892:8: ERROR: Problem encountered: LLVM was built with RTTI, cannot build Mesa with RTTI disabled. Remove cpp_rtti disable switch or use LLVM built without LLVM_ENABLE_RTTI.
Library ws2_32 found: NO
Run-time dependency libomxil-bellagio found: NO (tried pkgconfig and cmake)
Run-time dependency libtizonia found: NO (tried pkgconfig and cmake)
Run-time dependency libtizplatform found: NO (tried pkgconfig and cmake)
Run-time dependency tizilheaders found: NO (tried pkgconfig and cmake)
Comment 4 Larry the Git Cow gentoo-dev 2023-03-11 16:26:57 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(-)