Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776601 - games-util/xboxdrv-0.8.8_p20190118: Installing binary package doesn't work
Summary: games-util/xboxdrv-0.8.8_p20190118: Installing binary package doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 878481 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-16 03:41 UTC by Luke-Jr
Modified: 2022-10-30 02:14 UTC (History)
2 users (show)

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


Attachments
build log (build.log,1.59 KB, text/x-log)
2021-03-16 03:41 UTC, Luke-Jr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2021-03-16 03:41:05 UTC
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")
Comment 1 Joonas Niilola gentoo-dev 2021-03-16 05:47:35 UTC
Is your /etc/python-exec/python-exec.conf fine in the "slower" amd64? What does 'eselect python list' say?
Comment 2 Luke-Jr 2021-03-16 14:42:50 UTC
(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)
Comment 3 Joonas Niilola gentoo-dev 2021-03-17 14:40:17 UTC
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.
Comment 4 Luke-Jr 2021-03-17 16:56:50 UTC
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?
Comment 5 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-10-30 02:07:01 UTC
*** Bug 878481 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2022-10-30 02:14:04 UTC
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(+)