+ 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/mgba-0.10.2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mgba-0.10.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for mgba-0.10.2
[  0%] Built target mgba-version-info
[  0%] Building C object CMakeFiles/mgba.dir/src/core/bitmap-cache.c.o
[  1%] Building C object CMakeFiles/mgba.dir/src/core/cache-set.c.o
[  1%] Building C object CMakeFiles/mgba.dir/src/core/cheats.c.o
[  2%] Building C object CMakeFiles/mgba.dir/src/core/config.c.o
/home/pbulk/build/emulators/mgba/work/mgba-0.10.2/src/core/config.c: In function 'mCoreConfigPortablePath':
/home/pbulk/build/emulators/mgba/work/mgba-0.10.2/src/core/config.c:296:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
  296 |         getcwd(out, outLength);
      |         ^~~~~~~~~~~~~~~~~~~~~~
[  2%] Building C object CMakeFiles/mgba.dir/src/core/core.c.o
[  3%] Building C object CMakeFiles/mgba.dir/src/core/directories.c.o
[  4%] Building C object CMakeFiles/mgba.dir/src/core/input.c.o
[  4%] Building C object CMakeFiles/mgba.dir/src/core/interface.c.o
[  5%] Building C object CMakeFiles/mgba.dir/src/core/library.c.o
[  5%] Building C object CMakeFiles/mgba.dir/src/core/lockstep.c.o
/home/pbulk/build/emulators/mgba/work/mgba-0.10.2/src/core/library.c:13:10: fatal error: sqlite3.h: No such file or directory
   13 | #include <sqlite3.h>
      |          ^~~~~~~~~~~
compilation terminated.
--- CMakeFiles/mgba.dir/src/core/library.c.o ---
*** [CMakeFiles/mgba.dir/src/core/library.c.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/emulators/mgba/work/mgba-0.10.2
1 error

bmake[2]: stopped in /home/pbulk/build/emulators/mgba/work/mgba-0.10.2
--- CMakeFiles/mgba.dir/all ---
*** [CMakeFiles/mgba.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/emulators/mgba/work/mgba-0.10.2
1 error

bmake[1]: stopped in /home/pbulk/build/emulators/mgba/work/mgba-0.10.2
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/emulators/mgba/work/mgba-0.10.2
1 error

bmake: stopped in /home/pbulk/build/emulators/mgba/work/mgba-0.10.2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/mgba
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/mgba