>>> libretro-sameboy: Building community/libretro-sameboy 0_git20211220-r0 (using abuild 3.9.0-r0) started Thu, 21 Apr 2022 18:30:35 +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 (20220421.183036) OK: 1285 MiB in 107 packages >>> libretro-sameboy: Cleaning up srcdir >>> libretro-sameboy: Cleaning up pkgdir >>> libretro-sameboy: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/libretro-sameboy-b154b7d3d885a3cf31203f0b8f50d3b37c8b742b.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2897k 100 2897k 0 0 20.0M 0 --:--:-- --:--:-- --:--:-- 20.2M >>> libretro-sameboy: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/libretro-sameboy-b154b7d3d885a3cf31203f0b8f50d3b37c8b742b.tar.gz >>> libretro-sameboy: Checking sha512sums... libretro-sameboy-b154b7d3d885a3cf31203f0b8f50d3b37c8b742b.tar.gz: OK >>> libretro-sameboy: Unpacking /var/cache/distfiles/v3.16/libretro-sameboy-b154b7d3d885a3cf31203f0b8f50d3b37c8b742b.tar.gz... make: Entering directory '/home/buildozer/aports/community/libretro-sameboy/src/SameBoy-b154b7d3d885a3cf31203f0b8f50d3b37c8b742b/libretro' gcc -c -o../build/obj/Core/gb_libretro.c.o ../Core/gb.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL echo "const unsigned char agb_boot[] = {" >> ../libretro/agb_boot.c echo "/* AUTO-GENERATED */" > ../libretro/cgb_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/agb_boot.bin >> ../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/cgb_boot.bin >> ../libretro/cgb_boot.c echo "/* AUTO-GENERATED */" > ../libretro/sgb_boot.c echo "const unsigned char dmg_boot[] = {" >> ../libretro/dmg_boot.c echo "/* AUTO-GENERATED */" > ../libretro/sgb2_boot.c echo "};" >> ../libretro/agb_boot.c echo "const unsigned char sgb_boot[] = {" >> ../libretro/sgb_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/dmg_boot.bin >> ../libretro/dmg_boot.c echo "const unsigned char sgb2_boot[] = {" >> ../libretro/sgb2_boot.c echo "const unsigned agb_boot_length = sizeof(agb_boot);" >> ../libretro/agb_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/sgb_boot.bin >> ../libretro/sgb_boot.c echo "};" >> ../libretro/cgb_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/sgb2_boot.bin >> ../libretro/sgb2_boot.c echo "};" >> ../libretro/dmg_boot.c echo "};" >> ../libretro/sgb_boot.c echo "const unsigned cgb_boot_length = sizeof(cgb_boot);" >> ../libretro/cgb_boot.c echo "};" >> ../libretro/sgb2_boot.c gcc -c -o../build/obj/libretro/libretro_libretro.c.o ../libretro/libretro.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL echo "const unsigned dmg_boot_length = sizeof(dmg_boot);" >> ../libretro/dmg_boot.c echo "const unsigned sgb_boot_length = sizeof(sgb_boot);" >> ../libretro/sgb_boot.c echo "const unsigned sgb2_boot_length = sizeof(sgb2_boot);" >> ../libretro/sgb2_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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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_snprintf_libretro.c.o ../libretro/libretro-common/compat/compat_snprintf.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | return 'S4ME'; | ^~~~~~ 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:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | return 'S4ME'; | ^~~~~~ gcc -c -o../build/obj/libretro/libretro-common/compat/fopen_utf8_libretro.c.o ../libretro/libretro-common/compat/fopen_utf8.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | return 'S4ME'; | ^~~~~~ gcc -c -o../build/obj/libretro/libretro-common/encodings/encoding_utf_libretro.c.o ../libretro/libretro-common/encodings/encoding_utf.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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/camera.c:1: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | return 'S4ME'; | ^~~~~~ gcc -c -o../build/obj/libretro/libretro-common/file/file_path_libretro.c.o ../libretro/libretro-common/file/file_path.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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/joypad.c:1: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | return 'S4ME'; | ^~~~~~ gcc -c -o../build/obj/libretro/libretro-common/streams/file_stream_libretro.c.o ../libretro/libretro-common/streams/file_stream.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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/save_state.c:1: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | return 'S4ME'; | ^~~~~~ 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:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | 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:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | 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:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | return 'S4ME'; | ^~~~~~ In file included from ../Core/gb.h:10, from ../Core/apu.c:5: ../Core/save_state.h: In function 'state_magic': ../Core/save_state.h:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | 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:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | return 'S4ME'; | ^~~~~~ 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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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/string/stdstring_libretro.c.o ../libretro/libretro-common/string/stdstring.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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/gb.c:13: ../Core/save_state.h: In function 'state_magic': ../Core/apu.c: In function 'update_sample': ../Core/save_state.h:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/apu.c:99:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 99 | if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | return 'S4ME'; | ^~~~~~ ../Core/apu.c:99:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 99 | if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { | ^~~~~~~~~~~~~~~~~~~ ../Core/apu.c:125:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 125 | if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Core/apu.c:125:70: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 125 | if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { | ^~~~~~~~~~~~~~~~~~~ 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:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | return 'S4ME'; | ^~~~~~ gcc -c -o../build/obj/libretro/libretro-common/time/rtime_libretro.c.o ../libretro/libretro-common/time/rtime.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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/vfs/vfs_implementation_libretro.c.o ../libretro/libretro-common/vfs/vfs_implementation.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL ../Core/save_state.c: In function 'save_bess_mbc_block': ../Core/save_state.c:406:42: warning: multi-character character constant [-Wmultichar] 406 | 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:34:35: warning: multi-character character constant [-Wmultichar] 34 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ../Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] 35 | return 'S4ME'; | ^~~~~~ ../Core/save_state.c: In function 'save_state_internal': ../Core/save_state.c:518:29: warning: multi-character character constant [-Wmultichar] 518 | .magic = BE32('BESS'), | ^ ../Core/save_state.c:523:55: warning: multi-character character constant [-Wmultichar] 523 | static const BESS_block_t bess_name = {BE32('NAME'), LE32(sizeof(BESS_NAME) - 1)}; | ^ ../Core/save_state.c:535:55: warning: multi-character character constant [-Wmultichar] 535 | static const BESS_block_t bess_info = {BE32('INFO'), LE32(sizeof(BESS_INFO_t) - sizeof(BESS_block_t))}; | ^ ../Core/save_state.c:551:50: warning: multi-character character constant [-Wmultichar] 551 | bess_core.header = (BESS_block_t){BE32('CORE'), LE32(sizeof(bess_core) - sizeof(bess_core.header))}; | ^ ../Core/save_state.c:556:64: warning: multi-character character constant [-Wmultichar] 556 | case GB_MODEL_DMG_B: bess_core.full_model = BE32('GDB '); break; | ^ ../Core/save_state.c:557:62: warning: multi-character character constant [-Wmultichar] 557 | case GB_MODEL_MGB: bess_core.full_model = BE32('GM '); break; | ^ ../Core/save_state.c:561:47: warning: multi-character character constant [-Wmultichar] 561 | bess_core.full_model = BE32('SN '); break; | ^ ../Core/save_state.c:565:47: warning: multi-character character constant [-Wmultichar] 565 | bess_core.full_model = BE32('SP '); break; | ^ ../Core/save_state.c:569:47: warning: multi-character character constant [-Wmultichar] 569 | bess_core.full_model = BE32('S2 '); break; | ^ ../Core/save_state.c:571:64: warning: multi-character character constant [-Wmultichar] 571 | case GB_MODEL_CGB_0: bess_core.full_model = BE32('CC0 '); break; | ^ ../Core/save_state.c:572:64: warning: multi-character character constant [-Wmultichar] 572 | case GB_MODEL_CGB_B: bess_core.full_model = BE32('CCB '); break; | ^ ../Core/save_state.c:573:64: warning: multi-character character constant [-Wmultichar] 573 | case GB_MODEL_CGB_C: bess_core.full_model = BE32('CCC '); break; | ^ ../Core/save_state.c:574:64: warning: multi-character character constant [-Wmultichar] 574 | case GB_MODEL_CGB_D: bess_core.full_model = BE32('CCD '); break; | ^ ../Core/save_state.c:575:64: warning: multi-character character constant [-Wmultichar] 575 | case GB_MODEL_CGB_E: bess_core.full_model = BE32('CCE '); break; | ^ ../Core/save_state.c:576:62: warning: multi-character character constant [-Wmultichar] 576 | case GB_MODEL_AGB: bess_core.full_model = BE32('CA '); break; // SameBoy doesn't emulate a specific AGB revision yet | ^ ../Core/save_state.c:618:50: warning: multi-character character constant [-Wmultichar] 618 | bess_xoam.header = (BESS_block_t){BE32('XOAM'), LE32(sizeof(bess_xoam) - sizeof(bess_xoam.header))}; | ^ ../Core/save_state.c:631:58: warning: multi-character character constant [-Wmultichar] 631 | bess_tpp1.header = (BESS_block_t){BE32('TPP1'), LE32(sizeof(bess_tpp1) - sizeof(bess_tpp1.header))}; | ^ ../Core/save_state.c:646:57: warning: multi-character character constant [-Wmultichar] 646 | bess_rtc.header = (BESS_block_t){BE32('RTC '), LE32(sizeof(bess_rtc) - sizeof(bess_rtc.header))}; | ^ ../Core/save_state.c:664:58: warning: multi-character character constant [-Wmultichar] 664 | bess_huc3.header = (BESS_block_t){BE32('HUC3'), LE32(sizeof(bess_huc3) - sizeof(bess_huc3.header))}; | ^ ../Core/save_state.c:687:48: warning: multi-character character constant [-Wmultichar] 687 | BESS_SGB_t bess_sgb = {{BE32('SGB '), LE32(sizeof(bess_sgb) - sizeof(bess_sgb.header))}, }; | ^ ../Core/save_state.c:714:54: warning: multi-character character constant [-Wmultichar] 714 | static const BESS_block_t bess_end = {BE32('END '), 0}; | ^ ../Core/save_state.c: In function 'load_bess_save': ../Core/save_state.c:830:36: warning: multi-character character constant [-Wmultichar] 830 | if (footer.magic != BE32('BESS')) { | ^ ../Core/save_state.c:851:29: warning: multi-character character constant [-Wmultichar] 851 | case BE32('CORE'): | ^ ../Core/save_state.c:966:29: warning: multi-character character constant [-Wmultichar] 966 | case BE32('NAME'): | ^ ../Core/save_state.c:974:29: warning: multi-character character constant [-Wmultichar] 974 | case BE32('INFO'): { | ^ ../Core/sm83_cpu.c: In function 'rlc_r': ../Core/save_state.c:991:29: warning: multi-character character constant [-Wmultichar] 991 | case BE32('XOAM'): | ^ ../Core/sm83_cpu.c:1360:17: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 1360 | if (!(value << 1)) { | ~~~~~~~^~~~~ ../Core/save_state.c:996:29: warning: multi-character character constant [-Wmultichar] 996 | case BE32('MBC '): | ^ ../Core/save_state.c:1008:29: warning: multi-character character constant [-Wmultichar] 1008 | case BE32('RTC '): | ^ gcc -c -o../build/obj/libretro/agb_boot_libretro.c.o ../libretro/agb_boot.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL ../Core/save_state.c:1029:29: warning: multi-character character constant [-Wmultichar] 1029 | case BE32('HUC3'): | ^ ../Core/save_state.c:1044:29: warning: multi-character character constant [-Wmultichar] 1044 | case BE32('TPP1'): | ^ ../Core/save_state.c:1059:29: warning: multi-character character constant [-Wmultichar] 1059 | case BE32('SGB '): | ^ gcc -c -o../build/obj/libretro/cgb_boot_libretro.c.o ../libretro/cgb_boot.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL ../Core/save_state.c:1071:29: warning: multi-character character constant [-Wmultichar] 1071 | case BE32('END '): | ^ gcc -c -o../build/obj/libretro/dmg_boot_libretro.c.o ../libretro/dmg_boot.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL ../Core/save_state.c: In function 'GB_is_save_state': ../Core/save_state.c:1278:29: warning: multi-character character constant [-Wmultichar] 1278 | if (magic == BE32('BESS')) { | ^ gcc -c -o../build/obj/libretro/sgb_boot_libretro.c.o ../libretro/sgb_boot.c -Wall -Os -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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 -fomit-frame-pointer -DGIT_VERSION=\"" be7704d88f"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL ../Core/gb.c: In function 'GB_load_gbs_from_buffer': ../Core/gb.c:392:47: warning: multi-character character constant [-Wmultichar] 392 | if (gb->gbs_header.magic != BE32('GBS\x01') || | ^ ../Core/gb.c: In function 'GB_load_isx': ../Core/gb.c:500:55: warning: multi-character character constant [-Wmultichar] 500 | bool extended = *(uint32_t *)&magic == BE32('ISX '); | ^ ../Core/gb.c: In function 'fill_tpp1_save_data': ../Core/gb.c:767:30: warning: multi-character character constant [-Wmultichar] 767 | data->magic = BE32('TPP1'); | ^ 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 -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-b154b7d3d885a3cf31203f0b8f50d3b37c8b742b/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-x86_64.so.1 >>> libretro-sameboy*: Package size: 340.0 KB >>> libretro-sameboy*: Compressing data... >>> libretro-sameboy*: Create checksum... >>> libretro-sameboy*: Create libretro-sameboy-0_git20211220-r0.apk >>> libretro-sameboy: Build complete at Thu, 21 Apr 2022 18:30:38 +0000 elapsed time 0h 0m 3s >>> libretro-sameboy: Cleaning up srcdir >>> libretro-sameboy: Cleaning up pkgdir >>> libretro-sameboy: Uninstalling dependencies... (1/1) Purging .makedepends-libretro-sameboy (20220421.183036) OK: 1285 MiB in 106 packages >>> libretro-sameboy: Updating the community/x86_64 repository index... >>> libretro-sameboy: Signing the index...