+ 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/ii-1.8/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ii-1.8/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ii-1.8
cc -c -o ii.o ii.c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I/usr/include -DVERSION=\"1.8\" -std=c99 -D_DEFAULT_SOURCE
ii.c:40:14: error: 'PATH_MAX' undeclared here (not in a function); did you mean 'AF_MAX'?
   40 |  char inpath[PATH_MAX];      /* input path */
      |              ^~~~~~~~
      |              AF_MAX
ii.c: In function 'setup':
ii.c:715:19: error: storage size of 'sa' isn't known
  715 |  struct sigaction sa;
      |                   ^~
ii.c:719:2: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration]
  719 |  sigaction(SIGTERM, &sa, NULL);
      |  ^~~~~~~~~
*** [ii.o] Error code 1

bmake: stopped in /home/pbulk/build/chat/ii/work/ii-1.8
1 error

bmake: stopped in /home/pbulk/build/chat/ii/work/ii-1.8
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/ii