Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914989 - dev-util/meson-1.2.2: failure when building media-libs/mesa-23.2.1
Summary: dev-util/meson-1.2.2: failure when building media-libs/mesa-23.2.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-01 02:48 UTC by Kyle D.
Modified: 2023-10-03 16:14 UTC (History)
3 users (show)

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


Attachments
Emerge Info (emergeinfo,24.20 KB, text/plain)
2023-10-01 02:48 UTC, Kyle D.
Details
Emerge Info (meson 1.2.2) (emergeinfo.txt,24.42 KB, text/plain)
2023-10-01 03:00 UTC, Kyle D.
Details
Build Log (meson 1.2.2) (buildlog.log.tar.xz,234.14 KB, application/x-xz)
2023-10-01 03:02 UTC, Kyle D.
Details
Meson Log (meson 1.2.2) (meson-log.txt,255.92 KB, text/plain)
2023-10-01 03:14 UTC, Kyle D.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle D. 2023-10-01 02:48:01 UTC
Created attachment 871866 [details]
Emerge Info

meson 1.2.2 appears to fail to build mesa 23.2.1; Downgrading to meson 1.2.1-r2 resulted in a successful build instead.

Emerge Info: https://0x0.st/HVhx.txt
Build Log (with meson 1.2.2): https://0x0.st/HVhw.log
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-01 02:49:53 UTC
Thanks. Could you include the logs/pastes as attachments too please?
Comment 2 Kyle D. 2023-10-01 03:00:32 UTC
Created attachment 871867 [details]
Emerge Info (meson 1.2.2)
Comment 3 Kyle D. 2023-10-01 03:02:38 UTC
Created attachment 871868 [details]
Build Log (meson 1.2.2)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-01 03:09:33 UTC
Maybe include meson-log.txt too from the build dir?
Comment 5 Kyle D. 2023-10-01 03:14:38 UTC
Created attachment 871869 [details]
Meson Log (meson 1.2.2)
Comment 6 Mike Gilbert gentoo-dev 2023-10-01 19:41:18 UTC
Comment on attachment 871868 [details]
Build Log (meson 1.2.2)

In the future, please do not use tar when compressing individual files.
Comment 7 Eli Schwartz 2023-10-02 00:46:02 UTC
This appears to be a 1.2.2 regression that happened via https://github.com/mesonbuild/meson/issues/12065

Ironically, the bug report to meson asked that all FLAGS be passed to bindgen "to fix errors when failing to compile", but passing the flags is what broke bindgen: the logs posted here show that bindgen is erroring out on arguments it does not accept.
Comment 8 iba68 2023-10-03 09:59:52 UTC
(In reply to kzd from comment #0)
> Created attachment 871866 [details]
> Emerge Info
> 
> meson 1.2.2 appears to fail to build mesa 23.2.1; Downgrading to meson
> 1.2.1-r2 resulted in a successful build instead.
> 
> Emerge Info: https://0x0.st/HVhx.txt
> Build Log (with meson 1.2.2): https://0x0.st/HVhw.log

I can't agree with this
I'm also unable to build mesa 23.2.1 with meson 1.2.1-r2
I have also tried to build mesa 23.2.1 with meson 1.2.1-r1 also no success
 
For a successful build from mesa i had to downgrade to version mesa 23.1.8
Comment 9 Larry the Git Cow gentoo-dev 2023-10-03 16:14:03 UTC
The bug has been closed via the following commit(s):

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

commit c0ad7b00c772c71a74ec42be0bf594ee9198b71c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-03 16:13:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-03 16:13:51 +0000

    dev-util/meson: backport PEP632 py3.12 fixes, revert bindgen breakage
    
    * Backport PEP632 fixes for Python 3.12
    * Revert bindgen patch on 1.2.x branch which broke Mesa
    
    Closes: https://bugs.gentoo.org/914989
    Closes: https://bugs.gentoo.org/915014
    Closes: https://bugs.gentoo.org/911418
    Closes: https://bugs.gentoo.org/911990
    Closes: https://bugs.gentoo.org/912397
    Closes: https://bugs.gentoo.org/912437
    Closes: https://bugs.gentoo.org/912452
    Closes: https://bugs.gentoo.org/912282
    Signed-off-by: Sam James <sam@gentoo.org>

 ...ndency-ensure-that-setuptools-doesn-t-inj.patch |  39 ++++++
 ...le-stop-using-distutils-schemes-on-suffic.patch |  72 +++++++++++
 ...le-refactor-pypy-detection-into-a-consist.patch |  36 ++++++
 ...le-stop-using-distutils-link-to-libpython.patch |  72 +++++++++++
 ...est-case-to-not-import-distutils-on-pytho.patch |  31 +++++
 ...e-PyPI-metadata-as-supporting-python-3.12.patch |  25 ++++
 ...-apply-global-project-and-environment-C-a.patch | 141 +++++++++++++++++++++
 dev-util/meson/meson-1.2.2-r1.ebuild               | 122 ++++++++++++++++++
 8 files changed, 538 insertions(+)