+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/shoebill-0.0.5nb11/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/shoebill-0.0.5nb11/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Building for shoebill-0.0.5nb11
( 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\ -D_FORTIFY_SOURCE=2\ -I/opt/local/include/SDL2\ -I/opt/local/include\ -I/opt/local/include/libdrm\ -I/usr/include LDFLAGS=\ \ \ -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0\ -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0\ -L/opt/local/lib\ -Wl,-R/opt/local/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64  /usr/bin/bash ./lin_build.sh )
gcc -g3 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include 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/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o shoebill
../core/coff.c: In function 'print_coff_info':
../core/coff.c:306:26: error: too few arguments to function 'ctime_r'
  306 |     slog("Linked on %s", ctime_r(&timestamp, timebuf));
      |                          ^~~~~~~
In file included from ../core/coff.c:29:
/usr/include/time.h:281:14: note: declared here
  281 | extern char *ctime_r(const time_t *, char *, int);
      |              ^~~~~~~
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-2021Q4-x86_64/emulators/shoebill
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/emulators/shoebill