Created attachment 691647 [details] build log I successfully built a binary package on my faster amd64 system, for games-util/xboxdrv-0.8.8_p20190118. However, when I attempt to install that binpkg on my slower amd64 system, it fails, apparently wanting to use python2.7 despite having been built with python3.7. /var/tmp/portage/games-util/xboxdrv-0.8.8_p20190118/temp/environment on the target system after failure includes: declare -x EPYTHON="python3.7" declare -x PYTHON="/usr/bin/python3.7" declare -a PYTHON_COMPAT=([0]="python3_7" [1]="python3_8" [2]="python3_9")
Is your /etc/python-exec/python-exec.conf fine in the "slower" amd64? What does 'eselect python list' say?
(In reply to Joonas Niilola from comment #1) > Is your /etc/python-exec/python-exec.conf fine in the "slower" amd64? What > does 'eselect python list' say? Skipping the comments in python-exec.conf: python3.7 python3.6 # eselect python list Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python3.9 (fallback) [4] python3.8 (fallback) [5] python2.7 (fallback)
So there's some python cleanup missing, I guess this is the problem? I don't remember the exact command, maybe eselect python cleanup. I think it's something in your system rather than the binpkg, but I'm not too familiar with binpkg's either. Maybe you can build it with --usepkg=n as it's a rather light package to build.
Looks like the problem is dev-util/scons not being installed during pkg_setup. I guess it either needs a depend added, or the eclass needs to be fixed to not require scons for binpkgs?
*** Bug 878481 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=870a4b01fffabeb3985f9b9af3b55facd1d4f780 commit 870a4b01fffabeb3985f9b9af3b55facd1d4f780 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2022-10-30 02:07:36 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2022-10-30 02:12:30 +0000 games-util/xboxdrv: fix binpkg installation, udev_reload, add python3_11 Closes: https://bugs.gentoo.org/776601 Closes: https://bugs.gentoo.org/859325 Signed-off-by: John Helmert III <ajak@gentoo.org> .../xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild | 83 ++++++++++++++++++++++ 1 file changed, 83 insertions(+)