+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-stella-6.7/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-stella-6.7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for libretro-stella-6.7
/usr/bin/bash: git: command not found
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../libretro/libretro.o ../libretro/libretro.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../libretro/EventHandlerLIBRETRO.o ../libretro/EventHandlerLIBRETRO.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../libretro/FSNodeLIBRETRO.o ../libretro/FSNodeLIBRETRO.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../libretro/FBBackendLIBRETRO.o ../libretro/FBBackendLIBRETRO.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../libretro/FBSurfaceLIBRETRO.o ../libretro/FBSurfaceLIBRETRO.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../libretro/OSystemLIBRETRO.o ../libretro/OSystemLIBRETRO.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../libretro/SoundLIBRETRO.o ../libretro/SoundLIBRETRO.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../libretro/StellaLIBRETRO.o ../libretro/StellaLIBRETRO.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/AudioQueue.o ../common/AudioQueue.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/AudioSettings.o ../common/AudioSettings.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/Base.o ../common/Base.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/DevSettingsHandler.o ../common/DevSettingsHandler.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/FpsMeter.o ../common/FpsMeter.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/FSNodeZIP.o ../common/FSNodeZIP.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/JoyMap.o ../common/JoyMap.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/KeyMap.o ../common/KeyMap.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/Logger.o ../common/Logger.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/MouseControl.o ../common/MouseControl.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/PaletteHandler.o ../common/PaletteHandler.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/PhosphorHandler.o ../common/PhosphorHandler.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/PhysicalJoystick.o ../common/PhysicalJoystick.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/PJoystickHandler.o ../common/PJoystickHandler.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/PKeyboardHandler.o ../common/PKeyboardHandler.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/RewindManager.o ../common/RewindManager.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/StaggeredLogger.o ../common/StaggeredLogger.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/StateManager.o ../common/StateManager.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/TimerManager.o ../common/TimerManager.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/VideoModeHandler.o ../common/VideoModeHandler.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/tv_filters/AtariNTSC.o ../common/tv_filters/AtariNTSC.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/tv_filters/NTSCFilter.o ../common/tv_filters/NTSCFilter.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/repository/CompositeKeyValueRepository.o ../common/repository/CompositeKeyValueRepository.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/repository/CompositeKVRJsonAdapter.o ../common/repository/CompositeKVRJsonAdapter.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/repository/KeyValueRepositoryConfigfile.o ../common/repository/KeyValueRepositoryConfigfile.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/repository/KeyValueRepositoryJsonFile.o ../common/repository/KeyValueRepositoryJsonFile.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../common/repository/KeyValueRepositoryPropertyFile.o ../common/repository/KeyValueRepositoryPropertyFile.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../emucore/AtariVox.o ../emucore/AtariVox.cxx
g++ -I. -I.. -I../libretro -I../emucore -I../emucore/tia -I../common -I../common/audio -I../common/tv_filters -I../common/repository/sqlite -I../json -I../httplib -I../sqlite -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -std=c++17 -fno-rtti -DGIT_VERSION=\"-pkgsrc\"  -O3 -DNDEBUG  -Wall -W -Wno-unused-parameter -fPIC -D__LIB_RETRO__ -DSOUND_SUPPORT -DHAVE_STDINT_H -DHAVE_STRINGS_H -fno-rtti -pedantic -c -o../emucore/Bankswitch.o ../emucore/Bankswitch.cxx
In file included from /usr/include/wctype.h:37,
                 from /opt/tools/gcc13/include/c++/13.2.0/cwctype:50,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_facets.h:39,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/basic_ios.h:37,
                 from /opt/tools/gcc13/include/c++/13.2.0/ios:46,
                 from /opt/tools/gcc13/include/c++/13.2.0/ostream:40,
                 from /opt/tools/gcc13/include/c++/13.2.0/iostream:41,
                 from ../common/bspf.hxx:44,
                 from ../emucore/FSNode.hxx:23,
                 from ../emucore/Bankswitch.hxx:23,
                 from ../emucore/Bankswitch.cxx:18:
../emucore/Bankswitch.hxx:44:60: error: expected identifier before numeric constant
   44 |       _CTY,   _CV,     _DF,   _DFSC, _DPC,  _DPCP, _E0,    _E7,
      |                                                            ^~~
