+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-sameboy-0.14.7/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-sameboy-0.14.7/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for libretro-sameboy-0.14.7 cc -c -o..//build/obj/Core/gb_libretro.c.o ..//Core/gb.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, from ..//Core/gb.c:13: ..//Core/save_state.h: In function 'state_magic': ..//Core/save_state.h:34:35: warning: multi-character character constant [-Wmultichar] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ ..//Core/gb.c: In function 'GB_load_gbs_from_buffer': ..//Core/gb.c:381:47: warning: multi-character character constant [-Wmultichar] if (gb->gbs_header.magic != BE32('GBS\x01') || ^ ..//Core/gb.c: In function 'GB_load_isx': ..//Core/gb.c:491:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] bool extended = *(uint32_t *)&magic == __builtin_bswap32('ISX '); ^ ..//Core/gb.c:491:62: warning: multi-character character constant [-Wmultichar] bool extended = *(uint32_t *)&magic == __builtin_bswap32('ISX '); ^ ..//Core/gb.c: In function 'GB_fill_tpp1_save_data': ..//Core/gb.c:775:30: warning: multi-character character constant [-Wmultichar] data->magic = BE32('TPP1'); ^ ..//Core/gb.c: In function 'GB_attributed_logv': ..//Core/gb.c:25:14: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result] vasprintf(&string, fmt, args); ^ ..//Core/gb.c: In function 'GB_load_boot_rom': ..//Core/gb.c:218:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(gb->boot_rom, sizeof(gb->boot_rom), 1, f); ^ ..//Core/gb.c: In function 'GB_load_rom': ..//Core/gb.c:296:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(gb->rom, 1, gb->rom_size, f); ^ ..//Core/gb.c: In function 'GB_load_gbs': ..//Core/gb.c:469:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(file_data, 1, file_size, f); ^ ..//Core/gb.c: In function 'GB_load_isx': ..//Core/gb.c:486:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(magic, 1, sizeof(magic), f); ^ cc -c -o..//build/obj/Core/sgb_libretro.c.o ..//Core/sgb.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, 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] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ ..//Core/sgb.c: In function 'pal_command': ..//Core/sgb.c:50:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint16_t *)&gb->sgb->command[1]; ^ ..//Core/sgb.c:53:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] gb->sgb->effective_palettes[first * 4 + i + 1] = *(uint16_t *)&gb->sgb->command[3 + i * 2]; ^ ..//Core/sgb.c:57:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] gb->sgb->effective_palettes[second * 4 + i + 1] = *(uint16_t *)&gb->sgb->command[9 + i * 2]; ^ cc -c -o..//build/obj/Core/apu_libretro.c.o ..//Core/apu.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, 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] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ ..//Core/apu.c: In function 'update_sample': ..//Core/apu.c:102:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { ^ ..//Core/apu.c:102:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ..//Core/apu.c:128:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != *(uint32_t *)&output) { ^ ..//Core/apu.c:128:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] cc -c -o..//build/obj/Core/memory_libretro.c.o ..//Core/memory.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, 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] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ ..//Core/memory.c: In function 'oam_bug_quaternary_read_corruption': ..//Core/memory.c:162:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] base[-4] = bitwise_op(*(uint16_t *)gb->oam, ^ cc -c -o..//build/obj/Core/mbc_libretro.c.o ..//Core/mbc.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, 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] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ cc -c -o..//build/obj/Core/timing_libretro.c.o ..//Core/timing.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, 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] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ cc -c -o..//build/obj/Core/display_libretro.c.o ..//Core/display.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, 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] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ cc -c -o..//build/obj/Core/symbol_hash_libretro.c.o ..//Core/symbol_hash.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, 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] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ cc -c -o..//build/obj/Core/camera_libretro.c.o ..//Core/camera.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, 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] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ cc -c -o..//build/obj/Core/sm83_cpu_libretro.c.o ..//Core/sm83_cpu.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, 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] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ cc -c -o..//build/obj/Core/joypad_libretro.c.o ..//Core/joypad.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, 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] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ cc -c -o..//build/obj/Core/save_state_libretro.c.o ..//Core/save_state.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, 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] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ ..//Core/save_state.c: In function 'save_bess_mbc_block': ..//Core/save_state.c:482:42: warning: multi-character character constant [-Wmultichar] BESS_block_t mbc_block = {BE32('MBC '), 0}; ^ ..//Core/save_state.c: In function 'save_state_internal': ..//Core/save_state.c:571:5: warning: missing braces around initializer [-Wmissing-braces] BESS_CORE_t bess_core = {0,}; ^ ..//Core/save_state.c:571:5: warning: (near initialization for 'bess_core.header') [-Wmissing-braces] ..//Core/save_state.c:595:29: warning: multi-character character constant [-Wmultichar] .magic = BE32('BESS'), ^ ..//Core/save_state.c:600:55: warning: multi-character character constant [-Wmultichar] static const BESS_block_t bess_name = {BE32('NAME'), LE32(sizeof(BESS_NAME) - 1)}; ^ ..//Core/save_state.c:612:55: warning: multi-character character constant [-Wmultichar] static const BESS_block_t bess_info = {BE32('INFO'), LE32(sizeof(BESS_INFO_t) - sizeof(BESS_block_t))}; ^ ..//Core/save_state.c:628:50: warning: multi-character character constant [-Wmultichar] bess_core.header = (BESS_block_t){BE32('CORE'), LE32(sizeof(bess_core) - sizeof(bess_core.header))}; ^ ..//Core/save_state.c:633:64: warning: multi-character character constant [-Wmultichar] case GB_MODEL_DMG_B: bess_core.full_model = BE32('GDB '); break; ^ ..//Core/save_state.c:637:47: warning: multi-character character constant [-Wmultichar] bess_core.full_model = BE32('SN '); break; ^ ..//Core/save_state.c:641:47: warning: multi-character character constant [-Wmultichar] bess_core.full_model = BE32('SP '); break; ^ ..//Core/save_state.c:645:47: warning: multi-character character constant [-Wmultichar] bess_core.full_model = BE32('S2 '); break; ^ ..//Core/save_state.c:648:64: warning: multi-character character constant [-Wmultichar] case GB_MODEL_CGB_C: bess_core.full_model = BE32('CCC '); break; ^ ..//Core/save_state.c:649:64: warning: multi-character character constant [-Wmultichar] case GB_MODEL_CGB_E: bess_core.full_model = BE32('CCE '); break; ^ ..//Core/save_state.c:650:62: warning: multi-character character constant [-Wmultichar] case GB_MODEL_AGB: bess_core.full_model = BE32('CA '); break; // SameBoy doesn't emulate a specific AGB revision yet ^ ..//Core/save_state.c:691:5: warning: missing braces around initializer [-Wmissing-braces] BESS_XOAM_t bess_xoam = {0,}; ^ ..//Core/save_state.c:691:5: warning: (near initialization for 'bess_xoam.header') [-Wmissing-braces] ..//Core/save_state.c:692:50: warning: multi-character character constant [-Wmultichar] bess_xoam.header = (BESS_block_t){BE32('XOAM'), LE32(sizeof(bess_xoam) - sizeof(bess_xoam.header))}; ^ ..//Core/save_state.c:704:13: warning: missing braces around initializer [-Wmissing-braces] BESS_TPP1_t bess_tpp1 = {0,}; ^ ..//Core/save_state.c:704:13: warning: (near initialization for 'bess_tpp1.header') [-Wmissing-braces] ..//Core/save_state.c:705:58: warning: multi-character character constant [-Wmultichar] bess_tpp1.header = (BESS_block_t){BE32('TPP1'), LE32(sizeof(bess_tpp1) - sizeof(bess_tpp1.header))}; ^ ..//Core/save_state.c:719:13: warning: missing braces around initializer [-Wmissing-braces] BESS_RTC_t bess_rtc = {0,}; ^ ..//Core/save_state.c:719:13: warning: (near initialization for 'bess_rtc.header') [-Wmissing-braces] ..//Core/save_state.c:720:57: warning: multi-character character constant [-Wmultichar] bess_rtc.header = (BESS_block_t){BE32('RTC '), LE32(sizeof(bess_rtc) - sizeof(bess_rtc.header))}; ^ ..//Core/save_state.c:737:13: warning: missing braces around initializer [-Wmissing-braces] BESS_HUC3_t bess_huc3 = {0,}; ^ ..//Core/save_state.c:737:13: warning: (near initialization for 'bess_huc3.header') [-Wmissing-braces] ..//Core/save_state.c:738:58: warning: multi-character character constant [-Wmultichar] bess_huc3.header = (BESS_block_t){BE32('HUC3'), LE32(sizeof(bess_huc3) - sizeof(bess_huc3.header))}; ^ ..//Core/save_state.c:761:48: warning: multi-character character constant [-Wmultichar] BESS_SGB_t bess_sgb = {{BE32('SGB '), LE32(sizeof(bess_sgb) - sizeof(bess_sgb.header))}, }; ^ ..//Core/save_state.c:788:54: warning: multi-character character constant [-Wmultichar] static const BESS_block_t bess_end = {BE32('END '), 0}; ^ ..//Core/save_state.c: In function 'load_bess_save': ..//Core/save_state.c:904:36: warning: multi-character character constant [-Wmultichar] if (footer.magic != BE32('BESS')) { ^ ..//Core/save_state.c:918:5: warning: missing braces around initializer [-Wmissing-braces] BESS_CORE_t core = {0,}; ^ ..//Core/save_state.c:918:5: warning: (near initialization for 'core.header') [-Wmissing-braces] ..//Core/save_state.c:920:5: warning: missing braces around initializer [-Wmissing-braces] BESS_SGB_t sgb = {0,}; ^ ..//Core/save_state.c:920:5: warning: (near initialization for 'sgb.header') [-Wmissing-braces] ..//Core/save_state.c:925:29: warning: multi-character character constant [-Wmultichar] case BE32('CORE'): ^ ..//Core/save_state.c:1040:29: warning: multi-character character constant [-Wmultichar] case BE32('NAME'): ^ ..//Core/save_state.c:1048:29: warning: multi-character character constant [-Wmultichar] case BE32('INFO'): { ^ ..//Core/save_state.c:1049:17: warning: missing braces around initializer [-Wmissing-braces] BESS_INFO_t bess_info = {0,}; ^ ..//Core/save_state.c:1049:17: warning: (near initialization for 'bess_info.header') [-Wmissing-braces] ..//Core/save_state.c:1065:29: warning: multi-character character constant [-Wmultichar] case BE32('XOAM'): ^ ..//Core/save_state.c:1070:29: warning: multi-character character constant [-Wmultichar] case BE32('MBC '): ^ ..//Core/save_state.c:1082:29: warning: multi-character character constant [-Wmultichar] case BE32('RTC '): ^ ..//Core/save_state.c:1103:29: warning: multi-character character constant [-Wmultichar] case BE32('HUC3'): ^ ..//Core/save_state.c:1118:29: warning: multi-character character constant [-Wmultichar] case BE32('TPP1'): ^ ..//Core/save_state.c:1133:29: warning: multi-character character constant [-Wmultichar] case BE32('SGB '): ^ ..//Core/save_state.c:1145:29: warning: multi-character character constant [-Wmultichar] case BE32('END '): ^ ..//Core/save_state.c: In function 'GB_is_save_state': ..//Core/save_state.c:1352:29: warning: multi-character character constant [-Wmultichar] if (magic == BE32('BESS')) { ^ ..//Core/save_state.c:1335:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&magic, sizeof(magic), 1, f); ^ ..//Core/save_state.c:1343:14: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&magic, sizeof(magic), 1, f); ^ ..//Core/save_state.c:1351:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&magic, sizeof(magic), 1, f); ^ cc -c -o..//build/obj/Core/random_libretro.c.o ..//Core/random.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL cc -c -o..//build/obj/Core/rumble_libretro.c.o ..//Core/rumble.c -Wall -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I../ -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL In file included from ..//Core/gb.h:9:0, 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] if (sizeof(bool) == 1) return 'SAME'; ^ ..//Core/save_state.h:35:12: warning: multi-character character constant [-Wmultichar] return 'S4ME'; ^ /bin/make -C ../ build/bin/BootROMs/agb_boot.bin which: no xdg-open in (/home/pbulk/build/emulators/libretro-sameboy/work/.cwrapper/bin:/home/pbulk/build/emulators/libretro-sameboy/work/.buildlink/bin:/home/pbulk/build/emulators/libretro-sameboy/work/.tools/bin:/home/pbulk/build/emulators/libretro-sameboy/work/.gcc/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/bin) Package sdl2 was not found in the pkg-config search path. Perhaps you should add the directory containing `sdl2.pc' to the PKG_CONFIG_PATH environment variable Package 'sdl2', required by 'virtual:world', not found Package sdl2 was not found in the pkg-config search path. Perhaps you should add the directory containing `sdl2.pc' to the PKG_CONFIG_PATH environment variable Package 'sdl2', required by 'virtual:world', not found Package gl was not found in the pkg-config search path. Perhaps you should add the directory containing `gl.pc' to the PKG_CONFIG_PATH environment variable Package 'gl', required by 'virtual:world', not found Package gl was not found in the pkg-config search path. Perhaps you should add the directory containing `gl.pc' to the PKG_CONFIG_PATH environment variable Package 'gl', required by 'virtual:world', not found make[1]: Entering directory `/home/pbulk/build/emulators/libretro-sameboy/work/SameBoy-0.14.7' rgbgfx -h -u -o build/obj/BootROMs/SameBoyLogo.2bpp BootROMs/SameBoyLogo.png cc -std=c99 -Wall -Werror BootROMs/pb12.c -o build/pb12 In file included from /usr/include/stdio.h:27:0, from BootROMs/pb12.c:1: /usr/include/features.h:330:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ cc1: all warnings being treated as errors make[1]: *** [build/pb12] Error 1 make[1]: Leaving directory `/home/pbulk/build/emulators/libretro-sameboy/work/SameBoy-0.14.7' make: *** [..//build/bin/BootROMs/agb_boot.bin] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-sameboy *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-sameboy