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
Thanks. Could you include the logs/pastes as attachments too please?
Created attachment 871867 [details] Emerge Info (meson 1.2.2)
Created attachment 871868 [details] Build Log (meson 1.2.2)
Maybe include meson-log.txt too from the build dir?
Created attachment 871869 [details] Meson Log (meson 1.2.2)
Comment on attachment 871868 [details] Build Log (meson 1.2.2) In the future, please do not use tar when compressing individual files.
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.
(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
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(+)