* Package: games-emulation/vbam-2.1.4 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls sdl userland_GNU wxwidgets * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking vbam-2.1.4.tar.gz to /var/tmp/portage/games-emulation/vbam-2.1.4/work >>> Source unpacked in /var/tmp/portage/games-emulation/vbam-2.1.4/work >>> Preparing source in /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4 ... * Applying vbam-2.1.4-cmake_fix.patch ... [ ok ] * Working in BUILD_DIR: "/var/tmp/portage/games-emulation/vbam-2.1.4/work/vbam-2.1.4_build" * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build Type" FORCE) >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4 ... * Requested wxWidgets: 3.0-gtk3 * Using wxWidgets: gtk3-unicode-3.0-gtk3 * Working in BUILD_DIR: "/var/tmp/portage/games-emulation/vbam-2.1.4/work/vbam-2.1.4_build" cmake -C /var/tmp/portage/games-emulation/vbam-2.1.4/work/vbam-2.1.4_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_FFMPEG=no -DENABLE_LINK=no -DENABLE_LIRC=no -DENABLE_NLS=yes -DENABLE_SDL=yes -DENABLE_WX=yes -DENABLE_ASM_CORE=no -DENABLE_ASM_SCALERS=no -DCMAKE_SKIP_RPATH=ON -DENABLE_LTO=OFF -DENABLE_OPENAL=no -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/games-emulation/vbam-2.1.4/work/vbam-2.1.4_build/gentoo_toolchain.cmake /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4 loading initial cache file /var/tmp/portage/games-emulation/vbam-2.1.4/work/vbam-2.1.4_build/gentoo_common_config.cmake -- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found SFML 2.5.1 in /usr/include -- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.7.3") -- Found Git: /usr/bin/git (found version "2.29.2") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found OpenGL: /usr/lib64/libOpenGL.so -- Found PNG: /usr/lib64/libpng.so (found version "1.6.37+apng") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found SDL2: /usr/lib64/libSDL2main.a;/usr/lib64/libSDL2.so;-lpthread -- Performing Test COMPILER_COLOR_DIAGNOSTICS -- Performing Test COMPILER_COLOR_DIAGNOSTICS - Success -- Found OpenAL: /usr/lib64/libopenal.so -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found wxWidgets: -L/usr/lib64;-pthread;;;-lwx_gtk3u_xrc-3.0-gtk3;-lwx_baseu_xml-3.0-gtk3;-lwx_gtk3u_html-3.0-gtk3;-lwx_gtk3u_adv-3.0-gtk3;-lwx_baseu_net-3.0-gtk3;-lwx_gtk3u_core-3.0-gtk3;-lwx_baseu-3.0-gtk3;-lwx_gtk3u_gl-3.0-gtk3 (found version "3.0.4") -- Performing Test WX_DEFAULT_ABI_VERSION_COMPATIBLE -- Performing Test WX_DEFAULT_ABI_VERSION_COMPATIBLE - Success -- Performing Test WX_HAS_OPENGL -- Performing Test WX_HAS_OPENGL - Success -- Looking for __WXGTK4__ -- Looking for __WXGTK4__ - not found -- Looking for __WXGTK3__ -- Looking for __WXGTK3__ - found -- Checking for module 'gtk+-3.0' -- Found gtk+-3.0, version 3.24.24 -- Found Gettext: /usr/bin/msgmerge (found version "0.21") -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -pipe -march=native -fno-diagnostics-color C++ -O2 -pipe -march=native -fno-diagnostics-color Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -- Configuring done -- Generating done CMake Warning (dev): Policy CMP0058 is not set: Ninja requires custom command byproducts to be explicit. Run "cmake --help-policy CMP0058" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This project specifies custom command DEPENDS on files in the build tree that are not specified as the OUTPUT or BYPRODUCTS of any add_custom_command or add_custom_target: bin2c For compatibility with versions of CMake that did not have the BYPRODUCTS option, CMake is generating phony rules for such files to convince 'ninja' to build. Project authors should add the missing BYPRODUCTS or OUTPUT options to the custom commands that produce these files. This warning is for project developers. Use -Wno-dev to suppress it. -- Build files have been written to: /var/tmp/portage/games-emulation/vbam-2.1.4/work/vbam-2.1.4_build >>> Source configured. >>> Compiling source in /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4 ... * Working in BUILD_DIR: "/var/tmp/portage/games-emulation/vbam-2.1.4/work/vbam-2.1.4_build" ninja -v -j1 -l0 [1/199] /usr/bin/x86_64-pc-linux-gnu-g++ -DBKPT_SUPPORT -DC_CORE -DELF -DENABLE_NLS -DFINAL_VERSION -DGBA_LOGGING -DHAVE_ARPA_INET_H -DHAVE_NETINET_IN_H -DHAVE_ZLIB_H -DLOCALEDIR=\"/usr/share/locale\" -DNDEBUG -DNO_ASM -DNO_FFMPEG -DNO_LINK -DPACKAGE="" -DPKGDATADIR=\"/usr/share/vbam\" -DSDL -DSYSCONF_INSTALL_DIR=\"/etc\" -DUSE_OPENGL -DWITH_LIRC=0 -D_REENTRANT -D__AMD64__ -D__STDC_FORMAT_MACROS -I. -I/var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/fex -I/usr/include/SDL2 -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -fdiagnostics-color=always -pipe -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -feliminate-unused-debug-types -fPIC -fopenmp -mfpmath=sse -msse2 -O2 -fomit-frame-pointer -mtune=generic -Wno-error -std=gnu++11 -MD -MT CMakeFiles/vbam.dir/src/sdl/SDL.cpp.o -MF CMakeFiles/vbam.dir/src/sdl/SDL.cpp.o.d -std=gnu++11 -fexceptions -o CMakeFiles/vbam.dir/src/sdl/SDL.cpp.o -c /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp FAILED: CMakeFiles/vbam.dir/src/sdl/SDL.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBKPT_SUPPORT -DC_CORE -DELF -DENABLE_NLS -DFINAL_VERSION -DGBA_LOGGING -DHAVE_ARPA_INET_H -DHAVE_NETINET_IN_H -DHAVE_ZLIB_H -DLOCALEDIR=\"/usr/share/locale\" -DNDEBUG -DNO_ASM -DNO_FFMPEG -DNO_LINK -DPACKAGE="" -DPKGDATADIR=\"/usr/share/vbam\" -DSDL -DSYSCONF_INSTALL_DIR=\"/etc\" -DUSE_OPENGL -DWITH_LIRC=0 -D_REENTRANT -D__AMD64__ -D__STDC_FORMAT_MACROS -I. -I/var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/fex -I/usr/include/SDL2 -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -fdiagnostics-color=always -pipe -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -feliminate-unused-debug-types -fPIC -fopenmp -mfpmath=sse -msse2 -O2 -fomit-frame-pointer -mtune=generic -Wno-error -std=gnu++11 -MD -MT CMakeFiles/vbam.dir/src/sdl/SDL.cpp.o -MF CMakeFiles/vbam.dir/src/sdl/SDL.cpp.o.d -std=gnu++11 -fexceptions -o CMakeFiles/vbam.dir/src/sdl/SDL.cpp.o -c /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp: In function ‘void sdlPollEvents()’: /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:884:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 884 | #define MOD_NOCTRL (KMOD_SHIFT | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1057:46: note: in expansion of macro ‘MOD_NOCTRL’ 1057 | if (!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { | ^~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:884:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 884 | #define MOD_NOCTRL (KMOD_SHIFT | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1066:46: note: in expansion of macro ‘MOD_NOCTRL’ 1066 | if (!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) | ^~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:884:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 884 | #define MOD_NOCTRL (KMOD_SHIFT | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1070:46: note: in expansion of macro ‘MOD_NOCTRL’ 1070 | if (!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) | ^~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:884:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 884 | #define MOD_NOCTRL (KMOD_SHIFT | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1074:46: note: in expansion of macro ‘MOD_NOCTRL’ 1074 | if (!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) | ^~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:884:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 884 | #define MOD_NOCTRL (KMOD_SHIFT | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1078:46: note: in expansion of macro ‘MOD_NOCTRL’ 1078 | if (!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) | ^~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:884:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 884 | #define MOD_NOCTRL (KMOD_SHIFT | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1082:46: note: in expansion of macro ‘MOD_NOCTRL’ 1082 | if (!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { | ^~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:884:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 884 | #define MOD_NOCTRL (KMOD_SHIFT | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1089:46: note: in expansion of macro ‘MOD_NOCTRL’ 1089 | if (!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { | ^~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:884:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 884 | #define MOD_NOCTRL (KMOD_SHIFT | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1152:46: note: in expansion of macro ‘MOD_NOCTRL’ 1152 | if (!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { | ^~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:884:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 884 | #define MOD_NOCTRL (KMOD_SHIFT | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1167:46: note: in expansion of macro ‘MOD_NOCTRL’ 1167 | if (!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { | ^~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:884:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 884 | #define MOD_NOCTRL (KMOD_SHIFT | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1180:46: note: in expansion of macro ‘MOD_NOCTRL’ 1180 | if (!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { | ^~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:886:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 886 | #define MOD_NOSHIFT (KMOD_CTRL | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1212:46: note: in expansion of macro ‘MOD_NOSHIFT’ 1212 | if (!(event.key.keysym.mod & MOD_NOSHIFT) && (event.key.keysym.mod & KMOD_SHIFT)) { | ^~~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:886:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 886 | #define MOD_NOSHIFT (KMOD_CTRL | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1221:46: note: in expansion of macro ‘MOD_NOSHIFT’ 1221 | if (!(event.key.keysym.mod & MOD_NOSHIFT)) /* must work with or without shift, but only without other modifiers*/ | ^~~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:886:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 886 | #define MOD_NOSHIFT (KMOD_CTRL | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1228:46: note: in expansion of macro ‘MOD_NOSHIFT’ 1228 | if (!(event.key.keysym.mod & MOD_NOSHIFT)) /* must work with or without shift, but only without other modifiers*/ | ^~~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:885:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 885 | #define MOD_NOALT (KMOD_CTRL | KMOD_SHIFT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1237:46: note: in expansion of macro ‘MOD_NOALT’ 1237 | if (!(event.key.keysym.mod & MOD_NOALT) && (event.key.keysym.mod & KMOD_ALT)) { | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:884:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 884 | #define MOD_NOCTRL (KMOD_SHIFT | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1273:46: note: in expansion of macro ‘MOD_NOCTRL’ 1273 | if (!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { | ^~~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:884:45: error: ‘KMOD_META’ was not declared in this scope; did you mean ‘KMOD_ALT’? 884 | #define MOD_NOCTRL (KMOD_SHIFT | KMOD_ALT | KMOD_META) | ^~~~~~~~~ /var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4/src/sdl/SDL.cpp:1280:46: note: in expansion of macro ‘MOD_NOCTRL’ 1280 | if (!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { | ^~~~~~~~~~ ninja: build stopped: subcommand failed. * ERROR: games-emulation/vbam-2.1.4::gentoo failed (compile phase): * ninja -v -j1 -l0 failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2127: Called cmake_src_compile * environment, line 761: Called cmake_build * environment, line 730: Called eninja * environment, line 1182: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=games-emulation/vbam-2.1.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-emulation/vbam-2.1.4::gentoo'`. * The complete build log is located at '/var/log/portage/games-emulation:vbam-2.1.4:20201228-110847.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/vbam-2.1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/vbam-2.1.4/temp/environment'. * Working directory: '/var/tmp/portage/games-emulation/vbam-2.1.4/work/vbam-2.1.4_build' * S: '/var/tmp/portage/games-emulation/vbam-2.1.4/work/visualboyadvance-m-2.1.4'