Hello, % uname -a FreeBSD SRV-SYNTH 11.2-RELEASE-p5 FreeBSD 11.2-RELEASE-p5 #0 r341363: Sun Dec 2 12:35:44 CET 2018 r00t@SRV-SYNTH:/usr/obj/usr/src/sys/BSD112017110501PHY amd64 % svnlite info /usr/ports | grep Rev Revision: 487038 Last Changed Rev: 487038 Trying to build the latest NSD 4.1.26 with dnstap support enabled: --- configlexer.o --- cc -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -W -Wall -Wextra -Wdeclaration-after-statement -I/usr/local/include/google -c configlexer.c --- options.o --- cc -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -W -Wall -Wextra -Wdeclaration-after-statement -I/usr/local/include/google -c ./options.c --- dns.o --- cc -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -W -Wall -Wextra -Wdeclaration-after-statement -I/usr/local/include/google -c ./dns.c --- zonec.o --- cc -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -W -Wall -Wextra -Wdeclaration-after-statement -I/usr/local/include/google -c ./zonec.c --- dnstap.o --- cc -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -W -Wall -Wextra -Wdeclaration-after-statement -I/usr/local/include/google -c ./dnstap/dnstap.c ./dnstap/dnstap.c:322:10: error: no member named 'ss_family' in 'struct sockaddr_in'; did you mean 'sin_family'? if (ss->ss_family == AF_INET) { ^~~~~~~~~ sin_family /usr/include/netinet/in.h:97:14: note: 'sin_family' declared here sa_family_t sin_family; ^ 1 error generated. *** [dnstap.o] Error code 1 make[1]: stopped in /construction/xports/dns/nsd/work/nsd-4.1.26 1 error make[1]: stopped in /construction/xports/dns/nsd/work/nsd-4.1.26 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/dns/nsd
Created attachment 200008 [details] Patch to fix problem An apparent typo, here is a patch to fix
A commit references this bug: Author: swills Date: Mon Dec 10 16:28:27 UTC 2018 New revision: 487182 URL: https://svnweb.freebsd.org/changeset/ports/487182 Log: dns/nsd: Fix build with DNSTAP option enabled PR: 233890 Submitted by: jaap@NLnetLabs.nl (maintainer) Reported by: r00t@kaba1ah.org Changes: head/dns/nsd/Makefile head/dns/nsd/files/patch-dnstap_dnstap.c
Committed, thanks!
(In reply to jaap from comment #1) Is the quarterly version of the port/package affected? If so, please re-open and set merge-quarterly to ?