+ 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-dnsmaster-0.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nagios-plugin-dnsmaster-0.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for nagios-plugin-dnsmaster-0.1
gcc   -c check_dnsmaster.c
gcc -lpthread -o check_dnsmaster check_dnsmaster.o
Undefined			first referenced
 symbol  			    in file
__ns_parserr                        check_dnsmaster.o
__ns_name_uncompress                check_dnsmaster.o
res_setservers                      check_dnsmaster.o
res_nquery                          check_dnsmaster.o
__ns_initparse                      check_dnsmaster.o
res_ninit                           check_dnsmaster.o
getaddrinfo                         check_dnsmaster.o
freeaddrinfo                        check_dnsmaster.o
gai_strerror                        check_dnsmaster.o
ld: fatal: symbol referencing errors. No output written to check_dnsmaster
collect2: error: ld returned 1 exit status
*** [check_dnsmaster] Error code 1

bmake: stopped in /home/pbulk/build/net/nagios-plugin-dnsmaster/work/check_dnsmaster-0.1
1 error

bmake: stopped in /home/pbulk/build/net/nagios-plugin-dnsmaster/work/check_dnsmaster-0.1
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/nagios-plugin-dnsmaster