From owner-freebsd-current@freebsd.org Thu Feb 16 17:04:45 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB829CE13D3 for ; Thu, 16 Feb 2017 17:04:45 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF2251D5C for ; Thu, 16 Feb 2017 17:04:45 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id v1GH5KB2049563 for ; Thu, 16 Feb 2017 09:05:26 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: In-Reply-To: <6255771.COiSESJxsN@asus.theweb.org.ua> References: <6255771.COiSESJxsN@asus.theweb.org.ua> From: "Chris H" Subject: Re: Buildworld fails if WITHOUT_INET6=YES defined Date: Thu, 16 Feb 2017 09:05:26 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <2ef5212e9bfec9fcc923231743a73302@ultimatedns.net> Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2017 17:04:46 -0000 On Thu, 16 Feb 2017 17:30:37 +0200 "Oleg V. Nauman" wrote > cc -target i386-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp - > B/usr/obj/usr/src/tmp/usr/bin -O2 -pipe -march=core2 -DHAVE_CONFIG_H - > I/usr/src/lib/libpcap -I/usr/obj/usr/src/lib/libpcap - > D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF - > DBUILDING_PCAP -DHAVE_NET_PFVAR_H -I/usr/src/contrib/libpcap -MD - > MF.depend.fad-getad.o -MTfad-getad.o -std=gnu99 -fstack-protector-strong > -Wno- pointer-sign -Wno-empty-body -Wno-string-plus-int > -Wno-unused-const-variable - Wno-tautological-compare -Wno-unused-value > -Wno-parentheses-equality -Wno- unused-function -Wno-enum-conversion > -Wno-unused-local-typedef -Wno-switch - Wno-switch-enum > -Wno-knr-promoted-parameter -Wno-parentheses -Qunused- arguments -c > /usr/src/contrib/libpcap/fad-getad.c -o fad-getad.o cc -target > i386-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp - > B/usr/obj/usr/src/tmp/usr/bin -O2 -pipe -march=core2 -DHAVE_CONFIG_H - > I/usr/src/lib/libpcap -I/usr/obj/usr/src/lib/libpcap - > D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF - > DBUILDING_PCAP -DHAVE_NET_PFVAR_H -I/usr/src/contrib/libpcap -MD - > MF.depend.gencode.o -MTgencode.o -std=gnu99 -fstack-protector-strong -Wno- > pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable > - Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno- > unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch - > Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused- > arguments -c /usr/src/contrib/libpcap/gencode.c -o gencode.o > /usr/src/contrib/libpcap/gencode.c:695:9: error: no member named 'ai' in > 'struct _compiler_state' > cstate.ai = NULL; > ~~~~~~ ^ > /usr/src/contrib/libpcap/gencode.c:4916:13: error: use of undeclared > identifier 'cstate' > bpf_error(cstate, "direction applied to 'gateway'"); > ^ > /usr/src/contrib/libpcap/gencode.c:4923:11: error: use of undeclared > identifier 'cstate' > switch (cstate->linktype) { > ^ > /usr/src/contrib/libpcap/gencode.c:4961:17: error: use of undeclared > identifier 'cstate' > b1 = gen_host(cstate, **alist++, 0xffffffff, proto, Q_OR, > Q_HOST); > ^ > /usr/src/contrib/libpcap/gencode.c:4963:19: error: use of undeclared > identifier 'cstate' > tmp = gen_host(cstate, **alist++, 0xffffffff, proto, > Q_OR, > ^ > /usr/src/contrib/libpcap/gencode.c:4972:12: error: use of undeclared > identifier 'cstate' > bpf_error(cstate, "illegal modifier of 'gateway'"); > ^ > 6 errors generated. > *** Error code 1 > > Stop. > make[5]: stopped in /usr/src/lib/libpcap > *** Error code 1 > > I regret I don't have an immediate solution for you. But I seem to remember having seen at least a similar problem posted on the mailing lists. I did a search, and this was the closest I could find: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=146910 It's listed as still in progress dated 2010 -- yikes! Anyway. I think you might do well to create a pr(1) yourself for this. You can do so at the following link: https://bugs.freebsd.org/bugzilla/enter_bug.cgi Best wishes. --Chris