=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for dnscap-141 --- dnscap.o --- --- dump_dns.o --- --- dnscap.cat1 --- --- dnscap.o --- clang -Wall -pipe -Os -I/opt/pkg/include -c dnscap.c --- dump_dns.o --- clang -Wall -pipe -Os -I/opt/pkg/include -c dump_dns.c --- dnscap.cat1 --- nroff -mandoc dnscap.1 > dnscap.cat1 --- dump_dns.o --- dump_dns.c:12:19: warning: unused variable 'rcsid' [-Wunused-const-variable] static const char rcsid[] = "$Id: dump_dns.c,v 1.2 2008-03-14 21:33:28 wessels Exp $"; ^ 1 warning generated. --- dnscap.o --- dnscap.c:888:10: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] name = pcap_lookupdev(errbuf); ^ /Users/pbulk/build/net/dnscap/work/.buildlink/include/pcap/pcap.h:395:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); ^ /Users/pbulk/build/net/dnscap/work/.buildlink/include/pcap/funcattrs.h:293:53: note: expanded from macro 'PCAP_DEPRECATED' #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) ^ dnscap.c:2021:21: warning: taking address of packed member 'ip6_src' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] init_addr = &ipv6->ip6_src; ^~~~~~~~~~~~~ dnscap.c:2022:21: warning: taking address of packed member 'ip6_dst' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] resp_addr = &ipv6->ip6_dst; ^~~~~~~~~~~~~ dnscap.c:2025:21: warning: taking address of packed member 'ip6_dst' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] init_addr = &ipv6->ip6_dst; ^~~~~~~~~~~~~ dnscap.c:2026:21: warning: taking address of packed member 'ip6_src' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] resp_addr = &ipv6->ip6_src; ^~~~~~~~~~~~~ dnscap.c:2204:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] x = x; ~ ^ ~ dnscap.c:8:19: warning: unused variable 'copyright' [-Wunused-const-variable] static const char copyright[] = ^ 7 warnings generated. --- dnscap --- clang -o dnscap -L/opt/pkg/lib dnscap.o dump_dns.o -lpcap Undefined symbols for architecture arm64: "_res_9_init", referenced from: _main in dnscap.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [dnscap] Error code 1 bmake: stopped in /Users/pbulk/build/net/dnscap/work/dnscap-141 1 error bmake: stopped in /Users/pbulk/build/net/dnscap/work/dnscap-141 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/dnscap *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/dnscap