On Wed, 22 Dec 2021 08:21:35 +0100 Konrad Sewi??o-Jopek <kjo...@gmail.com> wrote:
> Hi, > > I think the reason is somewhere in tools/build/test-includes: > > --- net/if_pfsync.o --- > In file included from net/if_pfsync.c:1: > In file included from > [...]freebsd/arm64.aarch64/tmp/usr/include/net/if_pfsync.h:56: > [...]freebsd/arm64.aarch64/tmp/usr/include/net/pfvar.h:65:10: fatal error: > 'netpfil/pf/pf.h' file not found > #include <netpfil/pf/pf.h> > ^~~~~~~~~~~~~~~~~ > 1 error generated. > *** [net/if_pfsync.o] Error code 1 > > make[3]: stopped in [...]freebsd/tools/build/test-includes > --- net/pfvar.o --- > In file included from net/pfvar.c:1: > [...]freebsd/arm64.aarch64/tmp/usr/include/net/pfvar.h:65:10: fatal error: > 'netpfil/pf/pf.h' file not found > #include <netpfil/pf/pf.h> > ^~~~~~~~~~~~~~~~~ > 1 error generated. > *** [net/pfvar.o] Error code 1 > > make[3]: stopped in [...]freebsd/tools/build/test-includes > 2 errors > > make[3]: stopped in [...]freebsd/tools/build/test-includes > *** [test-includes] Error code 2 > > make[2]: stopped in [...]freebsd > 1 error > Could be. With WITHOUT_PF include/netpfil/pf/pf.h disappears from obj. But since buildworld still tries to build net/if_pfsync.c and other pf-related binaries the buildworld fails. One would thank the WITHOUT_PF should also block building ALL pf-related binaries, but that's not the case. -- Gary Jennejohn