+ 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 -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT xform.o -MD -MP -MF .deps/xform.Tpo -c -o xform.o xform.c
xform.c: In function 'xform_buf_resize':
xform.c:130:51: warning: pointer 'oldbuf' may be used after 'realloc' [-Wuse-after-free]
  130 |                 *bufp = xform_buf->buf + ((*bufp) - oldbuf);
      |                                          ~~~~~~~~~^~~~~~~~~
xform.c:125:31: note: call to 'realloc' here
  125 |         if ((xform_buf->buf = realloc(xform_buf->buf, size)) == NULL)
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xform.c: In function 'xform_name':
xform.c:430:54: 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]);
      |                                                      ^~~~~~
In function 'xform_name_u2',
    inlined from 'xform_name' at xform.c:716:7:
xform.c:430:40: note: using the range [0, 255] for directive argument
  430 |                         sprintf(color, "#%02hhx%02hhx%02hhx", s[0], s[1], s[2]);
      |                                        ^~~~~~~~~~~~~~~~~~~~~
xform.c:430:25: 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 -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c
config.c: In function 'qsc_load_default_config_files':
config.c:198:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
  198 |         strncpy( path, var, len);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
config.c:195:18: note: length computed here
  195 |         int len= strlen(var);
      |                  ^~~~~~~~~~~
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 -O2 -msave-args -fno-aggressive-loop-optimizations -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:17: error: 'PATH_MAX' undeclared (first use in this function)
  106 |         char fn[PATH_MAX] = {0};
      |                 ^~~~~~~~
debug.c:106:17: note: each undeclared identifier is reported only once for each function it appears in
debug.c:106:14: 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