From owner-freebsd-current@FreeBSD.ORG Mon Oct 28 22:33:38 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 56E8A125 for ; Mon, 28 Oct 2013 22:33:38 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B801624C9 for ; Mon, 28 Oct 2013 22:33:37 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id r9SMXZ6R031843; Tue, 29 Oct 2013 02:33:35 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id r9SMXZG0031842; Tue, 29 Oct 2013 02:33:35 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 29 Oct 2013 02:33:35 +0400 From: Gleb Smirnoff To: dt71@gmx.com Subject: Re: buildworld failure: pfvar.h:44 #include not found Message-ID: <20131028223334.GE52889@FreeBSD.org> References: <526EE1E1.6090905@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="FX+Db2fp7WJhXKrW" Content-Disposition: inline In-Reply-To: <526EE1E1.6090905@gmx.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 28 Oct 2013 22:33:38 -0000 --FX+Db2fp7WJhXKrW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Oct 28, 2013 at 11:14:57PM +0100, dt71@gmx.com wrote: d> ===> sbin/ifconfig (depend) d> rm -f .depend d> CC='/path/to/clang --sysroot=/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin' mkdep -f .depend -a -DINET -DNDEBUG -std=gnu99 /usr/src/sbin/ifconfig/ifconfig.c /usr/src/sbin/ifconfig/af_link.c /usr/src/sbin/ifconfig/af_inet.c /usr/src/sbin/ifconfig/af_atalk.c /usr/src/sbin/ifconfig/ifclone.c /usr/src/sbin/ifconfig/ifmac.c /usr/src/sbin/ifconfig/ifmedia.c /usr/src/sbin/ifconfig/iffib.c /usr/src/sbin/ifconfig/ifvlan.c /usr/src/sbin/ifconfig/ifgre.c /usr/src/sbin/ifconfig/ifgif.c /usr/src/sbin/ifconfig/ifieee80211.c /usr/src/sbin/ifconfig/regdomain.c /usr/src/sbin/ifconfig/carp.c /usr/src/sbin/ifconfig/ifgroup.c /usr/src/sbin/ifconfig/ifpfsync.c /usr/src/sbin/ifconfig/ifbridge.c /usr/src/sbin/ifconfig/iflagg.c d> In file included from /usr/src/sbin/ifconfig/ifpfsync.c:35: d> /usr/obj/usr/src/tmp/usr/include/net/pfvar.h:44:10: fatal error: d> 'netpfil/pf/pf.h' file not found d> #include d> ^ d> d> /usr/obj was clean. See below ... d> The environment contains, notably: ... d> WITHOUT_PF=1 This one prevented headers to be installed into temporary build dir. Can you please test attached patch? -- Totus tuus, Glebius. --FX+Db2fp7WJhXKrW Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="ifconfig-Makefile.diff" Index: sbin/ifconfig/Makefile =================================================================== --- sbin/ifconfig/Makefile (revision 257269) +++ sbin/ifconfig/Makefile (working copy) @@ -40,7 +40,9 @@ LDADD+= -lbsdxml -lsbuf SRCS+= carp.c # SIOC[GS]VH support SRCS+= ifgroup.c # ... +.if ${MK_PF} != "no" SRCS+= ifpfsync.c # pfsync(4) support +.endif SRCS+= ifbridge.c # bridge support SRCS+= iflagg.c # lagg support --FX+Db2fp7WJhXKrW--