Running phase: unpackPhase unpacking source archive /nix/store/0vkfcvydcgkiqf23gawqdwhrfx4j8q1w-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase build flags: -j4 SHELL=/nix/store/hasnvc0j36gg6qrdsfcx7yivx3c2bpqr-bash-5.3p20/bin/bash platform=unix ARCH=x86_64 fatal: not a git repository (or any of the parent directories): .git gcc -c -o..//build/obj/Core/memory_libretro.c.o ..//Core/memory.c -Wall -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -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 -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o..//build/obj/Core/gb_libretro.c.o ..//Core/gb.c -Wall -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -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 -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL ..//Core/gb.c: In function 'state_magic': ..//Core/gb.c:24:35: warning: multi-character character constant [-Wmultichar] 24 | if (sizeof(bool) == 1) return 'SAME'; | ^~~~~~ ..//Core/gb.c:25:12: warning: multi-character character constant [-Wmultichar] 25 | return 'S4ME'; | ^~~~~~ ..//Core/gb.c: In function 'GB_load_isx': ..//Core/gb.c:226:62: warning: multi-character character constant [-Wmultichar] 226 | bool extended = *(uint32_t *)&magic == __builtin_bswap32('ISX '); | ^~~~~~ ..//Core/gb.c: In function 'GB_attributed_logv': ..//Core/gb.c:31:5: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | vasprintf(&string, fmt, args); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ..//Core/gb.c: In function 'GB_load_rom': ..//Core/gb.c:207:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 207 | fread(gb->rom, 1, gb->rom_size, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ..//Core/gb.c: In function 'GB_load_isx': ..//Core/gb.c:221:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 221 | fread(magic, 1, sizeof(magic), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -o..//build/obj/Core/display_libretro.c.o ..//Core/display.c -Wall -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL ..//Core/apu.c: In function 'update_sample': ..//Core/apu.c:102:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 102 | if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ..//Core/apu.c:102:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 102 | if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { | ^~~~~~~~~~~~~~~~~~~ ..//Core/apu.c:128:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ..//Core/apu.c:128:70: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { | ^~~~~~~~~~~~~~~~~~~ gcc -c -o..//build/obj/Core/symbol_hash_libretro.c.o ..//Core/symbol_hash.c -Wall -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -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 -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -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 -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL ..//Core/sm83_cpu.c: In function 'rlc_r': ..//Core/sm83_cpu.c:1295:17: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 1295 | if (!(value << 1)) { | ~~~~~~~^~~~~ gcc -c -o..//build/obj/Core/joypad_libretro.c.o ..//Core/joypad.c -Wall -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -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 -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -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 -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o..//build/obj/Core/rumble_libretro.c.o ..//Core/rumble.c -Wall -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -c -o..//build/obj/libretro/libretro_libretro.c.o ..//libretro/libretro.c -Wall -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DSAMEBOY_CORE_VERSION=\"0.13.6\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL gcc -fPIC -shared -Wl,--version-script=..//libretro/link.T -Wl,--no-undefined -I../ -o sameduck_libretro.so ..//build/obj/Core/gb_libretro.c.o ..//build/obj/Core/apu_libretro.c.o ..//build/obj/Core/memory_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/libretro_libretro.c.o -lm Running phase: installPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/2r81fw7v180hsq40ffgpb0hj6ddmlr6d-libretro-sameduck-0-unstable-2026-09-04 shrinking /nix/store/2r81fw7v180hsq40ffgpb0hj6ddmlr6d-libretro-sameduck-0-unstable-2026-09-04/lib/retroarch/cores/sameduck_libretro.so checking for references to /build/ in /nix/store/2r81fw7v180hsq40ffgpb0hj6ddmlr6d-libretro-sameduck-0-unstable-2026-09-04... patching script interpreter paths in /nix/store/2r81fw7v180hsq40ffgpb0hj6ddmlr6d-libretro-sameduck-0-unstable-2026-09-04 stripping (with command strip and flags -S -p) in /nix/store/2r81fw7v180hsq40ffgpb0hj6ddmlr6d-libretro-sameduck-0-unstable-2026-09-04/lib /nix/store/2r81fw7v180hsq40ffgpb0hj6ddmlr6d-libretro-sameduck-0-unstable-2026-09-04/bin