=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for libretro-sameboy-0.12.3
clang -c -o../build/obj/../Core/gb_libretro.c.o ../Core/gb.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/../Core/sgb_libretro.c.o ../Core/sgb.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/../Core/apu_libretro.c.o ../Core/apu.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/../Core/memory_libretro.c.o ../Core/memory.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/../Core/mbc_libretro.c.o ../Core/mbc.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/../Core/display_libretro.c.o ../Core/display.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/../Core/timing_libretro.c.o ../Core/timing.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/../Core/symbol_hash_libretro.c.o ../Core/symbol_hash.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/../Core/camera_libretro.c.o ../Core/camera.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/../Core/sm83_cpu_libretro.c.o ../Core/sm83_cpu.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/../Core/joypad_libretro.c.o ../Core/joypad.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
../Core/sm83_cpu.c:1210:17: warning: converting the result of '<<' to a boolean; did you mean '(value << 1) != 0'? [-Wint-in-bool-context]
    if (!(value << 1)) {
                ^
clang -c -o../build/obj/../Core/save_state_libretro.c.o ../Core/save_state.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/../Core/random_libretro.c.o ../Core/random.c -O2 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -DSAMEBOY_CORE_VERSION=\"\" -O2 -DNDEBUG -DDISABLE_TIMEKEEPING -DDISABLE_REWIND -DDISABLE_DEBUGGER -Wall -D__LIBRETRO__ -fPIC -I.. -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
/usr/pkg/bin/gmake -C .. build/bin/BootROMs/agb_boot.bin
gmake[1]: Entering directory '/data/scratch/emulators/libretro-sameboy/work/SameBoy-0.12.3'
/usr/pkg/bin/gmake -C .. build/bin/BootROMs/cgb_boot.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
gmake[1]: Entering directory '/data/scratch/emulators/libretro-sameboy/work/SameBoy-0.12.3'
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 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
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
rgbgfx -d 1 -h -o build/obj/BootROMs/SameBoyLogo.1bpp BootROMs/SameBoyLogo.png
clang BootROMs/pb8.c -o build/pb8
rgbgfx -d 1 -h -o build/obj/BootROMs/SameBoyLogo.1bpp BootROMs/SameBoyLogo.png
clang BootROMs/pb8.c -o build/pb8
/usr/pkg/bin/gmake -C .. build/bin/BootROMs/dmg_boot.bin
gmake[1]: Entering directory '/data/scratch/emulators/libretro-sameboy/work/SameBoy-0.12.3'
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
/data/scratch/emulators/libretro-sameboy/work/SameBoy-0.12.3/build/pb8 -l 384 build/obj/BootROMs/SameBoyLogo.1bpp build/obj/BootROMs/SameBoyLogo.pb8
gmake[1]: execvp: /data/scratch/emulators/libretro-sameboy/work/SameBoy-0.12.3/build/pb8: Permission denied
gmake[1]: *** [Makefile:367: build/obj/BootROMs/SameBoyLogo.pb8] Error 127
gmake[1]: Leaving directory '/data/scratch/emulators/libretro-sameboy/work/SameBoy-0.12.3'
gmake: *** [Makefile:299: ../build/bin/BootROMs/dmg_boot.bin] Error 2
gmake: *** Waiting for unfinished jobs....
/data/scratch/emulators/libretro-sameboy/work/SameBoy-0.12.3/build/pb8 -l 384 build/obj/BootROMs/SameBoyLogo.1bpp build/obj/BootROMs/SameBoyLogo.pb8
/data/scratch/emulators/libretro-sameboy/work/SameBoy-0.12.3/build/pb8 -l 384 build/obj/BootROMs/SameBoyLogo.1bpp build/obj/BootROMs/SameBoyLogo.pb8
rgbasm -i build/obj/BootROMs/ -i BootROMs/ -o build/bin/BootROMs/cgb_boot.bin.tmp BootROMs/cgb_boot.asm
rgbasm -i build/obj/BootROMs/ -i BootROMs/ -o build/bin/BootROMs/agb_boot.bin.tmp BootROMs/agb_boot.asm
rgblink -o build/bin/BootROMs/agb_boot.bin.tmp2 build/bin/BootROMs/agb_boot.bin.tmp
dd if=build/bin/BootROMs/agb_boot.bin.tmp2 of=build/bin/BootROMs/agb_boot.bin count=1 bs=2304 2> /dev/null
gmake[1]: Leaving directory '/data/scratch/emulators/libretro-sameboy/work/SameBoy-0.12.3'
rgblink -o build/bin/BootROMs/cgb_boot.bin.tmp2 build/bin/BootROMs/cgb_boot.bin.tmp
dd if=build/bin/BootROMs/cgb_boot.bin.tmp2 of=build/bin/BootROMs/cgb_boot.bin count=1 bs=2304 2> /dev/null
gmake[1]: Leaving directory '/data/scratch/emulators/libretro-sameboy/work/SameBoy-0.12.3'
1 warning generated.
rm ../build/bin/BootROMs/cgb_boot.bin ../build/bin/BootROMs/agb_boot.bin
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/emulators/libretro-sameboy
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/emulators/libretro-sameboy