+ 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/nagios-plugin-dnsrbl-0.4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nagios-plugin-dnsrbl-0.4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for nagios-plugin-dnsrbl-0.4
--- check_dnsrbl.o ---
cc -pipe -O2 -D_FORTIFY_SOURCE=2  -c check_dnsrbl.c
check_dnsrbl.c: In function 'load_dnsrbl':
check_dnsrbl.c:339:35: warning: comparison between pointer and integer [enabled by default]
  for (lcount = 0; fgetln(f, &len) != NULL; lcount++); 
                                   ^
check_dnsrbl.c:354:13: warning: assignment makes pointer from integer without a cast [enabled by default]
   if ((line = fgetln(f, &len)) == NULL)
             ^
--- check_dnsrbl ---
cc -lpthread -o check_dnsrbl check_dnsrbl.o
check_dnsrbl.o: In function `check_dnsrbl_thread':
check_dnsrbl.c:(.text+0x12a): undefined reference to `__res_nquery'
check_dnsrbl.c:(.text+0x14a): undefined reference to `ns_initparse'
check_dnsrbl.c:(.text+0x1bf): undefined reference to `ns_parserr'
check_dnsrbl.o: In function `load_dnsrbl':
check_dnsrbl.c:(.text+0x6ce): undefined reference to `fgetln'
check_dnsrbl.c:(.text+0x73e): undefined reference to `fgetln'
check_dnsrbl.o: In function `rev_dns':
check_dnsrbl.c:(.text+0xb4d): undefined reference to `__res_nquery'
check_dnsrbl.c:(.text+0xb70): undefined reference to `ns_initparse'
check_dnsrbl.c:(.text+0xbc1): undefined reference to `ns_parserr'
check_dnsrbl.c:(.text+0xcb3): undefined reference to `__res_nquery'
check_dnsrbl.c:(.text+0xcd6): undefined reference to `ns_initparse'
check_dnsrbl.c:(.text+0xd21): undefined reference to `ns_parserr'
collect2: error: ld returned 1 exit status
*** [check_dnsrbl] Error code 1

bmake: stopped in /home/pbulk/build/net/nagios-plugin-dnsrbl/work/check_dnsrbl-0.4
1 error

bmake: stopped in /home/pbulk/build/net/nagios-plugin-dnsrbl/work/check_dnsrbl-0.4
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/nagios-plugin-dnsrbl
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/nagios-plugin-dnsrbl