+ 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/nagios-plugin-mqueue-0.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nagios-plugin-mqueue-0.1nb1/work.log
===> Building for nagios-plugin-mqueue-0.1nb1
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -std=c99  -c check_mqueue.c
check_mqueue.c: In function 'main':
check_mqueue.c:77:28: warning: implicit declaration of function 'strtok_r'; did you mean 'strtok'? [-Wimplicit-function-declaration]
   77 |                 queuedir = strtok_r(argv[i], ",", &last);
      |                            ^~~~~~~~
      |                            strtok
check_mqueue.c:77:26: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   77 |                 queuedir = strtok_r(argv[i], ",", &last);
      |                          ^
check_mqueue.c:78:25: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   78 |                 warnstr = strtok_r(NULL, ",", &last);
      |                         ^
check_mqueue.c:79:25: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   79 |                 critstr = strtok_r(NULL, ",", &last);
      |                         ^
check_mqueue.c:93:33: error: 'struct dirent' has no member named 'd_namlen'; did you mean 'd_name'?
   93 |                         if (dp->d_namlen < 1)
      |                                 ^~~~~~~~
      |                                 d_name
*** [check_mqueue.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/nagios-plugin-mqueue/work/check_mqueue-0.1
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/net/nagios-plugin-mqueue/work/check_mqueue-0.1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/nagios-plugin-mqueue
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/nagios-plugin-mqueue