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

Gleb Smirnoff glebius at FreeBSD.org
Mon Oct 28 22:33:38 UTC 2013


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifconfig-Makefile.diff
Type: text/x-diff
Size: 434 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131029/65408402/attachment.diff>


More information about the freebsd-current mailing list