+ 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-bluemsx-20200507nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-bluemsx-20200507nb1/work.log ===> Building for libretro-bluemsx-20200507nb1 /usr/bin/bash: git: command not found gcc -c -olibretro.o libretro.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Dialog.o Src/Libretro/Dialog.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Event.o Src/Libretro/Event.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/File.o Src/Libretro/File.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Glob.o Src/Libretro/Glob.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro libretro.c: In function 'retro_unserialize': libretro.c:1301:40: warning: passing argument 4 of 'zipSaveFile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1301 | zipSaveFile("mem0", filename, 1, data, sz ); | ^~~~ In file included from libretro.c:36: ./Src/Utils/ziphelper.c:548:78: note: expected 'void *' but argument is of type 'const void *' 548 | int zipSaveFile(const char* zipName, const char* fileName, int append, void* buffer, int size) | ~~~~~~^~~~~~ gcc -c -oSrc/Libretro/Input.o Src/Libretro/Input.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Menu.o Src/Libretro/Menu.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Midi.o Src/Libretro/Midi.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Notifications.o Src/Libretro/Notifications.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Printer.o Src/Libretro/Printer.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Sound.o Src/Libretro/Sound.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Timer.o Src/Libretro/Timer.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Uart.o Src/Libretro/Uart.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/VideoIn.o Src/Libretro/VideoIn.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Eth.o Src/Libretro/Eth.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Cdrom.o Src/Libretro/Cdrom.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Mouse.o Src/Libretro/Mouse.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Emulator.o Src/Libretro/Emulator.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Common/ArrayList.o Src/Common/ArrayList.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Common/DebugMemory.o Src/Common/DebugMemory.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Bios/Patch.o Src/Bios/Patch.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Unzip/unzip.o Src/Unzip/unzip.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Unzip/ioapi.o Src/Unzip/ioapi.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Unzip/zip.o Src/Unzip/zip.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/AtmelPerom.o Src/Memory/AtmelPerom.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/AmdFlash.o Src/Memory/AmdFlash.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/DeviceManager.o Src/Memory/DeviceManager.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/IoPort.o Src/Memory/IoPort.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/MegaromCartridge.o Src/Memory/MegaromCartridge.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/MegaSCSIsub.o Src/Memory/MegaSCSIsub.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/ram1kBMirrored.o Src/Memory/ram1kBMirrored.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -I/usr/include -I/opt/pkg/include -DGIT_VERSION=\"-pkgsrc\" -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -DNO_FRAMEBUFFER -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro Src/Memory/ram1kBMirrored.c: In function 'ramMirroredCreate': Src/Memory/ram1kBMirrored.c:110:35: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(Ram1kBMirrored *)' [-Wincompatible-pointer-types] 110 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~ Src/Memory/ram1kBMirrored.c:110:35: note: (near initialization for 'callbacks.destroy') Src/Memory/ram1kBMirrored.c:110:50: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(Ram1kBMirrored *)' [-Wincompatible-pointer-types] 110 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/ram1kBMirrored.c:110:50: note: (near initialization for 'callbacks.saveState') Src/Memory/ram1kBMirrored.c:110:61: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(Ram1kBMirrored *)' [-Wincompatible-pointer-types] 110 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/ram1kBMirrored.c:110:61: note: (near initialization for 'callbacks.loadState') Src/Memory/ram1kBMirrored.c:111:37: error: initialization of 'void (*)(void *, DbgDevice *)' from incompatible pointer type 'void (*)(Ram1kBMirrored *, DbgDevice *)' [-Wincompatible-pointer-types] 111 | DebugCallbacks dbgCallbacks = { getDebugInfo, dbgWriteMemory, NULL, NULL }; | ^~~~~~~~~~~~ Src/Memory/ram1kBMirrored.c:111:37: note: (near initialization for 'dbgCallbacks.getDebugInfo') Src/Memory/ram1kBMirrored.c:111:51: error: initialization of 'int (*)(void *, char *, void *, int, int)' from incompatible pointer type 'int (*)(Ram1kBMirrored *, char *, void *, int, int)' [-Wincompatible-pointer-types] 111 | DebugCallbacks dbgCallbacks = { getDebugInfo, dbgWriteMemory, NULL, NULL }; | ^~~~~~~~~~~~~~ Src/Memory/ram1kBMirrored.c:111:51: note: (near initialization for 'dbgCallbacks.writeMemory') Src/Memory/ram1kBMirrored.c:143:49: error: passing argument 5 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 143 | slotRegister(slot, sslot, startPage, pages, read, read, write, destroy, rm); | ^~~~ | | | UInt8 (*)(Ram1kBMirrored *, UInt16) {aka unsigned char (*)(Ram1kBMirrored *, short unsigned int)} In file included from Src/Memory/ram1kBMirrored.c:30: Src/Memory/SlotManager.h:52:28: note: expected 'SlotRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(Ram1kBMirrored *, UInt16)' {aka 'unsigned char (*)(Ram1kBMirrored *, short unsigned int)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~^~~~~~ Src/Memory/ram1kBMirrored.c:143:55: error: passing argument 6 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 143 | slotRegister(slot, sslot, startPage, pages, read, read, write, destroy, rm); | ^~~~ | | | UInt8 (*)(Ram1kBMirrored *, UInt16) {aka unsigned char (*)(Ram1kBMirrored *, short unsigned int)} Src/Memory/SlotManager.h:52:45: note: expected 'SlotRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(Ram1kBMirrored *, UInt16)' {aka 'unsigned char (*)(Ram1kBMirrored *, short unsigned int)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~^~~~~~ Src/Memory/ram1kBMirrored.c:143:61: error: passing argument 7 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 143 | slotRegister(slot, sslot, startPage, pages, read, read, write, destroy, rm); | ^~~~~ | | | void (*)(Ram1kBMirrored *, UInt16, UInt8) {aka void (*)(Ram1kBMirrored *, short unsigned int, unsigned char)} Src/Memory/SlotManager.h:52:63: note: expected 'SlotWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(Ram1kBMirrored *, UInt16, UInt8)' {aka 'void (*)(Ram1kBMirrored *, short unsigned int, unsigned char)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/ram1kBMirrored.c:143:68: error: passing argument 8 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 143 | slotRegister(slot, sslot, startPage, pages, read, read, write, destroy, rm); | ^~~~~~~ | | | void (*)(Ram1kBMirrored *) Src/Memory/SlotManager.h:52:82: note: expected 'SlotEject' {aka 'void (*)(void *)'} but argument is of type 'void (*)(Ram1kBMirrored *)' 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ gmake: *** [Makefile.libretro:635: Src/Memory/ram1kBMirrored.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-bluemsx *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-bluemsx