=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/nagios-plugin-dnsmaster", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for nagios-plugin-dnsmaster-0.1 --- check_dnsmaster.o --- gcc -c check_dnsmaster.c check_dnsmaster.c: In function 'panic': check_dnsmaster.c:113:1: warning: old-style function definition [-Wold-style-definition] 113 | panic(msg) | ^~~~~ check_dnsmaster.c: In function 'free_addrlist': check_dnsmaster.c:121:1: warning: old-style function definition [-Wold-style-definition] 121 | free_addrlist(alp) | ^~~~~~~~~~~~~ check_dnsmaster.c: In function 'usage': check_dnsmaster.c:137:1: warning: old-style function definition [-Wold-style-definition] 137 | usage(name) | ^~~~~ check_dnsmaster.c: In function 'parse_options': check_dnsmaster.c:147:1: warning: old-style function definition [-Wold-style-definition] 147 | parse_options(argc, argv, opts) | ^~~~~~~~~~~~~ check_dnsmaster.c: In function 'load_domain': check_dnsmaster.c:193:1: warning: old-style function definition [-Wold-style-definition] 193 | load_domain(alp, addrs) | ^~~~~~~~~~~ check_dnsmaster.c: In function 'check_dnsmaster': check_dnsmaster.c:275:1: warning: old-style function definition [-Wold-style-definition] 275 | check_dnsmaster(addr, opts, nameserver_socks, nameserver_count, | ^~~~~~~~~~~~~~~ check_dnsmaster.c: In function 'main': check_dnsmaster.c:508:1: warning: old-style function definition [-Wold-style-definition] 508 | main(argc, argv) | ^~~~ --- check_dnsmaster --- 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 making "all" in /tmp/work/net/nagios-plugin-dnsmaster/work/check_dnsmaster-0.1 bmake: 1 error bmake: stopped making "all" in /tmp/work/net/nagios-plugin-dnsmaster/work/check_dnsmaster-0.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/nagios-plugin-dnsmaster *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/nagios-plugin-dnsmaster