=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for mgba-qt-0.10.3
[  0%] Built target mgba-version-info
[  0%] Building C object CMakeFiles/mgba.dir/src/core/bitmap-cache.c.o
[  0%] Building C object CMakeFiles/mgba.dir/src/core/cache-set.c.o
[  1%] Building C object CMakeFiles/mgba.dir/src/core/config.c.o
[  1%] Building C object CMakeFiles/mgba.dir/src/core/cheats.c.o
[  1%] Building C object CMakeFiles/mgba.dir/src/core/core.c.o
[  2%] Building C object CMakeFiles/mgba.dir/src/core/directories.c.o
[  2%] Building C object CMakeFiles/mgba.dir/src/core/input.c.o
[  2%] Building C object CMakeFiles/mgba.dir/src/core/interface.c.o
[  2%] Building C object CMakeFiles/mgba.dir/src/core/library.c.o
[  3%] Building C object CMakeFiles/mgba.dir/src/core/lockstep.c.o
[  3%] Building C object CMakeFiles/mgba.dir/src/core/log.c.o
[  3%] Building C object CMakeFiles/mgba.dir/src/core/map-cache.c.o
[  3%] Building C object CMakeFiles/mgba.dir/src/core/serialize.c.o
[  4%] Building C object CMakeFiles/mgba.dir/src/core/mem-search.c.o
[  5%] Building C object CMakeFiles/mgba.dir/src/core/sync.c.o
[  5%] Building C object CMakeFiles/mgba.dir/src/core/rewind.c.o
[  5%] Building C object CMakeFiles/mgba.dir/src/core/thread.c.o
[  5%] Building C object CMakeFiles/mgba.dir/src/core/timing.c.o
[  5%] Building C object CMakeFiles/mgba.dir/src/core/tile-cache.c.o
[  6%] Building C object CMakeFiles/mgba.dir/src/sm83/decoder.c.o
[  6%] Building C object CMakeFiles/mgba.dir/src/sm83/isa-sm83.c.o
[  6%] Building C object CMakeFiles/mgba.dir/src/sm83/sm83.c.o
[  7%] Building C object CMakeFiles/mgba.dir/src/gb/audio.c.o
[  7%] Building C object CMakeFiles/mgba.dir/src/gb/cheats.c.o
[  7%] Building C object CMakeFiles/mgba.dir/src/gb/core.c.o
[  8%] Building C object CMakeFiles/mgba.dir/src/gb/gb.c.o
[  8%] Building C object CMakeFiles/mgba.dir/src/gb/input.c.o
[  8%] Building C object CMakeFiles/mgba.dir/src/gb/io.c.o
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gb/gb.c: In function 'GBResizeSram':
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gb/gb.c:295:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (vf->size(vf) < gb->sramSize) {
                     ^
[  9%] Building C object CMakeFiles/mgba.dir/src/gb/mbc.c.o
[  9%] Building C object CMakeFiles/mgba.dir/src/gb/overrides.c.o
[  9%] Building C object CMakeFiles/mgba.dir/src/gb/memory.c.o
[ 10%] Building C object CMakeFiles/mgba.dir/src/gb/serialize.c.o
[ 10%] Building C object CMakeFiles/mgba.dir/src/gb/renderers/cache-set.c.o
[ 10%] Building C object CMakeFiles/mgba.dir/src/gb/renderers/software.c.o
[ 11%] Building C object CMakeFiles/mgba.dir/src/gb/sio.c.o
[ 11%] Building C object CMakeFiles/mgba.dir/src/gb/timer.c.o
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gb/memory.c: In function 'GBLoad8':
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gb/memory.c:295:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   } else if (cpu->tMultiplier * (cpu->pc - memory->cartBusPc) >= memory->cartBusDecay) {
                                                               ^~
[ 11%] Building C object CMakeFiles/mgba.dir/src/gb/video.c.o
[ 11%] Building C object CMakeFiles/mgba.dir/src/arm/arm.c.o
[ 12%] Building C object CMakeFiles/mgba.dir/src/arm/decoder-arm.c.o
[ 12%] Building C object CMakeFiles/mgba.dir/src/arm/decoder.c.o
[ 12%] Building C object CMakeFiles/mgba.dir/src/arm/decoder-thumb.c.o
[ 13%] Building C object CMakeFiles/mgba.dir/src/arm/isa-arm.c.o
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/arm/decoder.c: In function 'ARMResolveMemoryAccess':
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/arm/decoder.c:576:51: warning: signed and unsigned type in conditional expression [-Wsign-compare]
   offset = info->memory.offset.reg == ARM_PC ? pc : regs->gprs[info->memory.offset.reg];
                                                   ^
[ 13%] Building C object CMakeFiles/mgba.dir/src/arm/isa-thumb.c.o
[ 13%] Building C object CMakeFiles/mgba.dir/src/gba/audio.c.o
[ 14%] Building C object CMakeFiles/mgba.dir/src/gba/bios.c.o
[ 14%] Building C object CMakeFiles/mgba.dir/src/gba/cart/ereader.c.o
[ 14%] Building C object CMakeFiles/mgba.dir/src/gba/cart/gpio.c.o
[ 15%] Building C object CMakeFiles/mgba.dir/src/gba/cart/matrix.c.o
[ 15%] Building C object CMakeFiles/mgba.dir/src/gba/cart/vfame.c.o
[ 15%] Building C object CMakeFiles/mgba.dir/src/gba/cheats.c.o
[ 16%] Building C object CMakeFiles/mgba.dir/src/gba/cheats/codebreaker.c.o
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gba/cart/ereader.c: In function 'EReaderScanCard':
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gba/cart/ereader.c:1485:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (errors < EReaderBlockListGetPointer(&scan->blocks, i)->errors) {
               ^
[ 16%] Building C object CMakeFiles/mgba.dir/src/gba/cheats/gameshark.c.o
[ 16%] Building C object CMakeFiles/mgba.dir/src/gba/cheats/parv3.c.o
[ 16%] Building C object CMakeFiles/mgba.dir/src/gba/core.c.o
[ 17%] Building C object CMakeFiles/mgba.dir/src/gba/dma.c.o
[ 17%] Building C object CMakeFiles/mgba.dir/src/gba/gba.c.o
[ 18%] Building C object CMakeFiles/mgba.dir/src/gba/input.c.o
[ 18%] Building C object CMakeFiles/mgba.dir/src/gba/hle-bios.c.o
[ 18%] Building C object CMakeFiles/mgba.dir/src/gba/io.c.o
[ 18%] Building C object CMakeFiles/mgba.dir/src/gba/memory.c.o
[ 19%] Building C object CMakeFiles/mgba.dir/src/gba/overrides.c.o
[ 19%] Building C object CMakeFiles/mgba.dir/src/gba/renderers/cache-set.c.o
[ 19%] Building C object CMakeFiles/mgba.dir/src/gba/renderers/common.c.o
[ 20%] Building C object CMakeFiles/mgba.dir/src/gba/renderers/gl.c.o
[ 20%] Building C object CMakeFiles/mgba.dir/src/gba/renderers/software-bg.c.o
[ 20%] Building C object CMakeFiles/mgba.dir/src/gba/renderers/software-mode0.c.o
[ 21%] Building C object CMakeFiles/mgba.dir/src/gba/renderers/software-obj.c.o
[ 21%] Building C object CMakeFiles/mgba.dir/src/gba/renderers/video-software.c.o
[ 22%] Building C object CMakeFiles/mgba.dir/src/gba/serialize.c.o
[ 22%] Building C object CMakeFiles/mgba.dir/src/gba/savedata.c.o
[ 22%] Building C object CMakeFiles/mgba.dir/src/gba/sharkport.c.o
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gba/sharkport.c: In function 'GBASavedataExportSharkPort':
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gba/sharkport.c:210:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (vf->write(vf, SHARKPORT_HEADER, size) < size) {
                                            ^
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gba/sharkport.c:234:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (vf->write(vf, buffer.c, size + 4) < size + 4) {
                                        ^
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gba/sharkport.c:285:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  } else if (vf->write(vf, gba->memory.savedata.data, size) < size) {
                                                            ^
[ 22%] Building C object CMakeFiles/mgba.dir/src/gba/sio/gbp.c.o
[ 23%] Building C object CMakeFiles/mgba.dir/src/gba/sio/joybus.c.o
[ 23%] Building C object CMakeFiles/mgba.dir/src/gba/sio.c.o
In file included from /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/include/mgba/internal/gba/savedata.h:13:0,
                 from /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gba/savedata.c:6:
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gba/savedata.c: In function 'GBASavedataRTCRead':
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gba/savedata.c:697:24: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=]
  mLOG(GBA_SAVE, ERROR, "Savegame time offset set to %li", savedata->gpio->rtc.offset);
                        ^                                  ~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/include/mgba/core/log.h:72:81: note: in definition of macro 'mLOG'
 #define mLOG(CATEGORY, LEVEL, ...) mLog(_mLOG_CAT_ ## CATEGORY, mLOG_ ## LEVEL, __VA_ARGS__)
                                                                                 ^~~~~~~~~~~
[ 23%] Building C object CMakeFiles/mgba.dir/src/gba/timer.c.o
[ 23%] Building C object CMakeFiles/mgba.dir/src/gba/video.c.o
[ 24%] Building C object CMakeFiles/mgba.dir/src/util/circle-buffer.c.o
[ 24%] Building C object CMakeFiles/mgba.dir/src/util/configuration.c.o
[ 24%] Building C object CMakeFiles/mgba.dir/src/util/crc32.c.o
[ 25%] Building C object CMakeFiles/mgba.dir/src/util/gbk-table.c.o
[ 25%] Building C object CMakeFiles/mgba.dir/src/util/formatting.c.o
[ 25%] Building C object CMakeFiles/mgba.dir/src/util/hash.c.o
[ 26%] Building C object CMakeFiles/mgba.dir/src/util/string.c.o
[ 26%] Building C object CMakeFiles/mgba.dir/src/util/table.c.o
[ 27%] Building C object CMakeFiles/mgba.dir/src/util/convolve.c.o
[ 27%] Building C object CMakeFiles/mgba.dir/src/util/vfs.c.o
[ 27%] Building C object CMakeFiles/mgba.dir/src/util/elf-read.c.o
[ 27%] Building C object CMakeFiles/mgba.dir/src/util/export.c.o
[ 27%] Building C object CMakeFiles/mgba.dir/src/util/patch.c.o
[ 28%] Building C object CMakeFiles/mgba.dir/src/util/patch-fast.c.o
[ 28%] Building C object CMakeFiles/mgba.dir/src/util/patch-ips.c.o
[ 28%] Building C object CMakeFiles/mgba.dir/src/util/patch-ups.c.o
[ 28%] Building C object CMakeFiles/mgba.dir/src/util/ring-fifo.c.o
[ 29%] Building C object CMakeFiles/mgba.dir/src/util/png-io.c.o
[ 29%] Building C object CMakeFiles/mgba.dir/src/util/text-codec.c.o
[ 30%] Building C object CMakeFiles/mgba.dir/version.c.o
[ 30%] Building C object CMakeFiles/mgba.dir/src/util/vfs/vfs-fifo.c.o
[ 31%] Building C object CMakeFiles/mgba.dir/src/util/vfs/vfs-fd.c.o
[ 31%] Building C object CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o
[ 31%] Building C object CMakeFiles/mgba.dir/src/util/vfs/vfs-dirent.c.o
[ 31%] Building C object CMakeFiles/mgba.dir/src/platform/posix/memory.c.o
[ 31%] Building C object CMakeFiles/mgba.dir/src/third-party/blip_buf/blip_buf.c.o
[ 31%] Building C object CMakeFiles/mgba.dir/src/util/vfs/vfs-zip.c.o
[ 32%] Building C object CMakeFiles/mgba.dir/src/third-party/inih/ini.c.o
[ 32%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/7zArcIn.c.o
[ 32%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/7zAlloc.c.o
[ 32%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/7zBuf.c.o
[ 33%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/7zBuf2.c.o
[ 33%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/7zCrc.c.o
[ 35%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/7zDec.c.o
[ 35%] Building C object CMakeFiles/mgba.dir/src/util/vfs/vfs-lzma.c.o
[ 35%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/7zCrcOpt.c.o
[ 35%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/CpuArch.c.o
[ 35%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/Delta.c.o
[ 36%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/LzmaDec.c.o
[ 36%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/Lzma2Dec.c.o
[ 37%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/Bra86.c.o
[ 37%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/Bcj2.c.o
[ 37%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/BraIA64.c.o
[ 38%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/Ppmd7.c.o
[ 38%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/Bra.c.o
[ 38%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/Ppmd7Dec.c.o
[ 38%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/7zFile.c.o
[ 38%] Building C object CMakeFiles/mgba.dir/src/third-party/lzma/7zStream.c.o
[ 39%] Building C object CMakeFiles/mgba.dir/src/gba/sio/dolphin.c.o
[ 39%] Building C object CMakeFiles/mgba.dir/src/gba/sio/lockstep.c.o
[ 39%] Building C object CMakeFiles/mgba.dir/src/gb/sio/lockstep.c.o
[ 40%] Building C object CMakeFiles/mgba.dir/src/gb/sio/printer.c.o
[ 41%] Building C object CMakeFiles/mgba.dir/src/feature/ffmpeg/ffmpeg-encoder.c.o
[ 41%] Building C object CMakeFiles/mgba.dir/src/feature/ffmpeg/ffmpeg-decoder.c.o
[ 41%] Building C object CMakeFiles/mgba.dir/src/feature/editline/cli-el-backend.c.o
[ 41%] Building C object CMakeFiles/mgba.dir/src/debugger/gdb-stub.c.o
[ 41%] Building C object CMakeFiles/mgba.dir/src/feature/ffmpeg/ffmpeg-scale.c.o
[ 42%] Building C object CMakeFiles/mgba.dir/src/feature/sqlite3/no-intro.c.o
[ 42%] Building C object CMakeFiles/mgba.dir/src/debugger/cli-debugger.c.o
[ 43%] Building C object CMakeFiles/mgba.dir/src/debugger/parser.c.o
[ 43%] Building C object CMakeFiles/mgba.dir/src/debugger/debugger.c.o
[ 43%] Building C object CMakeFiles/mgba.dir/src/debugger/symbols.c.o
[ 43%] Building C object CMakeFiles/mgba.dir/src/debugger/stack-trace.c.o
[ 44%] Building C object CMakeFiles/mgba.dir/src/debugger/cli-debugger-scripting.c.o
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/debugger/cli-debugger.c: In function 'CLIDebuggerTabComplete':
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/debugger/cli-debugger.c:1196:83: warning: unused parameter 'initial' [-Wunused-parameter]
 bool CLIDebuggerTabComplete(struct CLIDebugger* debugger, const char* token, bool initial, size_t tokenLen) {
                                                                                   ^~~~~~~
[ 44%] Building C object CMakeFiles/mgba.dir/src/sm83/debugger/cli-debugger.c.o
[ 44%] Building C object CMakeFiles/mgba.dir/src/sm83/debugger/debugger.c.o
[ 44%] Building C object CMakeFiles/mgba.dir/src/sm83/debugger/memory-debugger.c.o
[ 45%] Building C object CMakeFiles/mgba.dir/src/gb/debugger/cli.c.o
[ 45%] Building C object CMakeFiles/mgba.dir/src/gb/debugger/debugger.c.o
[ 45%] Building C object CMakeFiles/mgba.dir/src/gb/debugger/symbols.c.o
[ 45%] Building C object CMakeFiles/mgba.dir/src/arm/debugger/debugger.c.o
[ 46%] Building C object CMakeFiles/mgba.dir/src/arm/debugger/cli-debugger.c.o
[ 46%] Building C object CMakeFiles/mgba.dir/src/arm/debugger/memory-debugger.c.o
[ 47%] Building C object CMakeFiles/mgba.dir/src/gba/debugger/cli.c.o
[ 47%] Building C object CMakeFiles/mgba.dir/src/script/socket.c.o
[ 47%] Building C object CMakeFiles/mgba.dir/src/script/context.c.o
[ 48%] Building C object CMakeFiles/mgba.dir/src/script/stdlib.c.o
[ 48%] Building C object CMakeFiles/mgba.dir/src/script/types.c.o
[ 48%] Building C object CMakeFiles/mgba.dir/src/script/engines/lua.c.o
In file included from /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/script/socket.c:6:0:
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/script/socket.c: In function 'mScriptContextAttachSocket':
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/script/socket.c:263:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   mSCRIPT_KV_PAIR(create, &mScriptSocketCreate_Binding),
                           ^
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/include/mgba/script/context.h:18:45: note: in definition of macro 'mSCRIPT_KV_PAIR'
 #define mSCRIPT_KV_PAIR(KEY, VALUE) { #KEY, VALUE }
                                             ^~~~~
[ 49%] Building C object CMakeFiles/mgba.dir/src/gba/extra/audio-mixer.c.o
In file included from /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/script/stdlib.c:6:0:
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/script/stdlib.c: In function 'mScriptContextAttachStdlib':
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/script/stdlib.c:154:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   mSCRIPT_KV_PAIR(makeBitmask, &mScriptMakeBitmask_Binding),
                                ^
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/include/mgba/script/context.h:18:45: note: in definition of macro 'mSCRIPT_KV_PAIR'
 #define mSCRIPT_KV_PAIR(KEY, VALUE) { #KEY, VALUE }
                                             ^~~~~
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/script/stdlib.c:155:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   mSCRIPT_KV_PAIR(expandBitmask, &mScriptExpandBitmask_Binding),
                                  ^
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/include/mgba/script/context.h:18:45: note: in definition of macro 'mSCRIPT_KV_PAIR'
 #define mSCRIPT_KV_PAIR(KEY, VALUE) { #KEY, VALUE }
                                             ^~~~~
[ 49%] Building C object CMakeFiles/mgba.dir/src/gba/extra/battlechip.c.o
[ 49%] Building C object CMakeFiles/mgba.dir/src/gba/extra/proxy.c.o
In file included from /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/include/mgba/internal/script/lua.h:8:0,
                 from /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/script/engines/lua.c:6:
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/script/engines/lua.c: In function '_luaCreate':
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/include/mgba/script/types.h:20:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 #define mSCRIPT_VALUE_DOC_FUNCTION(NAME) (&_mScriptDoc_ ## NAME)
                                          ^
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/include/mgba/script/context.h:18:45: note: in definition of macro 'mSCRIPT_KV_PAIR'
 #define mSCRIPT_KV_PAIR(KEY, VALUE) { #KEY, VALUE }
                                             ^~~~~
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/script/engines/lua.c:445:25: note: in expansion of macro 'mSCRIPT_VALUE_DOC_FUNCTION'
    mSCRIPT_KV_PAIR(tcp, mSCRIPT_VALUE_DOC_FUNCTION(socket_tcp)),
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/include/mgba/script/types.h:20:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 #define mSCRIPT_VALUE_DOC_FUNCTION(NAME) (&_mScriptDoc_ ## NAME)
                                          ^
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/include/mgba/script/context.h:18:45: note: in definition of macro 'mSCRIPT_KV_PAIR'
 #define mSCRIPT_KV_PAIR(KEY, VALUE) { #KEY, VALUE }
                                             ^~~~~
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/script/engines/lua.c:446:26: note: in expansion of macro 'mSCRIPT_VALUE_DOC_FUNCTION'
    mSCRIPT_KV_PAIR(bind, mSCRIPT_VALUE_DOC_FUNCTION(socket_bind)),
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/include/mgba/script/types.h:20:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 #define mSCRIPT_VALUE_DOC_FUNCTION(NAME) (&_mScriptDoc_ ## NAME)
                                          ^
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/include/mgba/script/context.h:18:45: note: in definition of macro 'mSCRIPT_KV_PAIR'
 #define mSCRIPT_KV_PAIR(KEY, VALUE) { #KEY, VALUE }
                                             ^~~~~
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/script/engines/lua.c:447:29: note: in expansion of macro 'mSCRIPT_VALUE_DOC_FUNCTION'
    mSCRIPT_KV_PAIR(connect, mSCRIPT_VALUE_DOC_FUNCTION(socket_connect)),
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
[ 50%] Building C object CMakeFiles/mgba.dir/src/gb/extra/proxy.c.o
[ 50%] Building C object CMakeFiles/mgba.dir/src/feature/commandline.c.o
[ 50%] Building C object CMakeFiles/mgba.dir/src/feature/thread-proxy.c.o
[ 51%] Building C object CMakeFiles/mgba.dir/src/feature/video-logger.c.o
[ 50%] Building C object CMakeFiles/mgba.dir/src/feature/updater.c.o
[ 51%] Building C object CMakeFiles/mgba.dir/src/core/scripting.c.o
[ 51%] Linking C shared library libmgba.so
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gba/cart/ereader.c: In function 'EReaderScanConnectAnchors':
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gba/cart/ereader.c:1143:7: warning: 'threshold' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if (distance <= threshold) {
       ^
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/gba/cart/ereader.c:1111:9: note: 'threshold' was declared here
   float threshold;
         ^
[ 51%] Built target mgba
[ 51%] Built target mgba-qt_autogen_timestamp_deps
[ 51%] Building C object sdl/CMakeFiles/mgba-sdl.dir/sdl-audio.c.o
[ 51%] Building C object sdl/CMakeFiles/mgba-sdl.dir/sw-sdl2.c.o
[ 52%] Building C object sdl/CMakeFiles/mgba-sdl.dir/sdl-events.c.o
[ 52%] Building C object sdl/CMakeFiles/mgba-sdl.dir/main.c.o
[ 52%] Automatic MOC for target mgba-qt
[ 53%] Linking C executable mgba
[ 53%] Built target mgba-sdl
AutoMoc: /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/platform/qt/DisplayGL.h:0: Note: No relevant classes found. No output generated.
AutoMoc: /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/platform/qt/ShaderSelector.h:0: Note: No relevant classes found. No output generated.
[ 53%] Built target mgba-qt_autogen
[ 54%] Generating mgba-de.qm
[ 54%] Generating mgba-en.qm
[ 55%] Generating mgba-fr.qm
[ 55%] Generating mgba-hu.qm
[ 56%] Generating mgba-ja.qm
[ 56%] Generating mgba-ko.qm
[ 56%] Generating mgba-es.qm
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-en.qm'...
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-de.qm'...
    Generated 3 translation(s) (1 finished and 2 unfinished)
    Ignored 1168 untranslated source text(s)
    Generated 1170 translation(s) (1170 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
[ 56%] Generating mgba-it.qm
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-ko.qm'...
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-hu.qm'...
    Generated 309 translation(s) (159 finished and 150 unfinished)
    Ignored 862 untranslated source text(s)
    Generated 1170 translation(s) (1170 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-ja.qm'...
    Generated 977 translation(s) (957 finished and 20 unfinished)
    Ignored 194 untranslated source text(s)
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-es.qm'...
    Generated 1114 translation(s) (1105 finished and 9 unfinished)
    Ignored 57 untranslated source text(s)
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-it.qm'...
    Generated 1170 translation(s) (1170 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-fr.qm'...
    Generated 980 translation(s) (964 finished and 16 unfinished)
    Ignored 191 untranslated source text(s)
[ 56%] Generating mgba-ru.qm
[ 56%] Generating mgba-pt_BR.qm
[ 57%] Generating mgba-nb_NO.qm
[ 57%] Generating mgba-pl.qm
[ 58%] Generating mgba-tr.qm
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-ru.qm'...
    Generated 1035 translation(s) (977 finished and 58 unfinished)
    Ignored 136 untranslated source text(s)
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-nb_NO.qm'...
[ 58%] Generating mgba-ms.qm
    Generated 365 translation(s) (290 finished and 75 unfinished)
    Ignored 806 untranslated source text(s)
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-pl.qm'...
    Generated 1170 translation(s) (1170 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-pt_BR.qm'...
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-tr.qm'...
    Generated 1046 translation(s) (1037 finished and 9 unfinished)
    Ignored 125 untranslated source text(s)
    Generated 1170 translation(s) (1170 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
[ 59%] Generating ui_AboutScreen.h
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-ms.qm'...
    Generated 661 translation(s) (581 finished and 80 unfinished)
    Ignored 510 untranslated source text(s)
[ 59%] Generating ui_ApplicationUpdatePrompt.h
[ 59%] Generating ui_ArchiveInspector.h
[ 59%] Generating ui_BattleChipView.h
[ 59%] Generating ui_CheatsView.h
[ 60%] Generating qrc_resources.cpp
[ 60%] Generating mgba-zh_CN.qm
[ 61%] Generating ui_AssetTile.h
[ 62%] Generating ui_DebuggerConsole.h
[ 62%] Generating ui_DolphinConnector.h
Updating '/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-zh_CN.qm'...
    Generated 1146 translation(s) (1146 finished and 0 unfinished)
    Ignored 25 untranslated source text(s)
[ 62%] Generating ui_FrameView.h
[ 63%] Generating ui_GIFView.h
[ 64%] Generating ui_IOViewer.h
[ 64%] Generating ui_MapView.h
[ 64%] Generating ui_MemoryDump.h
[ 64%] Generating ui_LogView.h
[ 64%] Generating ui_LoadSaveState.h
[ 65%] Generating ui_MemoryView.h
[ 65%] Generating ui_MemorySearch.h
[ 65%] Generating ui_ObjView.h
[ 65%] Generating ui_OverrideView.h
[ 66%] Generating ui_PaletteView.h
[ 66%] Generating ui_PlacementControl.h
[ 66%] Generating ui_ROMInfo.h
[ 66%] Generating ui_PrinterView.h
[ 66%] Generating ui_SaveConverter.h
[ 67%] Generating ui_ReportView.h
[ 67%] Generating ui_ScriptingView.h
[ 67%] Generating ui_SettingsView.h
[ 69%] Generating ui_SensorView.h
[ 69%] Generating ui_ShortcutView.h
[ 69%] Generating ui_ShaderSelector.h
[ 69%] Generating ui_TileView.h
[ 69%] Generating ui_VideoView.h
[ 69%] Generating qrc_ts.cpp
[ 69%] Building CXX object qt/CMakeFiles/mgba-qt.dir/mgba-qt_autogen/mocs_compilation.cpp.o
[ 70%] Building CXX object qt/CMakeFiles/mgba-qt.dir/main.cpp.o
[ 69%] Building CXX object qt/CMakeFiles/mgba-qt.dir/AboutScreen.cpp.o
[ 71%] Building CXX object qt/CMakeFiles/mgba-qt.dir/Action.cpp.o
[ 71%] Building CXX object qt/CMakeFiles/mgba-qt.dir/ActionMapper.cpp.o
[ 71%] Building CXX object qt/CMakeFiles/mgba-qt.dir/ApplicationUpdater.cpp.o
[ 72%] Building CXX object qt/CMakeFiles/mgba-qt.dir/ApplicationUpdatePrompt.cpp.o
[ 72%] Building CXX object qt/CMakeFiles/mgba-qt.dir/AbstractUpdater.cpp.o
[ 72%] Building CXX object qt/CMakeFiles/mgba-qt.dir/AssetInfo.cpp.o
[ 72%] Building CXX object qt/CMakeFiles/mgba-qt.dir/AssetTile.cpp.o
[ 73%] Building CXX object qt/CMakeFiles/mgba-qt.dir/AssetView.cpp.o
In file included from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43:0,
                 from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43,
                 from /usr/pkg/qt5/include/QtWidgets/qdialog.h:43,
                 from /usr/pkg/qt5/include/QtWidgets/QDialog:1,
                 from /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-qt_autogen/EWIEGA46WW/../../../src/platform/qt/AboutScreen.h:8,
                 from /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-qt_autogen/EWIEGA46WW/moc_AboutScreen.cpp:10,
                 from /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/qt/mgba-qt_autogen/mocs_compilation.cpp:2:
/usr/pkg/qt5/include/QtCore/qbasicatomic.h: In instantiation of 'class QBasicAtomicInteger<long long int>':
/usr/pkg/qt5/include/QtCore/qatomic.h:59:7:   required from 'class QAtomicInteger<long long int>'
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/platform/qt/library/LibraryController.h:112:41:   required from here
/usr/pkg/qt5/include/QtCore/qbasicatomic.h:97:5: error: static assertion failed: template parameter is an integral of a size not supported on this platform
     Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not supported on this platform");
     ^
[ 73%] Building CXX object qt/CMakeFiles/mgba-qt.dir/AudioProcessor.cpp.o
[ 73%] Building CXX object qt/CMakeFiles/mgba-qt.dir/CheatsModel.cpp.o
[ 74%] Building CXX object qt/CMakeFiles/mgba-qt.dir/CheatsView.cpp.o
[ 74%] Building CXX object qt/CMakeFiles/mgba-qt.dir/CheckBoxDelegate.cpp.o
[ 74%] Building CXX object qt/CMakeFiles/mgba-qt.dir/ConfigController.cpp.o
[ 74%] Building CXX object qt/CMakeFiles/mgba-qt.dir/ColorPicker.cpp.o
[ 75%] Building CXX object qt/CMakeFiles/mgba-qt.dir/CoreManager.cpp.o
--- qt/CMakeFiles/mgba-qt.dir/mgba-qt_autogen/mocs_compilation.cpp.o ---
*** [qt/CMakeFiles/mgba-qt.dir/mgba-qt_autogen/mocs_compilation.cpp.o] Error code 1

make[2]: stopped in /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/platform/qt/ConfigController.cpp: In static member function 'static constexpr const char* QGBA::ConfigController::mruName(QGBA::ConfigController::MRU)':
/pbulk/work/emulators/mgba-qt/work/mgba-0.10.3/src/platform/qt/ConfigController.cpp:351:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
1 error

make[2]: stopped in /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3
--- qt/CMakeFiles/mgba-qt.dir/all ---
*** [qt/CMakeFiles/mgba-qt.dir/all] Error code 2

make[1]: stopped in /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3
1 error

make[1]: stopped in /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3
*** [all] Error code 2

make: stopped in /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3
1 error

make: stopped in /pbulk/work/emulators/mgba-qt/work/mgba-0.10.3
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/emulators/mgba-qt
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/emulators/mgba-qt