+ 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/shoebill-0.0.5nb18/work.log
+ su pbulk -c '"$@"' make /usr/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 &&  /bin/env CC=cc CFLAGS=\ -g3\ -pipe\ -O2\ \ -I/usr/pkg/include/SDL2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/libdrm\ -I/usr/pkg/include/ncurses LDFLAGS=\ -lGL\ \ \ -Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib64\ -Wl,-R/usr/lib64  /bin/bash ./lin_build.sh )
cc -g3 -pipe -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/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 -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -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 making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/shoebill
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/shoebill