Created attachment 860984 [details, diff] 0001-distutils-r1.eclass-ensure-meson-python-uses-a-stabl.patch (needs tweaking for dir though) See https://bugs.gentoo.org/905396#c4 and: [06:51:19] <@sam_> mgorny, ztrawhcse: http://sprunge.us/YD7KGa works for me (s/BUILD_DIR/WHEEL_BUILD_DIR/) (easy tester is to try emerge scipy[fortran] w/ meson-python installed but not pythran). but i don't think we want to do WHEEL_BUILD_DIR, so I guess our choices are WHEEL_BUILD_DIR/.. or export BUILD_DIR as well. i prefer the latter [06:51:29] <@sam_> anyway please push it once you decide what you prefer
commit 96e7f21a53c92eb4a5c4077267bb1bf1ee8accfd Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2023-05-01 06:16:57 +0200 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-02 21:11:08 +0200 distutils-r1.eclass: ensure meson-python uses a stable build directory When not passing an explicit build directory, meson-python configures meson into a build directory that is rooted in a tempdir with a random suffix. This results in unstable paths, which currently disappear after meson-python completes (either with success or failure). It doesn't handle incremental or resumed builds, and it's very difficult to debug -- for example by inspecting the logfile that meson itself prints out when the configure stage fails. Bug: https://bugs.gentoo.org/905396 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>