Created attachment 520824 [details] emerge --info dev-lua/toluapp requires dev-util/scons-3.0.0 to be compiled with python-2.7 otherwise it will fail to compile with following error >>> Emerging (1 of 1) dev-lua/toluapp-1.0.93::gentoo * tolua++-1.0.93.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking tolua++-1.0.93.tar.bz2 to /tmp/portage/dev-lua/toluapp-1.0.93/work >>> Source unpacked in /tmp/portage/dev-lua/toluapp-1.0.93/work >>> Preparing source in /tmp/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93 ... >>> Source prepared. >>> Configuring source in /tmp/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93 ... >>> Source configured. >>> Compiling source in /tmp/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93 ... scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead. File "/tmp/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93/SConstruct", line 19, in <module> ********* tolua is bin/tolua++_bootstrap AttributeError: '_io.TextIOWrapper' object has no attribute 'xreadlines': File "/tmp/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93/SConstruct", line 160: SConscript('src/bin/SCsub') File "/usr/local/lib64/python3.6/site-packages/SCons/Script/SConscript.py", line 607: return method(*args, **kw) File "/usr/local/lib64/python3.6/site-packages/SCons/Script/SConscript.py", line 544: return _SConscript(self.fs, *files, **subst_kw) File "/usr/local/lib64/python3.6/site-packages/SCons/Script/SConscript.py", line 253: call_stack[-1].globals) File "/tmp/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93/src/bin/SCsub", line 8: toluabind = env.LuaBinding('toluabind.c', 'tolua_scons.pkg', 'tolua', bootstrap = True) File "/tmp/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93/SConstruct", line 115: self.pkg_scan_dep(target, psource) File "/tmp/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93/SConstruct", line 68: for linea in pkg.xreadlines(): * ERROR: dev-lua/toluapp-1.0.93::gentoo failed (compile phase): * scons failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 786: Called die * The specific snippet of code: * scons CC="$(tc-getCC)" CCFLAGS="${CFLAGS} -ansi -Wall" CXX="$(tc-getCXX)" LINK="$(tc-getCC)" LINKFLAGS="${LDFLAGS}" shared=1 || die "scons failed" * * If you need support, post the output of `emerge --info '=dev-lua/toluapp-1.0.93::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lua/toluapp-1.0.93::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lua:toluapp-1.0.93:20180224-045140.log'. * For convenience, a symlink to the build log is located at '/tmp/portage/dev-lua/toluapp-1.0.93/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-lua/toluapp-1.0.93/temp/environment'. * Working directory: '/tmp/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93' * S: '/tmp/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef56c689570380dc0808b4c7e21195b759b10155 commit ef56c689570380dc0808b4c7e21195b759b10155 Author: David Seifert <soap@gentoo.org> AuthorDate: 2019-05-15 09:28:38 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2019-05-15 09:28:38 +0000 dev-lua/toluapp: Use CMake for building Closes: https://bugs.gentoo.org/399201 Closes: https://bugs.gentoo.org/590944 Closes: https://bugs.gentoo.org/648656 Closes: https://bugs.gentoo.org/679706 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: David Seifert <soap@gentoo.org> dev-lua/toluapp/Manifest | 1 + .../toluapp-1.0.93_p20190513-fix-multilib.patch | 37 ++ .../files/toluapp-1.0.93_p20190513-lua5.3.patch | 534 +++++++++++++++++++++ dev-lua/toluapp/toluapp-1.0.93_p20190513.ebuild | 29 ++ 4 files changed, 601 insertions(+)