>>> libretro-sameboy: Building community/libretro-sameboy 0_git20220819-r0 (using abuild 3.13.0-r3) started Fri, 26 Apr 2024 13:59:22 +0000 >>> libretro-sameboy: Checking sanity of /home/buildozer/aports/community/libretro-sameboy/APKBUILD... >>> libretro-sameboy: Analyzing dependencies... >>> libretro-sameboy: Installing for build: build-base (1/1) Installing .makedepends-libretro-sameboy (20240426.135939) OK: 454 MiB in 106 packages >>> libretro-sameboy: Cleaning up srcdir >>> libretro-sameboy: Cleaning up pkgdir >>> libretro-sameboy: Cleaning up tmpdir >>> libretro-sameboy: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/libretro-sameboy-09138330990da32362246c7034cf4de2ea0a2a2b.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> libretro-sameboy: Fetching libretro-sameboy-09138330990da32362246c7034cf4de2ea0a2a2b.tar.gz::https://github.com/libretro/SameBoy/archive/09138330990da32362246c7034cf4de2ea0a2a2b.tar.gz Connecting to github.com (140.82.121.4:443) Connecting to codeload.github.com (140.82.121.10:443) saving to '/var/cache/distfiles/libretro-sameboy-09138330990da32362246c7034cf4de2ea0a2a2b.tar.gz.part' libretro-sameboy-091 100% |********************************| 3076k 0:00:00 ETA '/var/cache/distfiles/libretro-sameboy-09138330990da32362246c7034cf4de2ea0a2a2b.tar.gz.part' saved >>> libretro-sameboy: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/libretro-sameboy-09138330990da32362246c7034cf4de2ea0a2a2b.tar.gz >>> libretro-sameboy: Checking sha512sums... libretro-sameboy-09138330990da32362246c7034cf4de2ea0a2a2b.tar.gz: OK >>> libretro-sameboy: Unpacking /var/cache/distfiles/libretro-sameboy-09138330990da32362246c7034cf4de2ea0a2a2b.tar.gz... make: Entering directory '/home/buildozer/aports/community/libretro-sameboy/src/SameBoy-09138330990da32362246c7034cf4de2ea0a2a2b/libretro' fatal: not a git repository (or any of the parent directories): .git gcc -c -o../build/obj/Core/gb_libretro.c.o ../Core/gb.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/Core/sgb_libretro.c.o ../Core/sgb.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/Core/apu_libretro.c.o ../Core/apu.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/Core/memory_libretro.c.o ../Core/memory.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/Core/mbc_libretro.c.o ../Core/mbc.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/Core/timing_libretro.c.o ../Core/timing.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/Core/display_libretro.c.o ../Core/display.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/Core/symbol_hash_libretro.c.o ../Core/symbol_hash.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/Core/camera_libretro.c.o ../Core/camera.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/Core/sm83_cpu_libretro.c.o ../Core/sm83_cpu.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/Core/joypad_libretro.c.o ../Core/joypad.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/Core/save_state_libretro.c.o ../Core/save_state.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/Core/random_libretro.c.o ../Core/random.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL echo "/* AUTO-GENERATED */" > ../libretro/agb_boot.c gcc -c -o../build/obj/Core/rumble_libretro.c.o ../Core/rumble.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL echo "/* AUTO-GENERATED */" > ../libretro/cgb_boot.c echo "const unsigned char agb_boot[] = {" >> ../libretro/agb_boot.c echo "const unsigned char cgb_boot[] = {" >> ../libretro/cgb_boot.c echo "/* AUTO-GENERATED */" > ../libretro/dmg_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/agb_boot.bin >> ../libretro/agb_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/cgb_boot.bin >> ../libretro/cgb_boot.c echo "const unsigned char dmg_boot[] = {" >> ../libretro/dmg_boot.c echo "/* AUTO-GENERATED */" > ../libretro/sgb_boot.c echo "/* AUTO-GENERATED */" > ../libretro/sgb2_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/dmg_boot.bin >> ../libretro/dmg_boot.c echo "const unsigned char sgb_boot[] = {" >> ../libretro/sgb_boot.c echo "};" >> ../libretro/agb_boot.c echo "};" >> ../libretro/cgb_boot.c echo "const unsigned char sgb2_boot[] = {" >> ../libretro/sgb2_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/sgb_boot.bin >> ../libretro/sgb_boot.c echo "};" >> ../libretro/dmg_boot.c echo "const unsigned agb_boot_length = sizeof(agb_boot);" >> ../libretro/agb_boot.c echo "const unsigned cgb_boot_length = sizeof(cgb_boot);" >> ../libretro/cgb_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/sgb2_boot.bin >> ../libretro/sgb2_boot.c echo "const unsigned dmg_boot_length = sizeof(dmg_boot);" >> ../libretro/dmg_boot.c echo "};" >> ../libretro/sgb_boot.c echo "};" >> ../libretro/sgb2_boot.c gcc -c -o../build/obj/libretro/libretro_libretro.c.o ../libretro/libretro.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL echo "const unsigned sgb_boot_length = sizeof(sgb_boot);" >> ../libretro/sgb_boot.c gcc -c -o../build/obj/libretro/libretro-common/compat/compat_posix_string_libretro.c.o ../libretro/libretro-common/compat/compat_posix_string.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL echo "const unsigned sgb2_boot_length = sizeof(sgb2_boot);" >> ../libretro/sgb2_boot.c gcc -c -o../build/obj/libretro/libretro-common/compat/compat_snprintf_libretro.c.o ../libretro/libretro-common/compat/compat_snprintf.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/libretro-common/compat/compat_strcasestr_libretro.c.o ../libretro/libretro-common/compat/compat_strcasestr.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/libretro-common/compat/compat_strl_libretro.c.o ../libretro/libretro-common/compat/compat_strl.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/libretro-common/compat/fopen_utf8_libretro.c.o ../libretro/libretro-common/compat/fopen_utf8.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/libretro-common/encodings/encoding_utf_libretro.c.o ../libretro/libretro-common/encodings/encoding_utf.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/libretro-common/file/file_path_libretro.c.o ../libretro/libretro-common/file/file_path.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/libretro-common/file/file_path_io_libretro.c.o ../libretro/libretro-common/file/file_path_io.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/libretro-common/streams/file_stream_libretro.c.o ../libretro/libretro-common/streams/file_stream.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/libretro-common/streams/file_stream_transforms_libretro.c.o ../libretro/libretro-common/streams/file_stream_transforms.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ../Core/gb.h:10, from ../Core/sgb.c:1: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ gcc -c -o../build/obj/libretro/libretro-common/string/stdstring_libretro.c.o ../libretro/libretro-common/string/stdstring.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/libretro-common/time/rtime_libretro.c.o ../libretro/libretro-common/time/rtime.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ../Core/gb.h:10, from ../Core/timing.c:1: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ gcc -c -o../build/obj/libretro/libretro-common/vfs/vfs_implementation_libretro.c.o ../libretro/libretro-common/vfs/vfs_implementation.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/agb_boot_libretro.c.o ../libretro/agb_boot.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/cgb_boot_libretro.c.o ../libretro/cgb_boot.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ../Core/gb.h:10, from ../Core/symbol_hash.c:1: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ In file included from ../Core/gb.h:10, from ../Core/camera.c:1: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ gcc -c -o../build/obj/libretro/dmg_boot_libretro.c.o ../libretro/dmg_boot.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/sgb_boot_libretro.c.o ../libretro/sgb_boot.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o../build/obj/libretro/sgb2_boot_libretro.c.o ../libretro/sgb2_boot.c -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ../Core/gb.h:10, from ../Core/memory.c:3: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ In file included from ../Core/gb.h:10, from ../Core/joypad.c:1: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ In file included from ../Core/gb.h:10, from ../Core/save_state.c:1: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ In file included from ../Core/gb.h:10, from ../Core/rumble.c:2: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ In file included from ../Core/gb.h:10, from ../Core/sm83_cpu.c:4: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ In file included from ../Core/gb.h:10, from ../Core/mbc.c:4: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ In file included from ../Core/gb.h:10, from ../Core/apu.c:6: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ In file included from ../Core/gb.h:10, from ../Core/display.c:6: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ In file included from ../Core/gb.h:10, from ../Core/gb.c:13: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ ../Core/apu.c: In function 'update_sample': ../Core/apu.c:105:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 105 | if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Core/apu.c:105:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 105 | if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { | ^~~~~~~~~~~~~~~~~~~ ../Core/apu.c:133:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 133 | if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Core/apu.c:133:70: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 133 | if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { | ^~~~~~~~~~~~~~~~~~~ ../Core/save_state.c: In function 'save_bess_mbc_block': ../Core/save_state.c:435:42: warning: multi-character character constant [-Wmultichar] 435 | BESS_block_t mbc_block = {BE32('MBC '), 0}; | ^ In file included from ../Core/gb.h:10, from ../libretro/libretro.c:23: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:39:35: warning: multi-character character constant [-Wmultichar] 39 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:40:12: warning: multi-character character constant [-Wmultichar] 40 | return 'S4ME'; | ^~~~~~ ../Core/save_state.c: In function 'save_state_internal': ../Core/save_state.c:576:29: warning: multi-character character constant [-Wmultichar] 576 | .magic = BE32('BESS'), | ^ ../Core/save_state.c:581:55: warning: multi-character character constant [-Wmultichar] 581 | static const BESS_block_t bess_name = {BE32('NAME'), LE32(sizeof(BESS_NAME) - 1)}; | ^ ../Core/save_state.c:593:55: warning: multi-character character constant [-Wmultichar] 593 | static const BESS_block_t bess_info = {BE32('INFO'), LE32(sizeof(BESS_INFO_t) - sizeof(BESS_block_t))}; | ^ ../Core/save_state.c:611:50: warning: multi-character character constant [-Wmultichar] 611 | bess_core.header = (BESS_block_t){BE32('CORE'), LE32(sizeof(bess_core) - sizeof(bess_core.header))}; | ^ ../Core/save_state.c:616:64: warning: multi-character character constant [-Wmultichar] 616 | case GB_MODEL_DMG_B: bess_core.full_model = BE32('GDB '); break; | ^ ../Core/save_state.c:617:62: warning: multi-character character constant [-Wmultichar] 617 | case GB_MODEL_MGB: bess_core.full_model = BE32('GM '); break; | ^ ../Core/save_state.c:621:47: warning: multi-character character constant [-Wmultichar] 621 | bess_core.full_model = BE32('SN '); break; | ^ ../Core/save_state.c:625:47: warning: multi-character character constant [-Wmultichar] 625 | bess_core.full_model = BE32('SP '); break; | ^ ../Core/save_state.c:629:47: warning: multi-character character constant [-Wmultichar] 629 | bess_core.full_model = BE32('S2 '); break; | ^ ../Core/save_state.c:631:64: warning: multi-character character constant [-Wmultichar] 631 | case GB_MODEL_CGB_0: bess_core.full_model = BE32('CC0 '); break; | ^ ../Core/save_state.c:632:64: warning: multi-character character constant [-Wmultichar] 632 | case GB_MODEL_CGB_A: bess_core.full_model = BE32('CCA '); break; | ^ ../Core/save_state.c:633:64: warning: multi-character character constant [-Wmultichar] 633 | case GB_MODEL_CGB_B: bess_core.full_model = BE32('CCB '); break; | ^ ../Core/save_state.c:634:64: warning: multi-character character constant [-Wmultichar] 634 | case GB_MODEL_CGB_C: bess_core.full_model = BE32('CCC '); break; | ^ ../Core/save_state.c:635:64: warning: multi-character character constant [-Wmultichar] 635 | case GB_MODEL_CGB_D: bess_core.full_model = BE32('CCD '); break; | ^ ../Core/save_state.c:636:64: warning: multi-character character constant [-Wmultichar] 636 | case GB_MODEL_CGB_E: bess_core.full_model = BE32('CCE '); break; | ^ ../Core/save_state.c:639:47: warning: multi-character character constant [-Wmultichar] 639 | bess_core.full_model = BE32('CAA '); break; | ^ ../Core/save_state.c:681:50: warning: multi-character character constant [-Wmultichar] 681 | bess_xoam.header = (BESS_block_t){BE32('XOAM'), LE32(sizeof(bess_xoam) - sizeof(bess_xoam.header))}; | ^ ../Core/save_state.c:694:58: warning: multi-character character constant [-Wmultichar] 694 | bess_tpp1.header = (BESS_block_t){BE32('TPP1'), LE32(sizeof(bess_tpp1) - sizeof(bess_tpp1.header))}; | ^ ../Core/save_state.c:709:57: warning: multi-character character constant [-Wmultichar] 709 | bess_rtc.header = (BESS_block_t){BE32('RTC '), LE32(sizeof(bess_rtc) - sizeof(bess_rtc.header))}; | ^ ../Core/save_state.c:727:58: warning: multi-character character constant [-Wmultichar] 727 | bess_huc3.header = (BESS_block_t){BE32('HUC3'), LE32(sizeof(bess_huc3) - sizeof(bess_huc3.header))}; | ^ ../Core/save_state.c:760:54: warning: multi-character character constant [-Wmultichar] 760 | bess_mbc7.header = (BESS_block_t){BE32('MBC7'), LE32(sizeof(bess_mbc7) - sizeof(bess_mbc7.header))}; | ^ ../Core/save_state.c:774:48: warning: multi-character character constant [-Wmultichar] 774 | BESS_SGB_t bess_sgb = {{BE32('SGB '), LE32(sizeof(bess_sgb) - sizeof(bess_sgb.header))}, }; | ^ ../Core/save_state.c:801:54: warning: multi-character character constant [-Wmultichar] 801 | static const BESS_block_t bess_end = {BE32('END '), 0}; | ^ ../Core/save_state.c: In function 'load_bess_save': ../Core/save_state.c:917:36: warning: multi-character character constant [-Wmultichar] 917 | if (footer.magic != BE32('BESS')) { | ^ ../Core/apu.c: In function 'GB_stop_audio_recording': ../Core/save_state.c:938:29: warning: multi-character character constant [-Wmultichar] 938 | case BE32('CORE'): | ^ ../Core/apu.c:1666:44: warning: multi-character character constant [-Wmultichar] 1666 | .format_chunk = BE32('FORM'), | ^ ../Core/apu.c:1668:38: warning: multi-character character constant [-Wmultichar] 1668 | .format = BE32('AIFC'), | ^ ../Core/save_state.c:1058:29: warning: multi-character character constant [-Wmultichar] 1058 | case BE32('NAME'): | ^ ../Core/save_state.c:1066:29: warning: multi-character character constant [-Wmultichar] 1066 | case BE32('INFO'): { | ^ ../Core/apu.c:1670:42: warning: multi-character character constant [-Wmultichar] 1670 | .fver_chunk = BE32('FVER'), | ^ ../Core/save_state.c:1084:29: warning: multi-character character constant [-Wmultichar] 1084 | case BE32('XOAM'): | ^ ../Core/apu.c:1674:42: warning: multi-character character constant [-Wmultichar] 1674 | .comm_chunk = BE32('COMM'), | ^ ../Core/save_state.c:1089:29: warning: multi-character character constant [-Wmultichar] 1089 | case BE32('MBC '): | ^ ../Core/apu.c:1682:37: warning: multi-character character constant [-Wmultichar] 1682 | .compression_type = 'twos', | ^~~~~~ ../Core/save_state.c:1106:29: warning: multi-character character constant [-Wmultichar] 1106 | case BE32('RTC '): | ^ ../Core/apu.c:1685:42: warning: multi-character character constant [-Wmultichar] 1685 | .ssnd_chunk = BE32('SSND'), | ^ ../Core/save_state.c:1127:29: warning: multi-character character constant [-Wmultichar] 1127 | case BE32('HUC3'): | ^ ../Core/apu.c:1710:38: warning: multi-character character constant [-Wmultichar] 1710 | .marker = BE32('RIFF'), | ^ ../Core/save_state.c:1142:29: warning: multi-character character constant [-Wmultichar] 1142 | case BE32('TPP1'): | ^ ../Core/gb.c: In function 'GB_load_gbs_from_buffer': ../Core/apu.c:1712:36: warning: multi-character character constant [-Wmultichar] 1712 | .type = BE32('WAVE'), | ^ ../Core/gb.c:393:47: warning: multi-character character constant [-Wmultichar] 393 | if (gb->gbs_header.magic != BE32('GBS\x01') || | ^ ../Core/save_state.c:1157:29: warning: multi-character character constant [-Wmultichar] 1157 | case BE32('MBC7'): | ^ ../Core/apu.c:1714:41: warning: multi-character character constant [-Wmultichar] 1714 | .fmt_chunk = BE32('fmt '), | ^ ../Core/gb.c: In function 'GB_load_isx': ../Core/gb.c:501:55: warning: multi-character character constant [-Wmultichar] 501 | bool extended = *(uint32_t *)&magic == BE32('ISX '); | ^ ../Core/save_state.c:1180:29: warning: multi-character character constant [-Wmultichar] 1180 | case BE32('SGB '): | ^ ../Core/apu.c:1723:42: warning: multi-character character constant [-Wmultichar] 1723 | .data_chunk = BE32('data'), | ^ ../Core/save_state.c:1192:29: warning: multi-character character constant [-Wmultichar] 1192 | case BE32('END '): | ^ ../Core/gb.c: In function 'fill_tpp1_save_data': ../Core/gb.c:768:30: warning: multi-character character constant [-Wmultichar] 768 | data->magic = BE32('TPP1'); | ^ ../Core/save_state.c: In function 'GB_is_save_state': ../Core/save_state.c:1399:29: warning: multi-character character constant [-Wmultichar] 1399 | if (magic == BE32('BESS')) { | ^ gcc -fPIC -shared -Wl,--version-script=../libretro/link.T -Wl,--no-undefined -I.. -I../libretro/libretro-common/include -o sameboy_libretro.so ../build/obj/Core/gb_libretro.c.o ../build/obj/Core/sgb_libretro.c.o ../build/obj/Core/apu_libretro.c.o ../build/obj/Core/memory_libretro.c.o ../build/obj/Core/mbc_libretro.c.o ../build/obj/Core/timing_libretro.c.o ../build/obj/Core/display_libretro.c.o ../build/obj/Core/symbol_hash_libretro.c.o ../build/obj/Core/camera_libretro.c.o ../build/obj/Core/sm83_cpu_libretro.c.o ../build/obj/Core/joypad_libretro.c.o ../build/obj/Core/save_state_libretro.c.o ../build/obj/Core/random_libretro.c.o ../build/obj/Core/rumble_libretro.c.o ../build/obj/libretro/agb_boot_libretro.c.o ../build/obj/libretro/cgb_boot_libretro.c.o ../build/obj/libretro/dmg_boot_libretro.c.o ../build/obj/libretro/sgb_boot_libretro.c.o ../build/obj/libretro/sgb2_boot_libretro.c.o ../build/obj/libretro/libretro_libretro.c.o ../build/obj/libretro/libretro-common/compat/compat_posix_string_libretro.c.o ../build/obj/libretro/libretro-common/compat/compat_snprintf_libretro.c.o ../build/obj/libretro/libretro-common/compat/compat_strcasestr_libretro.c.o ../build/obj/libretro/libretro-common/compat/compat_strl_libretro.c.o ../build/obj/libretro/libretro-common/compat/fopen_utf8_libretro.c.o ../build/obj/libretro/libretro-common/encodings/encoding_utf_libretro.c.o ../build/obj/libretro/libretro-common/file/file_path_libretro.c.o ../build/obj/libretro/libretro-common/file/file_path_io_libretro.c.o ../build/obj/libretro/libretro-common/streams/file_stream_libretro.c.o ../build/obj/libretro/libretro-common/streams/file_stream_transforms_libretro.c.o ../build/obj/libretro/libretro-common/string/stdstring_libretro.c.o ../build/obj/libretro/libretro-common/time/rtime_libretro.c.o ../build/obj/libretro/libretro-common/vfs/vfs_implementation_libretro.c.o -Wl,--as-needed,-O1,--sort-common -lm rm ../libretro/agb_boot.c ../libretro/sgb2_boot.c ../libretro/dmg_boot.c ../libretro/cgb_boot.c ../libretro/sgb_boot.c make: Leaving directory '/home/buildozer/aports/community/libretro-sameboy/src/SameBoy-09138330990da32362246c7034cf4de2ea0a2a2b/libretro' >>> libretro-sameboy: Entering fakeroot... >>> libretro-sameboy*: Running postcheck for libretro-sameboy >>> libretro-sameboy*: Preparing package libretro-sameboy... >>> libretro-sameboy*: Stripping binaries >>> libretro-sameboy*: Scanning shared objects >>> libretro-sameboy*: Tracing dependencies... so:libc.musl-armv7.so.1 >>> libretro-sameboy*: Package size: 244.0 KB >>> libretro-sameboy*: Compressing data... >>> libretro-sameboy*: Create checksum... >>> libretro-sameboy*: Create libretro-sameboy-0_git20220819-r0.apk >>> libretro-sameboy: Build complete at Fri, 26 Apr 2024 13:59:42 +0000 elapsed time 0h 0m 20s >>> libretro-sameboy: Cleaning up srcdir >>> libretro-sameboy: Cleaning up pkgdir >>> libretro-sameboy: Uninstalling dependencies... (1/1) Purging .makedepends-libretro-sameboy (20240426.135939) OK: 454 MiB in 105 packages >>> libretro-sameboy: Updating the community/armv7 repository index... >>> libretro-sameboy: Signing the index...