[Bug 233890] dns/nsd: 4.1.26 fails to build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 9 14:28:11 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233890

            Bug ID: 233890
           Summary: dns/nsd: 4.1.26 fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: r00t at kaba1ah.org
                CC: jaap at NLnetLabs.nl
                CC: jaap at NLnetLabs.nl
             Flags: maintainer-feedback?(jaap at NLnetLabs.nl)

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 at 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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list