+ 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 -c check_dnsrbl.c check_dnsrbl.c: In function 'load_dnsrbl': check_dnsrbl.c:339:19: warning: implicit declaration of function 'fgetln'; did you mean 'fgets'? [-Wimplicit-function-declaration] for (lcount = 0; fgetln(f, &len) != NULL; lcount++); ^~~~~~ fgets check_dnsrbl.c:339:35: warning: comparison between pointer and integer for (lcount = 0; fgetln(f, &len) != NULL; lcount++); ^~ check_dnsrbl.c:354:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 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+0x120): undefined reference to `__res_nquery' check_dnsrbl.c:(.text+0x140): undefined reference to `ns_initparse' check_dnsrbl.c:(.text+0x1ae): undefined reference to `ns_parserr' check_dnsrbl.o: In function `load_dnsrbl': check_dnsrbl.c:(.text+0x6d2): undefined reference to `fgetln' check_dnsrbl.c:(.text+0x734): undefined reference to `fgetln' check_dnsrbl.o: In function `rev_dns': check_dnsrbl.c:(.text+0xb3f): undefined reference to `__res_nquery' check_dnsrbl.c:(.text+0xb5f): undefined reference to `ns_initparse' check_dnsrbl.c:(.text+0xb9e): undefined reference to `ns_parserr' check_dnsrbl.c:(.text+0xc7d): undefined reference to `__res_nquery' check_dnsrbl.c:(.text+0xcb3): undefined reference to `ns_initparse' check_dnsrbl.c:(.text+0xcea): undefined reference to `ns_parserr' collect2: error: ld returned 1 exit status *** [check_dnsrbl] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/nagios-plugin-dnsrbl/work/check_dnsrbl-0.4 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/nagios-plugin-dnsrbl/work/check_dnsrbl-0.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/nagios-plugin-dnsrbl *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/nagios-plugin-dnsrbl