+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/shoebill-0.0.5nb18/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/shoebill-0.0.5nb18/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for shoebill-0.0.5nb18
( cd /home/pbulk/build/emulators/shoebill/work/shoebill-0.0.5/sdl-gui &&  /usr/bin/env CC=gcc CFLAGS=\ -g3\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include/SDL2\ -I/opt/pkg/include\ -I/opt/pkg/include/libdrm\ -I/usr/include\ -I/opt/pkg/include/ncurses LDFLAGS=\ -lGL\ \ \ -L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -liconv  /usr/bin/bash ./lin_build.sh )
gcc -g3 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses adb.post.c fpu.post.c mc68851.post.c mem.post.c via.post.c floppy.post.c core_api.post.c cpu.post.c dis.post.c ../core/SoftFloat/softfloat.c ../core/atrap_tab.c ../core/coff.c ../core/exception.c ../core/macii_symbols.c ../core/redblack.c ../core/scsi.c ../core/video.c ../core/filesystem.c ../core/alloc_pool.c ../core/toby_frame_buffer.c ../core/ethernet.c ../core/sound.c sdl.c -lpthread -lm -lSDL2 -lGL -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -o shoebill
sdl.c: In function '_init_pram':
sdl.c:496:20: error: 'sys_errlist' undeclared (first use in this function)
  496 |                    sys_errlist[errno]);
      |                    ^~~~~~~~~~~
sdl.c:496:20: note: each undeclared identifier is reported only once for each function it appears in
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/emulators/shoebill
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/emulators/shoebill