From owner-freebsd-current@freebsd.org Fri Feb 17 21:09:52 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 BB92BCE30A0 for ; Fri, 17 Feb 2017 21:09:52 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B72D1B08; Fri, 17 Feb 2017 21:09:52 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id B68A61EB8; Fri, 17 Feb 2017 21:09:51 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 3B8D32A5D0; Fri, 17 Feb 2017 21:09:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id Osc4BKtwpXnP; Fri, 17 Feb 2017 21:09:38 +0000 (UTC) Subject: Re: Buildworld fails if WITHOUT_INET6=YES defined DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com BE9452A5C6 To: "Ngie Cooper (yaneurabeya)" , "Oleg V. Nauman" References: <6255771.COiSESJxsN@asus.theweb.org.ua> <758FDB4C-C8CA-43B5-B100-CAF871AEA550@gmail.com> Cc: freebsd-current , Xin Li From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Fri, 17 Feb 2017 13:09:24 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0CROJ4q1MmEmskOkkvHjlvUxbnLHuPIXW" 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: Fri, 17 Feb 2017 21:09:52 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0CROJ4q1MmEmskOkkvHjlvUxbnLHuPIXW Content-Type: multipart/mixed; boundary="Hm8GtkNOSxA17TF0ahmpe2xTW0jAmtOno"; protected-headers="v1" From: Bryan Drewery To: "Ngie Cooper (yaneurabeya)" , "Oleg V. Nauman" Cc: freebsd-current , Xin Li Message-ID: Subject: Re: Buildworld fails if WITHOUT_INET6=YES defined References: <6255771.COiSESJxsN@asus.theweb.org.ua> <758FDB4C-C8CA-43B5-B100-CAF871AEA550@gmail.com> In-Reply-To: --Hm8GtkNOSxA17TF0ahmpe2xTW0jAmtOno Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2/17/2017 1:03 PM, Bryan Drewery wrote: > On 2/16/2017 10:07 AM, Ngie Cooper (yaneurabeya) wrote: >> >>> On Feb 16, 2017, at 07:30, Oleg V. Nauman wro= te: >>> >>> cc -target i386-unknown-freebsd12.0 --sysroot=3D/usr/obj/usr/src/tmp = - >>> B/usr/obj/usr/src/tmp/usr/bin -O2 -pipe -march=3Dcore2 -DHAVE_CONFI= G_H - >>> I/usr/src/lib/libpcap -I/usr/obj/usr/src/lib/libpcap - >>> D_U_=3D"__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=3Dgnu99 -fstack-protector-s= trong -Wno- >>> pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-v= ariable - >>> Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality = -Wno- >>> unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-s= witch - >>> Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunuse= d- >>> arguments -c /usr/src/contrib/libpcap/fad-getad.c -o fad-getad.o >>> cc -target i386-unknown-freebsd12.0 --sysroot=3D/usr/obj/usr/src/tmp = - >>> B/usr/obj/usr/src/tmp/usr/bin -O2 -pipe -march=3Dcore2 -DHAVE_CONFI= G_H - >>> I/usr/src/lib/libpcap -I/usr/obj/usr/src/lib/libpcap - >>> D_U_=3D"__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=3Dgnu99 -fstack-protector-stron= g -Wno- >>> pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-v= ariable - >>> Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality = -Wno- >>> unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-s= witch - >>> Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunuse= d- >>> 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 =3D 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 =3D 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 =3D 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 >> >> CCing Xin, who did the libpcap upgrade. >> -Ngie >> >=20 > I get an error even with INET6 building grammar.o: >=20 >> /root/git/freebsd/contrib/libpcap/grammar.y:348:15: error: use of unde= clared identifier 'cstate'; did you mean 'cstat'? >> finish_parse(cstate, yystack.l_mark[0].blk.b); = =20 >> ^~~~~~ = =20 >> cstat = =20 >> grammar.c:1291:1: note: 'cstat' declared here = =20 >> YYPARSE_DECL() = =20 >> ^ = =20 >=20 Ignore me, my yacc is just outdated. --=20 Regards, Bryan Drewery --Hm8GtkNOSxA17TF0ahmpe2xTW0jAmtOno-- --0CROJ4q1MmEmskOkkvHjlvUxbnLHuPIXW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJYp2aEAAoJEDXXcbtuRpfP06wIAJlKiY4Kl92jPEA858RXD/6C PqD5ZBemYZq6L3dmu+sCQ/XTPlaT/q78q1kqn9l/j/s0CCVlbZ54qpGRfvbuupNg NZgEnwlKinQJ1WbxFSLKzIa8GLNfASqrheSEcMuId+Fj4HhbvQls0syUdjm/eIrv wAiUdKOUfsazzmqXVTLUICdTh/pkLHfxQXrMJcLYhr/BlpBeBekUGhvsei+WqFQh 9ym0CDGK7vI1v/MJp/HZOe37mFAHE+AmYCqFOxNFRIozomGi6+NmXZHGi3WYn6rx WXrnwLczjOdgsmSWunlu6j/1SmARi8m6pY8Ep5AG3o3JxX2R6V+3DFRpTlToAmg= =F7sj -----END PGP SIGNATURE----- --0CROJ4q1MmEmskOkkvHjlvUxbnLHuPIXW--