=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for dnscap-141 --- dnscap.o --- --- dump_dns.o --- --- dnscap.cat1 --- --- dnscap.o --- clang -Wall -O2 -c dnscap.c --- dump_dns.o --- clang -Wall -O2 -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); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/pcap.h:332:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/funcattrs.h:227: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/usr/lib -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 /opt/work/net/dnscap/work/dnscap-141 1 error bmake: stopped in /opt/work/net/dnscap/work/dnscap-141 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/dnscap *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/dnscap