+ 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/drac-1.12nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/drac-1.12nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for drac-1.12nb1
cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DTI_RPC -DFCNTL_LOCK -DSYSINFO -I/opt/pkg/include/db4 -I/usr/include -I/opt/pkg/include/db4 -I/usr/include -c testing.c
testing.c:10:1: warning: return type defaults to 'int' [-Wimplicit-int]
   10 | main(argc, argv)
      | ^~~~
testing.c: In function 'main':
testing.c:21:17: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   21 |                 exit(1);
      |                 ^~~~
testing.c:9:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
    8 | #include <arpa/inet.h>
  +++ |+#include <stdlib.h>
    9 | 
testing.c:21:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   21 |                 exit(1);
      |                 ^~~~
testing.c:21:17: note: include '<stdlib.h>' or provide a declaration of 'exit'
testing.c:25:14: warning: implicit declaration of function 'dracauth' [-Wimplicit-function-declaration]
   25 |         rc = dracauth(host, ip, &err);
      |              ^~~~~~~~
rpcgen  drac.x
cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DTI_RPC -DFCNTL_LOCK -DSYSINFO -I/opt/pkg/include/db4 -I/usr/include -I/opt/pkg/include/db4 -I/usr/include -c dracauth.c
cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DTI_RPC -DFCNTL_LOCK -DSYSINFO -I/opt/pkg/include/db4 -I/usr/include -I/opt/pkg/include/db4 -I/usr/include -c drac_xdr.c
cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DTI_RPC -DFCNTL_LOCK -DSYSINFO -I/opt/pkg/include/db4 -I/usr/include -I/opt/pkg/include/db4 -I/usr/include -c drac_clnt.c
rm -f libdrac.a
ar cq libdrac.a dracauth.o drac_xdr.o drac_clnt.o
ranlib libdrac.a
cc -o testing testing.o -L. -ldrac 
Undefined			first referenced
 symbol  			    in file
clnt_create                         ./libdrac.a(dracauth.o)
clnt_spcreateerror                  ./libdrac.a(dracauth.o)
xdr_u_long                          ./libdrac.a(drac_xdr.o)
xdr_enum                            ./libdrac.a(drac_xdr.o)
clnt_sperror                        ./libdrac.a(dracauth.o)
ld: fatal: symbol referencing errors. No output written to testing
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/mail/drac/work
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/drac
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/drac