>>> libretro-gme: Building testing/libretro-gme 0_git20220410-r0 (using abuild 3.13.0-r5) started Mon, 23 Sep 2024 04:49:56 +0000 >>> libretro-gme: Checking sanity of /home/buildozer/aports/testing/libretro-gme/APKBUILD... >>> libretro-gme: Analyzing dependencies... >>> libretro-gme: Installing for build: build-base (1/1) Installing .makedepends-libretro-gme (20240923.045009) OK: 251 MiB in 104 packages >>> libretro-gme: Cleaning up srcdir >>> libretro-gme: Cleaning up pkgdir >>> libretro-gme: Cleaning up tmpdir >>> libretro-gme: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-gme-5fb30ebb8871624cecc07813212fb643fa8449f4.tar.gz >>> libretro-gme: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-gme-5fb30ebb8871624cecc07813212fb643fa8449f4.tar.gz >>> libretro-gme: Checking sha512sums... libretro-gme-5fb30ebb8871624cecc07813212fb643fa8449f4.tar.gz: OK >>> libretro-gme: Unpacking /var/cache/distfiles/libretro-gme-5fb30ebb8871624cecc07813212fb643fa8449f4.tar.gz... g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Ay_Apu.o deps/game-music-emu/gme/Ay_Apu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Ay_Cpu.o deps/game-music-emu/gme/Ay_Cpu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Ay_Emu.o deps/game-music-emu/gme/Ay_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Blip_Buffer.o deps/game-music-emu/gme/Blip_Buffer.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Classic_Emu.o deps/game-music-emu/gme/Classic_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Data_Reader.o deps/game-music-emu/gme/Data_Reader.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Dual_Resampler.o deps/game-music-emu/gme/Dual_Resampler.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Effects_Buffer.o deps/game-music-emu/gme/Effects_Buffer.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Fir_Resampler.o deps/game-music-emu/gme/Fir_Resampler.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Gbs_Emu.o deps/game-music-emu/gme/Gbs_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Gb_Apu.o deps/game-music-emu/gme/Gb_Apu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Gb_Cpu.o deps/game-music-emu/gme/Gb_Cpu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Gb_Oscs.o deps/game-music-emu/gme/Gb_Oscs.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/gme.o deps/game-music-emu/gme/gme.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Gme_File.o deps/game-music-emu/gme/Gme_File.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Gym_Emu.o deps/game-music-emu/gme/Gym_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Hes_Apu.o deps/game-music-emu/gme/Hes_Apu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Hes_Cpu.o deps/game-music-emu/gme/Hes_Cpu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Hes_Emu.o deps/game-music-emu/gme/Hes_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Kss_Cpu.o deps/game-music-emu/gme/Kss_Cpu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Kss_Emu.o deps/game-music-emu/gme/Kss_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Kss_Scc_Apu.o deps/game-music-emu/gme/Kss_Scc_Apu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/M3u_Playlist.o deps/game-music-emu/gme/M3u_Playlist.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Multi_Buffer.o deps/game-music-emu/gme/Multi_Buffer.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Music_Emu.o deps/game-music-emu/gme/Music_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Nes_Apu.o deps/game-music-emu/gme/Nes_Apu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Nes_Cpu.o deps/game-music-emu/gme/Nes_Cpu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Nes_Fme7_Apu.o deps/game-music-emu/gme/Nes_Fme7_Apu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Nes_Namco_Apu.o deps/game-music-emu/gme/Nes_Namco_Apu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Nes_Oscs.o deps/game-music-emu/gme/Nes_Oscs.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Nes_Vrc6_Apu.o deps/game-music-emu/gme/Nes_Vrc6_Apu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Nsfe_Emu.o deps/game-music-emu/gme/Nsfe_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Nsf_Emu.o deps/game-music-emu/gme/Nsf_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Sap_Apu.o deps/game-music-emu/gme/Sap_Apu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Sap_Cpu.o deps/game-music-emu/gme/Sap_Cpu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Sap_Emu.o deps/game-music-emu/gme/Sap_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Sms_Apu.o deps/game-music-emu/gme/Sms_Apu.cpp In file included from deps/game-music-emu/gme/Gb_Apu.cpp:5: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void Gb_Apu::reset()' at deps/game-music-emu/gme/Gb_Apu.cpp:126:8: /usr/include/fortify/string.h:51:31: warning: array subscript 32 is outside array bounds of 'const unsigned char [16]' [-Warray-bounds=] 51 | (__s < __d && __s + __n > __d)) | ~~~~^~~~~ deps/game-music-emu/gme/Gb_Apu.cpp: In member function 'void Gb_Apu::reset()': deps/game-music-emu/gme/Gb_Apu.cpp:122:36: note: at offset 32 into object 'initial_wave' of size 16 122 | static unsigned char const initial_wave [] = { | ^~~~~~~~~~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Snes_Spc.o deps/game-music-emu/gme/Snes_Spc.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Spc_Cpu.o deps/game-music-emu/gme/Spc_Cpu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Spc_Dsp.o deps/game-music-emu/gme/Spc_Dsp.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Spc_Emu.o deps/game-music-emu/gme/Spc_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Spc_Filter.o deps/game-music-emu/gme/Spc_Filter.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Vgm_Emu.o deps/game-music-emu/gme/Vgm_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Vgm_Emu_Impl.o deps/game-music-emu/gme/Vgm_Emu_Impl.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Ym2413_Emu.o deps/game-music-emu/gme/Ym2413_Emu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/game-music-emu/gme/Ym2612_Emu.o deps/game-music-emu/gme/Ym2612_Emu.cpp gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o src/libretro.o src/libretro.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o src/graphics.o src/graphics.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o src/player.o src/player.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o src/playlist.o src/playlist.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o src/fileformat.o src/fileformat.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/adler32.o deps/zlib-1.2.8/adler32.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/crc32.o deps/zlib-1.2.8/crc32.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/inflate.o deps/zlib-1.2.8/inflate.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/inftrees.o deps/zlib-1.2.8/inftrees.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/inffast.o deps/zlib-1.2.8/inffast.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/zutil.o deps/zlib-1.2.8/zutil.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/contrib/minizip/ioapi.o deps/zlib-1.2.8/contrib/minizip/ioapi.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/contrib/minizip/unzip.o deps/zlib-1.2.8/contrib/minizip/unzip.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/deflate.o deps/zlib-1.2.8/deflate.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/gzclose.o deps/zlib-1.2.8/gzclose.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/gzlib.o deps/zlib-1.2.8/gzlib.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/gzread.o deps/zlib-1.2.8/gzread.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/gzwrite.o deps/zlib-1.2.8/gzwrite.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/zlib-1.2.8/trees.o deps/zlib-1.2.8/trees.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/libretro-common/compat/compat_strcasestr.o deps/libretro-common/compat/compat_strcasestr.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/libretro-common/encodings/encoding_utf.o deps/libretro-common/encodings/encoding_utf.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/libretro-common/compat/compat_snprintf.o deps/libretro-common/compat/compat_snprintf.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/libretro-common/compat/compat_strl.o deps/libretro-common/compat/compat_strl.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/libretro-common/compat/compat_posix_string.o deps/libretro-common/compat/compat_posix_string.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/libretro-common/compat/fopen_utf8.o deps/libretro-common/compat/fopen_utf8.c deps/libretro-common/encodings/encoding_utf.c: In function 'utf8_to_local_string_alloc': deps/libretro-common/encodings/encoding_utf.c:359:14: error: implicit declaration of function 'strdup'; did you mean 'strldup'? [-Wimplicit-function-declaration] 359 | return strdup(str); | ^~~~~~ | strldup deps/libretro-common/encodings/encoding_utf.c:359:14: error: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 359 | return strdup(str); | ^~~~~~~~~~~ deps/libretro-common/encodings/encoding_utf.c: In function 'local_to_utf8_string_alloc': deps/libretro-common/encodings/encoding_utf.c:374:14: error: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 374 | return strdup(str); | ^~~~~~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -I. -I./deps/libretro-common/include -I./deps/game-music-emu/gme -I./deps/zlib-1.2.8 -I./deps/zlib-1.2.8/contrib/minizip -fPIC -c -o deps/libretro-common/streams/file_stream.o deps/libretro-common/streams/file_stream.c make: *** [Makefile:543: deps/libretro-common/encodings/encoding_utf.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from deps/game-music-emu/gme/blargg_source.h:12, from deps/game-music-emu/gme/Spc_Cpu.cpp:20: deps/game-music-emu/gme/Spc_Cpu.cpp: In member function 'void Snes_Spc::cpu_write_high(int, int, rel_time_t)': deps/game-music-emu/gme/Spc_Cpu.cpp:406:42: warning: array subscript 65536 is above array bounds of 'Snes_Spc::uint8_t [65536]' {aka 'unsigned char [65536]'} [-Warray-bounds=] 406 | assert( RAM [i + rom_addr] == (uint8_t) data ); | ^ In file included from deps/game-music-emu/gme/Spc_Cpu.cpp:5: deps/game-music-emu/gme/Snes_Spc.h:192:33: note: while referencing 'Snes_Spc::state_t::::ram' 192 | uint8_t ram [0x10000]; | ^~~ deps/game-music-emu/gme/Spc_Cpu.cpp:407:34: warning: array subscript 65536 is above array bounds of 'Snes_Spc::uint8_t [65536]' {aka 'unsigned char [65536]'} [-Warray-bounds=] 407 | RAM [i + rom_addr] = cpu_pad_fill; // restore overwritten padding | ^ deps/game-music-emu/gme/Snes_Spc.h:192:33: note: while referencing 'Snes_Spc::state_t::::ram' 192 | uint8_t ram [0x10000]; | ^~~ >>> ERROR: libretro-gme: build failed >>> libretro-gme: Uninstalling dependencies... (1/1) Purging .makedepends-libretro-gme (20240923.045009) OK: 251 MiB in 103 packages