* Package: games-emulation/snes9x-1.59.2 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 alsa amd64 elibc_glibc gtk kernel_linux multilib netplay opengl png userland_GNU xv * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking snes9x-1.59.2.tar.gz to /var/tmp/portage/games-emulation/snes9x-1.59.2/work >>> Source unpacked in /var/tmp/portage/games-emulation/snes9x-1.59.2/work >>> Preparing source in /var/tmp/portage/games-emulation/snes9x-1.59.2/work/snes9x-1.59.2/unix ... * Applying snes9x-1.53-cross-compile.patch ... [ ok ] * Applying snes9x-1.59-build-system.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-emulation/snes9x-1.59.2/work/snes9x-1.59.2/unix' ... * Running 'aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running elibtoolize in: snes9x-1.59.2/unix/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-emulation/snes9x-1.59.2/work/snes9x-1.59.2/unix ... * econf: updating snes9x-1.59.2/unix/config.sub with /usr/share/gnuconfig/config.sub * econf: updating snes9x-1.59.2/unix/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/snes9x-1.59.2 --htmldir=/usr/share/doc/snes9x-1.59.2/html --libdir=/usr/lib64 --enable-gamepad --enable-gzip --enable-zip --with-system-zip --disable-debugger --enable-netplay --enable-screenshot --disable-xinerama configure: loading site script /usr/share/config.site checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking whether g++ accepts -fno-exceptions... yes checking whether g++ accepts -fno-rtti... yes checking whether g++ accepts -pedantic... yes checking whether g++ accepts -Wall... yes checking whether g++ accepts -W... yes checking whether g++ accepts -Wno-unused-parameter... yes checking whether the OS is Linux... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzread in -lz... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for SYSTEM_ZIP... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_init_io in -lpng... yes checking for mkstemp... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking whether right shift int8 is arithmetic... yes checking whether right shift int16 is arithmetic... yes checking whether right shift int32 is arithmetic... yes checking whether right shift int64 is arithmetic... yes checking X11/extensions/Xv.h usability... yes checking X11/extensions/Xv.h presence... yes checking for X11/extensions/Xv.h... yes checking whether sound is supported on this platform... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes build information: cc...............,,,. x86_64-pc-linux-gnu-gcc c++.................. x86_64-pc-linux-gnu-g++ options.............. -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack defines.............. -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT libs................. -lz -lminizip -lpng -lSM -lICE -lX11 -lXext -lXv -lpthread features: Xvideo support....... yes Xinerama support..... no sound support........ yes screenshot support... yes netplay support...... yes gamepad support...... yes GZIP support......... yes ZIP support.......... yes SYSTEM_ZIP........... yes JMA support.......... yes debugger............. no configure: creating ./config.status config.status: creating Makefile meson setup --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/games-emulation/snes9x-1.59.2/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Dalsa=true -Ddebugger=false -Dgtk2=false -Dgtk3=true -Dopengl=true -Doss=false -Dportaudio=false -Dpulseaudio=false -Dscreenshot=true -Dsystem-zip=true -Dxv=true -Dzlib=true -Dwayland=false /var/tmp/portage/games-emulation/snes9x-1.59.2/work/snes9x-1.59.2/gtk /var/tmp/portage/games-emulation/snes9x-1.59.2/work/snes9x-1.59.2-build The Meson build system Version: 0.57.2 Source dir: /var/tmp/portage/games-emulation/snes9x-1.59.2/work/snes9x-1.59.2/gtk Build dir: /var/tmp/portage/games-emulation/snes9x-1.59.2/work/snes9x-1.59.2-build Build type: native build Project name: snes9x-gtk Project version: 1.59.2 C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 11.1.0 "x86_64-pc-linux-gnu-gcc (Gentoo 11.1.0 p1) 11.1.0") C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.36.1 C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 11.1.0 "x86_64-pc-linux-gnu-g++ (Gentoo 11.1.0 p1) 11.1.0") C++ linker for the host machine: x86_64-pc-linux-gnu-g++ ld.bfd 2.36.1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.7.4) Run-time dependency glib-2.0 found: YES 2.68.2 Run-time dependency gthread-2.0 found: YES 2.68.2 Run-time dependency gobject-2.0 found: YES 2.68.2 Run-time dependency sdl2 found: YES 2.0.14 Message: Building with GTK+-3.0 Run-time dependency gtk+-3.0 found: YES 3.24.29 Library X11 found: YES Library Xext found: YES Library dl found: YES Run-time dependency xrandr found: YES 1.5.2 Run-time dependency epoxy found: YES 1.5.8 Run-time dependency xv found: YES 1.0.11 Run-time dependency alsa found: YES 1.2.4 Run-time dependency libpng found: YES 1.6.37 Run-time dependency minizip found: YES 1.2.11 Run-time dependency zlib found: YES 1.2.11 Checking for function "mkstemp" : YES Has header "strings.h" : YES Has header "stdint.h" : YES Message: Snes9x GTK+ Build Configuration [Locations] prefix: /usr datadir: share appdatadir: /usr/share/snes9x localedir: /usr/share/locale [Options] Build type: plain GTK+ version: 3 Wayland: false OpenGL: true slang shaders: false XVideo: true ALSA: true Open Sound System: false PulseAudio: false PortAudio: false HQ2X filter: true xBRZ filter: true Screenshot saving: true zlib compression: true System minizip: true Slang support needs the SPIRV-Cross directory in ../shaders It can be downloaded with: git submodule init ../shaders/SPIRV-Cross git submodule update ../shaders/SPIRV-Cross Build targets in project: 7 Found ninja-1.10.2 at /usr/bin/ninja >>> Source configured. >>> Compiling source in /var/tmp/portage/games-emulation/snes9x-1.59.2/work/snes9x-1.59.2/unix ... make -j2 x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../apu/apu.cpp -o ../apu/apu.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../apu/bapu/dsp/sdsp.cpp -o ../apu/bapu/dsp/sdsp.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../apu/bapu/smp/smp.cpp -o ../apu/bapu/smp/smp.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../apu/bapu/smp/smp_state.cpp -o ../apu/bapu/smp/smp_state.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../bsx.cpp -o ../bsx.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../c4.cpp -o ../c4.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../c4emu.cpp -o ../c4emu.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../cheats.cpp -o ../cheats.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../cheats2.cpp -o ../cheats2.o ../cheats2.cpp: In function ‘SCheatGroup S9xCreateCheatGroup(const char*, const char*)’: ../cheats2.cpp:429:14: warning: ‘void operator delete [](void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 429 | delete[] code_string; | ^~~~~~~~~~~ ../cheats2.cpp:410:32: note: returned from ‘char* strdup(const char*)’ 410 | char *code_string = strdup (cheat); | ~~~~~~~^~~~~~~ x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../clip.cpp -o ../clip.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../conffile.cpp -o ../conffile.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -pipe -march=native -fno-diagnostics-color -Og -g -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../controls.cpp -o ../controls.o In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/set:60, from ../conffile.h:10, from ../conffile.cpp:12: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h: In instantiation of ‘static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = ConfigFile::ConfigEntry; _Val = ConfigFile::ConfigEntry; _KeyOfValue = std::_Identity; _Compare = ConfigFile::ConfigEntry::section_then_key_less; _Alloc = std::allocator; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node*]’: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:2069:47: required from ‘std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_unique_pos(const key_type&) [with _Key = ConfigFile::ConfigEntry; _Val = ConfigFile::ConfigEntry; _KeyOfValue = std::_Identity; _Compare = ConfigFile::ConfigEntry::section_then_key_less; _Alloc = std::allocator; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::key_type = ConfigFile::ConfigEntry]’ /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:2122:4: required from ‘std::pair, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique(_Arg&&) [with _Arg = const ConfigFile::ConfigEntry&; _Key = ConfigFile::ConfigEntry; _Val = ConfigFile::ConfigEntry; _KeyOfValue = std::_Identity; _Compare = ConfigFile::ConfigEntry::section_then_key_less; _Alloc = std::allocator]’ /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_set.h:512:25: required from ‘std::pair, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = ConfigFile::ConfigEntry; _Compare = ConfigFile::ConfigEntry::section_then_key_less; _Alloc = std::allocator; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator = std::_Rb_tree, ConfigFile::ConfigEntry::section_then_key_less, std::allocator >::const_iterator; typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other = std::allocator; typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key> = __gnu_cxx::__alloc_traits, ConfigFile::ConfigEntry>::rebind; typename _Alloc::value_type = ConfigFile::ConfigEntry; std::set<_Key, _Compare, _Alloc>::value_type = ConfigFile::ConfigEntry]’ ../conffile.cpp:145:15: required from here /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const 770 | is_invocable_v, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:770:15: note: ‘std::is_invocable_v’ evaluates to false /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h: In instantiation of ‘static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = ConfigFile::ConfigEntry; _Val = ConfigFile::ConfigEntry; _KeyOfValue = std::_Identity; _Compare = ConfigFile::ConfigEntry::line_less; _Alloc = std::allocator; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node*]’: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:2069:47: required from ‘std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_unique_pos(const key_type&) [with _Key = ConfigFile::ConfigEntry; _Val = ConfigFile::ConfigEntry; _KeyOfValue = std::_Identity; _Compare = ConfigFile::ConfigEntry::line_less; _Alloc = std::allocator; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::key_type = ConfigFile::ConfigEntry]’ /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:2122:4: required from ‘std::pair, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique(_Arg&&) [with _Arg = const ConfigFile::ConfigEntry&; _Key = ConfigFile::ConfigEntry; _Val = ConfigFile::ConfigEntry; _KeyOfValue = std::_Identity; _Compare = ConfigFile::ConfigEntry::line_less; _Alloc = std::allocator]’ /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_set.h:512:25: required from ‘std::pair, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = ConfigFile::ConfigEntry; _Compare = ConfigFile::ConfigEntry::line_less; _Alloc = std::allocator; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator = std::_Rb_tree, ConfigFile::ConfigEntry::line_less, std::allocator >::const_iterator; typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other = std::allocator; typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key> = __gnu_cxx::__alloc_traits, ConfigFile::ConfigEntry>::rebind; typename _Alloc::value_type = ConfigFile::ConfigEntry; std::set<_Key, _Compare, _Alloc>::value_type = ConfigFile::ConfigEntry]’ ../conffile.cpp:215:19: required from here /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:770:15: note: ‘std::is_invocable_v’ evaluates to false make: *** [Makefile:77: ../conffile.o] Error 1 make: *** Waiting for unfinished jobs.... ../controls.cpp: In function ‘void S9xApplyCommand(s9xcommand_t, int16, int16)’: ../controls.cpp:2351:89: warning: ‘.’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 2351 | snprintf(filename, PATH_MAX + 1, "%s%s%s.%03d", S9xGetDirectory(SNAPSHOT_DIR), SLASH_STR, def, i - QuickSave000); | ^ ../controls.cpp:2351:82: note: directive argument in the range [-29, 33] 2351 | snprintf(filename, PATH_MAX + 1, "%s%s%s.%03d", S9xGetDirectory(SNAPSHOT_DIR), SLASH_STR, def, i - QuickSave000); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cstdio:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ext/string_conversions.h:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/basic_string.h:6594, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:55, from ../controls.cpp:10: /usr/include/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output 6 or more bytes (assuming 4102) into a destination of size 4097 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../controls.cpp:2353:69: warning: ‘%s’ directive output may be truncated writing up to 4096 bytes into a region of size 256 [-Wformat-truncation=] 2353 | snprintf(buf, 256, "%s.%03d saved", def, i - QuickSave000); | ^~ ~~~ ../controls.cpp:2353:68: note: directive argument in the range [-29, 33] 2353 | snprintf(buf, 256, "%s.%03d saved", def, i - QuickSave000); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cstdio:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ext/string_conversions.h:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/basic_string.h:6594, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:55, from ../controls.cpp:10: /usr/include/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output between 11 and 4107 bytes into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../controls.cpp:2322:89: warning: ‘.’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 2322 | snprintf(filename, PATH_MAX + 1, "%s%s%s.%03d", S9xGetDirectory(SNAPSHOT_DIR), SLASH_STR, def, i - QuickLoad000); | ^ ../controls.cpp:2322:82: note: directive argument in the range [-18, 44] 2322 | snprintf(filename, PATH_MAX + 1, "%s%s%s.%03d", S9xGetDirectory(SNAPSHOT_DIR), SLASH_STR, def, i - QuickLoad000); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cstdio:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ext/string_conversions.h:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/basic_string.h:6594, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:55, from ../controls.cpp:10: /usr/include/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output 6 or more bytes (assuming 4102) into a destination of size 4097 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../controls.cpp:2326:77: warning: ‘%s’ directive output may be truncated writing up to 4096 bytes into a region of size 256 [-Wformat-truncation=] 2326 | snprintf(buf, 256, "%s.%03d loaded", def, i - QuickLoad000); | ^~ ~~~ ../controls.cpp:2326:76: note: directive argument in the range [-18, 44] 2326 | snprintf(buf, 256, "%s.%03d loaded", def, i - QuickLoad000); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cstdio:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ext/string_conversions.h:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/basic_string.h:6594, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:55, from ../controls.cpp:10: /usr/include/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output between 12 and 4108 bytes into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../controls.cpp:2285:89: warning: ‘.’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 2285 | snprintf(filename, PATH_MAX + 1, "%s%s%s.%.*s", S9xGetDirectory(SNAPSHOT_DIR), SLASH_STR, def, _MAX_EXT - 1, "oops"); | ^ In file included from /usr/include/stdio.h:866, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cstdio:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ext/string_conversions.h:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/basic_string.h:6594, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:55, from ../controls.cpp:10: /usr/include/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 4103) into a destination of size 4097 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../controls.cpp:2289:77: warning: ‘%s’ directive output may be truncated writing up to 4096 bytes into a region of size 256 [-Wformat-truncation=] 2289 | snprintf(buf, 256, "%s.%.*s loaded", def, _MAX_EXT - 1, "oops"); | ^~ ~~~ In file included from /usr/include/stdio.h:866, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cstdio:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ext/string_conversions.h:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/basic_string.h:6594, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:55, from ../controls.cpp:10: /usr/include/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output between 13 and 4109 bytes into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ * ERROR: games-emulation/snes9x-1.59.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-emulation/snes9x-1.59.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-emulation/snes9x-1.59.2::gentoo'`. * The complete build log is located at '/var/log/portage/games-emulation:snes9x-1.59.2:20210527-040608.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/snes9x-1.59.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/snes9x-1.59.2/temp/environment'. * Working directory: '/var/tmp/portage/games-emulation/snes9x-1.59.2/work/snes9x-1.59.2/unix' * S: '/var/tmp/portage/games-emulation/snes9x-1.59.2/work/snes9x-1.59.2/unix'