=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nagios-plugin-dnsrbl", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for nagios-plugin-dnsrbl-0.6 --- check_dnsrbl.o --- clang -pipe -Os -c check_dnsrbl.c check_dnsrbl.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | panic(msg) | ^ check_dnsrbl.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | free_addrlist(alp) | ^ check_dnsrbl.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | usage(name) | ^ check_dnsrbl.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | parse_options(argc, argv) | ^ check_dnsrbl.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | print_rev4(s, a) | ^ check_dnsrbl.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | print_rev6(s, a) | ^ check_dnsrbl.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | rev_addr(alp, mtx, query, addr, family) | ^ check_dnsrbl.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | load_dnsrbl(file) | ^ check_dnsrbl.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | load_addr(alp, mtx, addrs) | ^ check_dnsrbl.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | rev_dns(alp, mtx, name) | ^ check_dnsrbl.c:529:34: error: use of undeclared identifier 'C_IN' 529 | anslen4 = res_nquery(res, name, C_IN, T_A, ans4, NS_MAXMSG + 1); | ^ check_dnsrbl.c:529:40: error: use of undeclared identifier 'T_A' 529 | anslen4 = res_nquery(res, name, C_IN, T_A, ans4, NS_MAXMSG + 1); | ^ check_dnsrbl.c:542:41: error: use of undeclared identifier 'T_A' 542 | if ((rr.rdlength != 4) ||(rr.type != T_A)) | ^ check_dnsrbl.c:550:28: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 550 | print_rev4(al->al_addr, rr.rdata); | ^~~~~~~~ check_dnsrbl.c:564:34: error: use of undeclared identifier 'C_IN' 564 | anslen6 = res_nquery(res, name, C_IN, T_AAAA, ans6, NS_MAXMSG + 1); | ^ check_dnsrbl.c:564:40: error: use of undeclared identifier 'T_AAAA' 564 | anslen6 = res_nquery(res, name, C_IN, T_AAAA, ans6, NS_MAXMSG + 1); | ^ check_dnsrbl.c:578:43: error: use of undeclared identifier 'T_AAAA' 578 | if ((rr.rdlength != 16) || (rr.type != T_AAAA)) | ^ check_dnsrbl.c:586:28: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 586 | print_rev6(al->al_addr, rr.rdata); | ^~~~~~~~ check_dnsrbl.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | check_dnsrbl(revaddr, d, alp, mtx, wait_cond, retval, count) | ^ check_dnsrbl.c:677:39: error: use of undeclared identifier 'C_IN' 677 | anslen4 = res_nquery(res, queryname, C_IN, T_A, | ^ check_dnsrbl.c:677:45: error: use of undeclared identifier 'T_A' 677 | anslen4 = res_nquery(res, queryname, C_IN, T_A, | ^ check_dnsrbl.c:699:41: error: use of undeclared identifier 'T_A' 699 | if ((rr.rdlength != 4) ||(rr.type != T_A)) | ^ check_dnsrbl.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | check_subnet(addr, subnet, maskint) | ^ check_dnsrbl.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | main(argc, argv) | ^ 15 warnings and 9 errors generated. *** [check_dnsrbl.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/net/nagios-plugin-dnsrbl/work/check_dnsrbl-0.6 bmake: 1 error bmake: stopped making "all" in /var/tmp/work/net/nagios-plugin-dnsrbl/work/check_dnsrbl-0.6 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nagios-plugin-dnsrbl *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nagios-plugin-dnsrbl