+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tload-2.0.6nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tload-2.0.6nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for tload-2.0.6nb1
cd /home/pbulk/build/sysutils/tload/work/procps-2.0.6 ;  cc  -pipe -O2  tload.c -o tload
tload.c: In function ‘main’:
tload.c:176:17: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]
  176 |         datet = time(NULL);
      |                 ^~~~
tload.c:177:9: warning: implicit declaration of function ‘strftime’ [-Wimplicit-function-declaration]
  177 |         strftime(date, sizeof(date), "%c", localtime(&datet));
      |         ^~~~~~~~
tload.c:23:1: note: include ‘<time.h>’ or provide a declaration of ‘strftime’
   22 | #include <sys/ioctl.h>
  +++ |+#include <time.h>
   23 | 
tload.c:177:9: warning: incompatible implicit declaration of built-in function ‘strftime’ [-Wbuiltin-declaration-mismatch]
  177 |         strftime(date, sizeof(date), "%c", localtime(&datet));
      |         ^~~~~~~~
tload.c:177:9: note: include ‘<time.h>’ or provide a declaration of ‘strftime’
tload.c:177:44: warning: implicit declaration of function ‘localtime’ [-Wimplicit-function-declaration]
  177 |         strftime(date, sizeof(date), "%c", localtime(&datet));
      |                                            ^~~~~~~~~
tload.c:177:44: warning: passing argument 4 of ‘strftime’ makes pointer from integer without a cast [-Wint-conversion]
  177 |         strftime(date, sizeof(date), "%c", localtime(&datet));
      |                                            ^~~~~~~~~~~~~~~~~
      |                                            |
      |                                            int
tload.c:177:44: note: expected ‘const void *’ but argument is of type ‘int’
tload.c:186:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  186 |         write(fd, "\033[H", 3);
      |         ^~~~~~~~~~~~~~~~~~~~~~
tload.c:187:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  187 |         write(fd, screen, scr_size - 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/ld: /tmp/cc2oug8P.o: in function `main':
tload.c:(.text.startup+0x65): undefined reference to `display_version'
/bin/ld: tload.c:(.text.startup+0x142): undefined reference to `loadavg'
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/tload
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/tload