Re: buildworld failure: pfvar.h:44 #include <netpfil/pf/pf.h> not found

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Tue, 29 Oct 2013 02:33:35 +0400
On Mon, Oct 28, 2013 at 11:14:57PM +0100, dt71_at_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 <netpfil/pf/pf.h>
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.

Received on Mon Oct 28 2013 - 21:33:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC