From owner-freebsd-current@freebsd.org Mon May 7 16:53:40 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9A49FB6909 for ; Mon, 7 May 2018 16:53:40 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 714A871B44 for ; Mon, 7 May 2018 16:53:40 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: by mailman.ysv.freebsd.org (Postfix) id 28EF2FB6907; Mon, 7 May 2018 16:53:40 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15275FB6906 for ; Mon, 7 May 2018 16:53:40 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protected-networks.net", Issuer "Protected Networks CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A93F171B26; Mon, 7 May 2018 16:53:39 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from [IPv6:2607:fb90:6882:41fe:212a:5e35:29e1:504f] (unknown [IPv6:2607:fb90:6882:41fe:212a:5e35:29e1:504f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 7625239511; Mon, 7 May 2018 12:53:31 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: conflicting definitions: SVN r333283 et al From: Michael Butler X-Mailer: iPhone Mail (15E302) In-Reply-To: <20180507141635.GC57279@raichu> Date: Mon, 7 May 2018 12:53:28 -0400 Cc: FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <37efc4e0-6f47-8cf5-8287-d6cb38b00e77@protected-networks.net> <20180507141635.GC57279@raichu> To: Mark Johnston X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Mon, 07 May 2018 16:53:41 -0000 Entirely possible - I haven=E2=80=99t focused on =E2=80=98make buildworld=E2= =80=99 logs for a while - just concerned how many applications rely on the a= fnet6 definition .. Sent from my iPhone > On May 7, 2018, at 10:16, Mark Johnston wrote: >=20 >> On Mon, May 07, 2018 at 09:18:54AM -0400, Michael Butler wrote: >> Recent netdump changes appear to introduced/highlighted conflicting >> definitions .. >=20 > The conflicting definitions in ip_compat.h already existed, and I'm not > sure why the netdump import brought them to light. I didn't see this > failure when doing build testing, and the CI jobs aren't reporting > anything. Is this happening during a buildworld? >=20 >> Building /usr/obj/usr/src/i386.i386/lib/libsysdecode/ioctl.c >> In file included from :70: >> In file included from >> /usr/obj/usr/src/i386.i386/tmp/usr/include/netinet/netdump/netdump.h:37: >> In file included from >> /usr/obj/usr/src/i386.i386/tmp/usr/include/net/if.h:48: >> /usr/obj/usr/src/i386.i386/tmp/usr/include/sys/socket.h:251:9: warning: >> 'AF_INET6' macro redefined [-Wmacro-redefined] >> #define AF_INET6 28 /* IPv6 */ >> ^ >> /usr/obj/usr/src/i386.i386/tmp/usr/include/netinet/ip_compat.h:1467:10: >> note: previous definition is here >> # define AF_INET6 26 >> ^ >> In file included from :70: >> In file included from >> /usr/obj/usr/src/i386.i386/tmp/usr/include/netinet/netdump/netdump.h:37: >> /usr/obj/usr/src/i386.i386/tmp/usr/include/net/if.h:58:10: warning: >> 'IFNAMSIZ' macro redefined [-Wmacro-redefined] >> #define IFNAMSIZ IF_NAMESIZE >> ^ >> /usr/obj/usr/src/i386.i386/tmp/usr/include/netinet/ip_compat.h:1415:9: >> note: previous definition is here >> #define IFNAMSIZ 16 >> ^ >> 2 warnings generated. >>=20 >> imb >>=20