../emucore/Bankswitch.hxx:44:60: error: expected '}' before numeric constant
../emucore/Bankswitch.hxx:40:21: note: to match this '{'
   40 |     enum class Type {
      |                     ^
../emucore/Bankswitch.hxx:44:60: error: expected unqualified-id before numeric constant
   44 |       _CTY,   _CV,     _DF,   _DFSC, _DPC,  _DPCP, _E0,    _E7,
      |                                                            ^~~
../emucore/Bankswitch.hxx:60:59: error: 'Type' was not declared in this scope; did you mean 'wctype'?
   60 |     static const std::array<Description, static_cast<int>(Type::NumSchemes)> BSList;
      |                                                           ^~~~
      |                                                           wctype
../emucore/Bankswitch.hxx:60:65: error: template argument 2 is invalid
   60 |     static const std::array<Description, static_cast<int>(Type::NumSchemes)> BSList;
      |                                                                 ^~~~~~~~~~
../emucore/Bankswitch.hxx:60:75: error: expected unqualified-id before ')' token
   60 |     static const std::array<Description, static_cast<int>(Type::NumSchemes)> BSList;
      |                                                                           ^
../emucore/Bankswitch.hxx:62:3: error: expected unqualified-id before 'public'
   62 |   public:
      |   ^~~~~~
../emucore/Bankswitch.hxx:92:5: error: 'friend' used outside of class
   92 |     friend ostream& operator<<(ostream& os, const Bankswitch::Type& t) {
      |     ^~~~~~
      |     ------
../emucore/Bankswitch.hxx: In function 'std::ostream& operator<<(std::ostream&, const Bankswitch::Type&)':
../emucore/Bankswitch.hxx:93:20: error: 'typeToName' was not declared in this scope; did you mean 'typename'?
   93 |       return os << typeToName(t);
      |                    ^~~~~~~~~~
      |                    typename
../emucore/Bankswitch.hxx: At global scope:
../emucore/Bankswitch.hxx:96:3: error: expected unqualified-id before 'private'
   96 |   private:
      |   ^~~~~~~
../emucore/Bankswitch.hxx:102:67: error: 'TypeComparator' was not declared in this scope
  102 |     using ExtensionMap = const std::map<string, Bankswitch::Type, TypeComparator>;
      |                                                                   ^~~~~~~~~~~~~~
../emucore/Bankswitch.hxx:102:81: error: template argument 3 is invalid
  102 |     using ExtensionMap = const std::map<string, Bankswitch::Type, TypeComparator>;
      |                                                                                 ^
../emucore/Bankswitch.hxx:103:12: error: 'ExtensionMap' does not name a type
  103 |     static ExtensionMap ourExtensions;
      |            ^~~~~~~~~~~~
../emucore/Bankswitch.hxx:105:68: error: 'TypeComparator' was not declared in this scope
  105 |     using NameToTypeMap = const std::map<string, Bankswitch::Type, TypeComparator>;
      |                                                                    ^~~~~~~~~~~~~~
../emucore/Bankswitch.hxx:105:82: error: template argument 3 is invalid
  105 |     using NameToTypeMap = const std::map<string, Bankswitch::Type, TypeComparator>;
      |                                                                                  ^
../emucore/Bankswitch.hxx:106:12: error: 'NameToTypeMap' does not name a type
  106 |     static NameToTypeMap ourNameToTypes;
      |            ^~~~~~~~~~~~~
../emucore/Bankswitch.hxx:108:3: error: expected unqualified-id before 'private'
  108 |   private:
      |   ^~~~~~~
../emucore/Bankswitch.hxx:111:35: error: expected constructor, destructor, or type conversion before '=' token
  111 |     Bankswitch(const Bankswitch&) = delete;
      |                                   ^
../emucore/Bankswitch.hxx:112:30: error: expected constructor, destructor, or type conversion before '=' token
  112 |     Bankswitch(Bankswitch&&) = delete;
      |                              ^
../emucore/Bankswitch.hxx:113:17: error: 'Bankswitch& operator=(const Bankswitch&)' must be a non-static member function
  113 |     Bankswitch& operator=(const Bankswitch&) = delete;
      |                 ^~~~~~~~
../emucore/Bankswitch.hxx:114:17: error: 'Bankswitch& operator=(Bankswitch&&)' must be a non-static member function
  114 |     Bankswitch& operator=(Bankswitch&&) = delete;
      |                 ^~~~~~~~
../emucore/Bankswitch.hxx:115:1: error: expected declaration before '}' token
  115 | };
      | ^
../emucore/Bankswitch.cxx:21:8: error: no declaration matches 'std::string Bankswitch::typeToName(Type)'
   21 | string Bankswitch::typeToName(Bankswitch::Type type)
      |        ^~~~~~~~~~
../emucore/Bankswitch.cxx:21:8: note: no functions named 'std::string Bankswitch::typeToName(Type)'
../emucore/Bankswitch.hxx:36:7: note: 'class Bankswitch' defined here
   36 | class Bankswitch
      |       ^~~~~~~~~~
../emucore/Bankswitch.cxx:27:18: error: no declaration matches 'Bankswitch::Type Bankswitch::nameToType(const std::string&)'
   27 | Bankswitch::Type Bankswitch::nameToType(const string& name)
      |                  ^~~~~~~~~~
../emucore/Bankswitch.cxx:27:18: note: no functions named 'Bankswitch::Type Bankswitch::nameToType(const std::string&)'
../emucore/Bankswitch.hxx:36:7: note: 'class Bankswitch' defined here
   36 | class Bankswitch
      |       ^~~~~~~~~~
../emucore/Bankswitch.cxx:37:8: error: no declaration matches 'std::string Bankswitch::typeToDesc(Type)'
   37 | string Bankswitch::typeToDesc(Bankswitch::Type type)
      |        ^~~~~~~~~~
../emucore/Bankswitch.cxx:37:8: note: no functions named 'std::string Bankswitch::typeToDesc(Type)'
../emucore/Bankswitch.hxx:36:7: note: 'class Bankswitch' defined here
   36 | class Bankswitch
      |       ^~~~~~~~~~
../emucore/Bankswitch.cxx:43:18: error: no declaration matches 'Bankswitch::Type Bankswitch::typeFromExtension(const FilesystemNode&)'
   43 | Bankswitch::Type Bankswitch::typeFromExtension(const FilesystemNode& file)
      |                  ^~~~~~~~~~
../emucore/Bankswitch.cxx:43:18: note: no functions named 'Bankswitch::Type Bankswitch::typeFromExtension(const FilesystemNode&)'
../emucore/Bankswitch.hxx:36:7: note: 'class Bankswitch' defined here
   36 | class Bankswitch
      |       ^~~~~~~~~~
../emucore/Bankswitch.cxx:58:6: error: no declaration matches 'bool Bankswitch::isValidRomName(const std::string&, std::string&)'
   58 | bool Bankswitch::isValidRomName(const string& name, string& ext)
      |      ^~~~~~~~~~
../emucore/Bankswitch.cxx:58:6: note: no functions named 'bool Bankswitch::isValidRomName(const std::string&, std::string&)'
../emucore/Bankswitch.hxx:36:7: note: 'class Bankswitch' defined here
   36 | class Bankswitch
      |       ^~~~~~~~~~
../emucore/Bankswitch.cxx:75:6: error: no declaration matches 'bool Bankswitch::isValidRomName(const FilesystemNode&, std::string&)'
   75 | bool Bankswitch::isValidRomName(const FilesystemNode& name, string& ext)
      |      ^~~~~~~~~~
../emucore/Bankswitch.cxx:75:6: note: no functions named 'bool Bankswitch::isValidRomName(const FilesystemNode&, std::string&)'
../emucore/Bankswitch.hxx:36:7: note: 'class Bankswitch' defined here
   36 | class Bankswitch
      |       ^~~~~~~~~~
../emucore/Bankswitch.cxx:81:6: error: no declaration matches 'bool Bankswitch::isValidRomName(const FilesystemNode&)'
   81 | bool Bankswitch::isValidRomName(const FilesystemNode& name)
      |      ^~~~~~~~~~
../emucore/Bankswitch.cxx:81:6: note: no functions named 'bool Bankswitch::isValidRomName(const FilesystemNode&)'
../emucore/Bankswitch.hxx:36:7: note: 'class Bankswitch' defined here
   36 | class Bankswitch
      |       ^~~~~~~~~~
../emucore/Bankswitch.cxx:88:6: error: no declaration matches 'bool Bankswitch::isValidRomName(const std::string&)'
   88 | bool Bankswitch::isValidRomName(const string& name)
      |      ^~~~~~~~~~
../emucore/Bankswitch.cxx:88:6: note: no functions named 'bool Bankswitch::isValidRomName(const std::string&)'
../emucore/Bankswitch.hxx:36:7: note: 'class Bankswitch' defined here
   36 | class Bankswitch
      |       ^~~~~~~~~~
../emucore/Bankswitch.cxx:95:30: error: 'Description' is not a member of 'Bankswitch'
   95 | const std::array<Bankswitch::Description, static_cast<int>(Bankswitch::Type::NumSchemes)>
      |                              ^~~~~~~~~~~
../emucore/Bankswitch.cxx:95:78: error: 'NumSchemes' is not a member of 'Bankswitch::Type'
   95 | const std::array<Bankswitch::Description, static_cast<int>(Bankswitch::Type::NumSchemes)>
      |                                                                              ^~~~~~~~~~
../emucore/Bankswitch.cxx:95:89: error: template argument 1 is invalid
   95 | const std::array<Bankswitch::Description, static_cast<int>(Bankswitch::Type::NumSchemes)>
      |                                                                                         ^
../emucore/Bankswitch.cxx:95:89: error: template argument 2 is invalid
../emucore/Bankswitch.cxx:96:1: error: 'const int Bankswitch::BSList' is not a static data member of 'class Bankswitch'
   96 | Bankswitch::BSList = {{
      | ^~~~~~~~~~
../emucore/Bankswitch.cxx:154:2: error: too many braces around scalar initializer for type 'const int'
  154 | }};
      |  ^
../emucore/Bankswitch.cxx:157:13: error: 'ExtensionMap' in 'class Bankswitch' does not name a type
  157 | Bankswitch::ExtensionMap Bankswitch::ourExtensions = {
      |             ^~~~~~~~~~~~
../emucore/Bankswitch.cxx:244:13: error: 'NameToTypeMap' in 'class Bankswitch' does not name a type
  244 | Bankswitch::NameToTypeMap Bankswitch::ourNameToTypes = {
      |             ^~~~~~~~~~~~~
../emucore/Bankswitch.hxx:67:29: warning: 'Bankswitch::Type nameToType(const std::string&)' declared 'static' but never defined [-Wunused-function]
   67 |     static Bankswitch::Type nameToType(const string& name);
      |                             ^~~~~~~~~~
../emucore/Bankswitch.hxx:70:19: warning: 'std::string typeToDesc(Bankswitch::Type)' declared 'static' but never defined [-Wunused-function]
   70 |     static string typeToDesc(Bankswitch::Type type);
      |                   ^~~~~~~~~~
../emucore/Bankswitch.hxx:74:29: warning: 'Bankswitch::Type typeFromExtension(const FilesystemNode&)' declared 'static' but never defined [-Wunused-function]
   74 |     static Bankswitch::Type typeFromExtension(const FilesystemNode& file);
      |                             ^~~~~~~~~~~~~~~~~
../emucore/Bankswitch.hxx:82:17: warning: 'bool isValidRomName(const std::string&, std::string&)' declared 'static' but never defined [-Wunused-function]
   82 |     static bool isValidRomName(const string& name, string& ext);
      |                 ^~~~~~~~~~~~~~
../emucore/Bankswitch.hxx:87:17: warning: 'bool isValidRomName(const FilesystemNode&, std::string&)' declared 'static' but never defined [-Wunused-function]
   87 |     static bool isValidRomName(const FilesystemNode& name, string& ext);
      |                 ^~~~~~~~~~~~~~
../emucore/Bankswitch.hxx:88:17: warning: 'bool isValidRomName(const FilesystemNode&)' declared 'static' but never defined [-Wunused-function]
   88 |     static bool isValidRomName(const FilesystemNode& name);
      |                 ^~~~~~~~~~~~~~
../emucore/Bankswitch.hxx:89:17: warning: 'bool isValidRomName(const std::string&)' declared 'static' but never defined [-Wunused-function]
   89 |     static bool isValidRomName(const string& name);
      |                 ^~~~~~~~~~~~~~
gmake: *** [Makefile:634: ../emucore/Bankswitch.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-stella
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-stella