FS#79821 - [mesa] meson 1.2.2 causes FTBFS
Attached to Project:
Arch Linux
Opened by Lone_Wolf (Lone_Wolf) - Saturday, 30 September 2023, 10:42 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 04 October 2023, 20:33 GMT
Opened by Lone_Wolf (Lone_Wolf) - Saturday, 30 September 2023, 10:42 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 04 October 2023, 20:33 GMT
|
Details
building mesa trunk succeeds with mdeson 1.2.1 but fails
hard with 1.2.2 .
Not arch specfic, Fedora user reported it (before I encountered it) , see https://gitlab.freedesktop.org/mesa/mesa/-/issues/9908 . |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Wednesday, 04 October 2023, 20:33 GMT
Reason for closing: Fixed
Additional comments about closing: meson 1.2.2-2
Wednesday, 04 October 2023, 20:33 GMT
Reason for closing: Fixed
Additional comments about closing: meson 1.2.2-2
Edit:
The current mesa PKGBUILD also fails to build due to the same issue. Reverting [1] allows the build to succeed.
[1] https://github.com/mesonbuild/meson/commit/36210f64f22dc10d324db76bb1a7988c9cd5b14e
Reverting that commit does allow build of mesa-minimal-git to succeed with meson 1.2.2 .
Yes although it appears the meson change only uncovered an underlying issue in mesa's meson.build where by it is checking for supported options using the default compiler which for Arch would be gcc then passes those options to bindgen which passes them to clang which errors out on -mtls-dialect=gnu2.
Edit:
Work around the issue by disabling the test for mtls-dialect:
sed -i 's/not have_mtls_dialect/false/' meson.build