+ 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/qstat-2.14/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qstat-2.14/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for qstat-2.14
/opt/pkg/bin/bmake  all-recursive
Making all in template
Making all in info
gcc -DHAVE_CONFIG_H -I.    -Dsysconfdir=\"/opt/pkg/etc\" -DPKG_SYSCONFDIR="\"/etc/opt/pkg\"" -DDEBUG -DENABLE_DUMP  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -MT xform.o -MD -MP -MF .deps/xform.Tpo -c -o xform.o xform.c
xform.c: In function 'xform_name_u2':
xform.c:430:33: warning: '%02hhx' directive writing 2 bytes into a region of size 0 [-Wformat-overflow=]
  430 |    sprintf(color, "#%02hhx%02hhx%02hhx", s[0], s[1], s[2]);
      |                                 ^~~~~~
xform.c:430:4: note: 'sprintf' output 8 bytes into a destination of size 5
  430 |    sprintf(color, "#%02hhx%02hhx%02hhx", s[0], s[1], s[2]);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/xform.Tpo .deps/xform.Po
gcc -DHAVE_CONFIG_H -I.    -Dsysconfdir=\"/opt/pkg/etc\" -DPKG_SYSCONFDIR="\"/etc/opt/pkg\"" -DDEBUG -DENABLE_DUMP  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c
mv -f .deps/config.Tpo .deps/config.Po
gcc -DHAVE_CONFIG_H -I.    -Dsysconfdir=\"/opt/pkg/etc\" -DPKG_SYSCONFDIR="\"/etc/opt/pkg\"" -DDEBUG -DENABLE_DUMP  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.c
debug.c: In function '_dump_packet':
debug.c:106:10: error: 'PATH_MAX' undeclared (first use in this function)
  106 |  char fn[PATH_MAX] = {0};
      |          ^~~~~~~~
debug.c:106:10: note: each undeclared identifier is reported only once for each function it appears in
debug.c:106:7: warning: unused variable 'fn' [-Wunused-variable]
  106 |  char fn[PATH_MAX] = {0};
      |       ^~
*** [debug.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/games/qstat/work/qstat-2.14
1 error

bmake[2]: stopped in /home/pbulk/build/games/qstat/work/qstat-2.14
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/games/qstat/work/qstat-2.14
1 error

bmake[1]: stopped in /home/pbulk/build/games/qstat/work/qstat-2.14
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/games/qstat/work/qstat-2.14
1 error

bmake: stopped in /home/pbulk/build/games/qstat/work/qstat-2.14
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/qstat
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/qstat