Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Dec 2018 14:28:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233890] dns/nsd: 4.1.26 fails to build
Message-ID:  <bug-233890-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233890

            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@FreeBSD.org
          Reporter: r00t@kaba1ah.org
                CC: jaap@NLnetLabs.nl
                CC: jaap@NLnetLabs.nl
             Flags: maintainer-feedback?(jaap@NLnetLabs.nl)

Hello,

% uname -a
FreeBSD SRV-SYNTH 11.2-RELEASE-p5 FreeBSD 11.2-RELEASE-p5 #0 r341363: Sun D=
ec=20
2 12:35:44 CET 2018     r00t@SRV-SYNTH:/usr/obj/usr/src/sys/BSD112017110501=
PHY=20
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-aliasi=
ng=20
-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-aliasi=
ng=20
-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-aliasi=
ng=20
-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-aliasi=
ng=20
-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-aliasi=
ng=20
-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 =3D=3D 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
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /xports/dns/nsd

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233890-7788>