* Package: games-util/xboxdrv-0.8.8_p20190118 * Repository: gentoo * Maintainer: juippis@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.13.7-gentoo-dist * Checking for suitable kernel configuration options... * CONFIG_JOYSTICK_XPAD: should not be set. But it is. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. * Using python3.9 to build >>> Unpacking source... >>> Unpacking xboxdrv-0.8.8_p20190118.tar.gz to /var/tmp/portage/games-util/xboxdrv-0.8.8_p20190118/work >>> Source unpacked in /var/tmp/portage/games-util/xboxdrv-0.8.8_p20190118/work >>> Preparing source in /var/tmp/portage/games-util/xboxdrv-0.8.8_p20190118/work/xboxdrv-6e5e8a57628095d8d0c8bbb38187afb0f3a42112 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-util/xboxdrv-0.8.8_p20190118/work/xboxdrv-6e5e8a57628095d8d0c8bbb38187afb0f3a42112 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-util/xboxdrv-0.8.8_p20190118/work/xboxdrv-6e5e8a57628095d8d0c8bbb38187afb0f3a42112 ... scons -j3 BUILD=custom CXX=x86_64-pc-linux-gnu-g++ AR=x86_64-pc-linux-gnu-ar RANLIB=x86_64-pc-linux-gnu-ranlib CXXFLAGS=-Wall -pipe -march=native -fno-diagnostics-color -O2 LINKFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 scons: Reading SConscript files ... Checking for C++ library X11... yes scons: done reading SConscript files. scons: Building targets ... x86_64-pc-linux-gnu-g++ -o src/main/main.o -c -Wall -pipe -march=native -fno-diagnostics-color -O2 -isystem/usr/include/dbus-1.0 -isystem/usr/lib64/dbus-1.0/include -isystem/usr/lib64/libffi/include -isystem/usr/include/glib-2.0 -isystem/usr/lib64/glib-2.0/include -pthread -isystem/usr/include/libusb-1.0 -DPACKAGE_VERSION='"0.8.8.20190118-gentoo"' -Isrc src/main/main.cpp x86_64-pc-linux-gnu-g++ -o src/arg_parser.o -c -Wall -pipe -march=native -fno-diagnostics-color -O2 -isystem/usr/include/dbus-1.0 -isystem/usr/lib64/dbus-1.0/include -isystem/usr/lib64/libffi/include -isystem/usr/include/glib-2.0 -isystem/usr/lib64/glib-2.0/include -pthread -isystem/usr/include/libusb-1.0 -DPACKAGE_VERSION='"0.8.8.20190118-gentoo"' -Isrc src/arg_parser.cpp x86_64-pc-linux-gnu-g++ -o src/axis_event.o -c -Wall -pipe -march=native -fno-diagnostics-color -O2 -isystem/usr/include/dbus-1.0 -isystem/usr/lib64/dbus-1.0/include -isystem/usr/lib64/libffi/include -isystem/usr/include/glib-2.0 -isystem/usr/lib64/glib-2.0/include -pthread -isystem/usr/include/libusb-1.0 -DPACKAGE_VERSION='"0.8.8.20190118-gentoo"' -Isrc src/axis_event.cpp x86_64-pc-linux-gnu-g++ -o src/axis_filter.o -c -Wall -pipe -march=native -fno-diagnostics-color -O2 -isystem/usr/include/dbus-1.0 -isystem/usr/lib64/dbus-1.0/include -isystem/usr/lib64/libffi/include -isystem/usr/include/glib-2.0 -isystem/usr/lib64/glib-2.0/include -pthread -isystem/usr/include/libusb-1.0 -DPACKAGE_VERSION='"0.8.8.20190118-gentoo"' -Isrc src/axis_filter.cpp x86_64-pc-linux-gnu-g++ -o src/axis_map.o -c -Wall -pipe -march=native -fno-diagnostics-color -O2 -isystem/usr/include/dbus-1.0 -isystem/usr/lib64/dbus-1.0/include -isystem/usr/lib64/libffi/include -isystem/usr/include/glib-2.0 -isystem/usr/lib64/glib-2.0/include -pthread -isystem/usr/include/libusb-1.0 -DPACKAGE_VERSION='"0.8.8.20190118-gentoo"' -Isrc src/axis_map.cpp x86_64-pc-linux-gnu-g++ -o src/button_event.o -c -Wall -pipe -march=native -fno-diagnostics-color -O2 -isystem/usr/include/dbus-1.0 -isystem/usr/lib64/dbus-1.0/include -isystem/usr/lib64/libffi/include -isystem/usr/include/glib-2.0 -isystem/usr/lib64/glib-2.0/include -pthread -isystem/usr/include/libusb-1.0 -DPACKAGE_VERSION='"0.8.8.20190118-gentoo"' -Isrc src/button_event.cpp x86_64-pc-linux-gnu-g++ -o src/button_filter.o -c -Wall -pipe -march=native -fno-diagnostics-color -O2 -isystem/usr/include/dbus-1.0 -isystem/usr/lib64/dbus-1.0/include -isystem/usr/lib64/libffi/include -isystem/usr/include/glib-2.0 -isystem/usr/lib64/glib-2.0/include -pthread -isystem/usr/include/libusb-1.0 -DPACKAGE_VERSION='"0.8.8.20190118-gentoo"' -Isrc src/button_filter.cpp x86_64-pc-linux-gnu-g++ -o src/button_map.o -c -Wall -pipe -march=native -fno-diagnostics-color -O2 -isystem/usr/include/dbus-1.0 -isystem/usr/lib64/dbus-1.0/include -isystem/usr/lib64/libffi/include -isystem/usr/include/glib-2.0 -isystem/usr/lib64/glib-2.0/include -pthread -isystem/usr/include/libusb-1.0 -DPACKAGE_VERSION='"0.8.8.20190118-gentoo"' -Isrc src/button_map.cpp x86_64-pc-linux-gnu-g++ -o src/chatpad.o -c -Wall -pipe -march=native -fno-diagnostics-color -O2 -isystem/usr/include/dbus-1.0 -isystem/usr/lib64/dbus-1.0/include -isystem/usr/lib64/libffi/include -isystem/usr/include/glib-2.0 -isystem/usr/lib64/glib-2.0/include -pthread -isystem/usr/include/libusb-1.0 -DPACKAGE_VERSION='"0.8.8.20190118-gentoo"' -Isrc src/chatpad.cpp build_bin2h(["src/xboxdrv_vfs.hpp"], ["examples/mouse.xboxdrv", "examples/xpad-wireless.xboxdrv"]) [] [, ] scons: *** [src/xboxdrv_vfs.hpp] AttributeError : 'SConsEnvironment' object has no attribute 'has_key' Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/SCons/Action.py", line 1279, in execute result = self.execfunction(target=target, source=rsources, env=env) File "/var/tmp/portage/games-util/xboxdrv-0.8.8_p20190118/work/xboxdrv-6e5e8a57628095d8d0c8bbb38187afb0f3a42112/SConstruct", line 41, in build_bin2h if env.has_key("BIN2H_NAMESPACE"): File "/usr/lib/python3.9/site-packages/SCons/Environment.py", line 2384, in __getattr__ attr = getattr(self.__dict__['__subject'], name) AttributeError: 'SConsEnvironment' object has no attribute 'has_key' In file included from src/chatpad.cpp:19: src/chatpad.hpp:158:8: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr m_uinput; | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/memory:76, from src/chatpad.hpp:24, from src/chatpad.cpp:19: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ scons: building terminated because of errors. * ERROR: games-util/xboxdrv-0.8.8_p20190118::gentoo failed (compile phase): * escons failed. * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 2830: Called escons 'BUILD=custom' 'CXX=x86_64-pc-linux-gnu-g++' 'AR=x86_64-pc-linux-gnu-ar' 'RANLIB=x86_64-pc-linux-gnu-ranlib' 'CXXFLAGS=-Wall -pipe -march=native -fno-diagnostics-color -O2' 'LINKFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' * environment, line 1381: Called die * The specific snippet of code: * die -n "escons failed." * * If you need support, post the output of `emerge --info '=games-util/xboxdrv-0.8.8_p20190118::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-util/xboxdrv-0.8.8_p20190118::gentoo'`. * The complete build log is located at '/var/log/portage/games-util:xboxdrv-0.8.8_p20190118:20210801-191643.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-util/xboxdrv-0.8.8_p20190118/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-util/xboxdrv-0.8.8_p20190118/temp/environment'. * Working directory: '/var/tmp/portage/games-util/xboxdrv-0.8.8_p20190118/work/xboxdrv-6e5e8a57628095d8d0c8bbb38187afb0f3a42112' * S: '/var/tmp/portage/games-util/xboxdrv-0.8.8_p20190118/work/xboxdrv-6e5e8a57628095d8d0c8bbb38187afb0f3a42112'