Created attachment 561936 [details] build.log games-util/xboxdrv assumes that Scons is executed by Python 3 while in fact Scons is executed by Python 2.7: scons: *** [src/xboxdrv_vfs.hpp] AttributeError : type object 'str' has no attribute 'maketrans' Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/SCons/Action.py", line 1197, in execute result = self.execfunction(target=target, source=rsources, env=env) File "/var/tmp/portage/games-util/xboxdrv-0.8.8_p20190116/work/xboxdrv-0c0143b59b0fd9718af4968992c96b6b6b2a2557/SConstruct", line 47, in build_bin2h fout.write("const char %s[] = {" % c_escape(src.get_path())) File "/var/tmp/portage/games-util/xboxdrv-0.8.8_p20190116/work/xboxdrv-0c0143b59b0fd9718af4968992c96b6b6b2a2557/SConstruct", line 32, in c_escape return str.translate(bytes.maketrans(b"/.-", b"___")) AttributeError: type object 'str' has no attribute 'maketrans' scons: building terminated because of errors. The failure is in /var/tmp/portage/games-util/xboxdrv-0.8.8_p20190116/.../SConstruct" at line 32
*** Bug 675782 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=900515f23f4d28575159f549334121ec3bde2bb8 commit 900515f23f4d28575159f549334121ec3bde2bb8 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2019-01-18 21:59:38 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2019-01-18 21:59:38 +0000 games-util/xboxdrv: Bump to fix SCons under Python 2 I didn't realise that the patch to fix Python 3 had broken 2. Closes: https://bugs.gentoo.org/675766 Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: James Le Cuirot <chewi@gentoo.org> games-util/xboxdrv/Manifest | 2 +- .../{xboxdrv-0.8.8_p20190116.ebuild => xboxdrv-0.8.8_p20190118.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)