+ 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/pidof-2.96/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pidof-2.96/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for pidof-2.96
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/local/lib  killall5.c   -o killall5
killall5.c: In function 'xmemalign':
killall5.c:190:14: warning: implicit declaration of function 'posix_memalign'; did you mean 'xmemalign'? [-Wimplicit-function-declaration]
  190 |         if ((posix_memalign(memptr, alignment, size)) < 0) {
      |              ^~~~~~~~~~~~~~
      |              xmemalign
killall5.c: In function 'isnetfs':
killall5.c:252:22: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
  252 |                 if (!strcasecmp(netfs[n], type))
      |                      ^~~~~~~~~~
      |                      strncmp
killall5.c: In function 'readproc':
killall5.c:538:17: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]
  538 |                 snprintf(path, sizeof(path), "%s/stat", d->d_name);
      |                 ^~~~~~~~
killall5.c:62:1: note: 'snprintf' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'?
   61 | #include <unistd.h>
  +++ |+#include <stdio.h>
   62 | 
killall5.c:702:39: warning: implicit declaration of function 'readlink' [-Wimplicit-function-declaration]
  702 |                                 len = readlink(path, buf, PATH_MAX);
      |                                       ^~~~~~~~
killall5.c:730:17: warning: label 'link' defined but not used [-Wunused-label]
  730 |                 link:
      |                 ^~~~
killall5.c: In function 'main_pidof':
killall5.c:1047:41: warning: implicit declaration of function 'strsep'; did you mean 'strstr'? [-Wimplicit-function-declaration]
 1047 |                         while ((token = strsep(&here, ",;:"))) {
      |                                         ^~~~~~
      |                                         strstr
killall5.c:1047:39: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1047 |                         while ((token = strsep(&here, ",;:"))) {
      |                                       ^
killall5.c: In function 'main':
killall5.c:1203:47: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1203 |                                 while ((token = strsep(&here, ",;:"))) {
      |                                               ^
killall5.c:1239:9: warning: implicit declaration of function 'mlockall' [-Wimplicit-function-declaration]
 1239 |         mlockall(MCL_CURRENT | MCL_FUTURE);
      |         ^~~~~~~~
killall5.c:1239:18: error: 'MCL_CURRENT' undeclared (first use in this function)
 1239 |         mlockall(MCL_CURRENT | MCL_FUTURE);
      |                  ^~~~~~~~~~~
killall5.c:1239:18: note: each undeclared identifier is reported only once for each function it appears in
killall5.c:1239:32: error: 'MCL_FUTURE' undeclared (first use in this function)
 1239 |         mlockall(MCL_CURRENT | MCL_FUTURE);
      |                                ^~~~~~~~~~
killall5.c:1252:20: warning: implicit declaration of function 'getsid'; did you mean 'setsid'? [-Wimplicit-function-declaration]
 1252 |         sid = (int)getsid(0);
      |                    ^~~~~~
      |                    setsid
killall5.c:1281:9: warning: implicit declaration of function 'usleep'; did you mean 'sleep'? [-Wimplicit-function-declaration]
 1281 |         usleep(1);
      |         ^~~~~~
      |         sleep
killall5.c: At top level:
killall5.c:393:12: warning: 'maxsymlinks' defined but not used [-Wunused-function]
  393 | static int maxsymlinks(void)
      |            ^~~~~~~~~~~
killall5.c:371:12: warning: 'shadow' defined but not used [-Wunused-function]
  371 | static int shadow(SHADOW *restrict this, const char *restrict name, const size_t nlen)
      |            ^~~~~~
gmake: *** [<builtin>: killall5] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/sysutils/pidof
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/sysutils/pidof