https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-mathematics/maxima-5.44.0 calls python directly (dev-lang/python-exec[-native-symlinks]). Discovered on: amd64 (internal ref: ci) NOTE: Please take a look at the tracker bug for more info.
Created attachment 683848 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Here's the upstream bug with a patch for this particular failure: https://sourceforge.net/p/maxima/bugs/3754/ There's also an un-autotooled script buried in the German language documentation with a similar problem, but it at least uses the value of $PYTHONBIN.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7b496428d9e3c307666e05aed3035c0ebb883d commit 9b7b496428d9e3c307666e05aed3035c0ebb883d Author: Andrey Grozin <grozin@gentoo.org> AuthorDate: 2021-03-25 13:55:42 +0000 Commit: Andrey Grozin <grozin@gentoo.org> CommitDate: 2021-03-25 13:55:42 +0000 sci-mathematics/maxima: don't hardcode python Suggested-by: Michael Orlitzky <mjo@gentoo.org> Closes: https://bugs.gentoo.org/766291 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrey Grozin <grozin@gentoo.org> sci-mathematics/maxima/files/python-0.patch | 38 +++++++++++++++++++++++++++++ sci-mathematics/maxima/maxima-5.44.0.ebuild | 4 +-- 2 files changed, 40 insertions(+), 2 deletions(-)
I should have said something last night... I'm working on this! Just adding the patch isn't enough because we need one of the python eclasses to set PYTHON appropriately. I fixed ECL, but I'm still trying to sort out the missing sci-libs/vtk dependency which also requires some python eclass interaction. I'll try to get everything committed by the end of the day.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=579ffa0836ee9943a212862eadb0b27638038316 commit 579ffa0836ee9943a212862eadb0b27638038316 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2021-03-25 02:47:14 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2021-03-25 14:35:27 +0000 sci-mathematics/maxima: don't hard-code the python interpreter. This is a two-parter to fix bug 766291, which has the build failing because it can't find "python". First, we patch the build system to use @PYTHON@ instead of "python" in the one place upstream missed it. Second, we add python-single-r1 to the ebuild so that we get $PYTHON set appropriately. Closes: https://bugs.gentoo.org/766291 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> .../maxima/files/dont-hardcode-python.patch | 38 ++++++++++++++++++++++ ...ma-5.44.0-r1.ebuild => maxima-5.44.0-r2.ebuild} | 21 +++++++++--- 2 files changed, 55 insertions(+), 4 deletions(-)
I pushed the first two commits in the series to avoid more collisions. I'm working on the missing vtk dependency next but it looks like sci-libs/vtk is a shitshow.