Date: Wed, 22 Dec 2021 08:21:35 +0100 From: =?UTF-8?B?S29ucmFkIFNld2nFgsWCby1Kb3Blaw==?= <kjopek@gmail.com> To: gljennjohn@gmail.com Cc: Alastair Hogge <agh@riseup.net>, freebsd-current@freebsd.org Subject: Re: WITHOUT_PF breaks buildworld Message-ID: <CAGgez=%2B_jdDn6dfOeo%2BuBeeFNzBfD57HL4wUrw=X-BmGg7mPyg@mail.gmail.com> In-Reply-To: <20211219122443.1c84093f@ernst.home> References: <20211219114723.338b235e@ernst.home> <61bf1204.1c69fb81.2c8fc.3280SMTPIN_ADDED_BROKEN@mx.google.com> <20211219122443.1c84093f@ernst.home>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000f8bee505d3b6fa5b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Best regards, Konrad Sewi=C5=82=C5=82o-Jopek niedz., 19 gru 2021 o 12:26 Gary Jennejohn <gljennjohn@gmail.com> napisa=C5=82(a): > On Sun, 19 Dec 2021 19:05:35 +0800 > Alastair Hogge <agh@riseup.net> wrote: > > > On Sunday, 19 December 2021 6:47:23 PM AWST Gary Jennejohn wrote: > > > Some recent change, probably in a .mk file, breaks builworld on HEAD > > > when WITHOUT_PF is enabled in src.conf. > > > > I have had to disable WITHOUT_PF since 2020-07-27, but probably earlier= . > > > > Hmm. I did a successful buildworld a few days ago with WITHOUT_PF > enabled, so it's new breakge for me at least. > > I don't enable pf in the kernel and don't need it in userland. > > > > Disabling WITHOUT_PF results in a successful buildworld. > > > > > > The reported error is that netpfil/pf/pf.h can't be found. > > > > Some ports depend on that too. > > > > It may not be a problem for ports. Depends on where they look for > it. The file is still there under /sys and /usr/include. > > -- > Gary Jennejohn > > --000000000000f8bee505d3b6fa5b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I think= the reason is somewhere in tools/build/test-includes:</div><div><br></div>= <div>--- net/if_pfsync.o ---<br>In file included from net/if_pfsync.c:1:<br= >In file included from [...]freebsd/arm64.aarch64/tmp/usr/include/net/if_pf= sync.h:56:<br>[...]freebsd/arm64.aarch64/tmp/usr/include/net/pfvar.h:65:10:= fatal error: 'netpfil/pf/pf.h' file not found<br>#include <netp= fil/pf/pf.h><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~<br>1= error generated.<br>*** [net/if_pfsync.o] Error code 1<br><br>make[3]: sto= pped in [...]freebsd/tools/build/test-includes<br>--- net/pfvar.o ---<br>In= file included from net/pfvar.c:1:<br>[...]freebsd/arm64.aarch64/tmp/usr/in= clude/net/pfvar.h:65:10: fatal error: 'netpfil/pf/pf.h' file not fo= und<br>#include <netpfil/pf/pf.h><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0^~~~~~~~~~~~~~~~~<br>1 error generated.<br>*** [net/pfvar.o] Error code = 1<br><br>make[3]: stopped in [...]freebsd/tools/build/test-includes<br>2 er= rors<br><br>make[3]: stopped in [...]freebsd/tools/build/test-includes<br>*= ** [test-includes] Error code 2<br><br>make[2]: stopped in [...]freebsd<br>= 1 error<br><br></div><div>Best regards,<br></div><div><div><div><div dir=3D= "ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div>Konrad Sewi=C5=82=C5= =82o-Jopek</div></div></div></div><br></div></div></div></div><br><div clas= s=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">niedz., 19 gru 2021= o 12:26=C2=A0Gary Jennejohn <<a href=3D"mailto:gljennjohn@gmail.com">gl= jennjohn@gmail.com</a>> napisa=C5=82(a):<br></div><blockquote class=3D"g= mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204= ,204,204);padding-left:1ex">On Sun, 19 Dec 2021 19:05:35 +0800<br> Alastair Hogge <<a href=3D"mailto:agh@riseup.net" target=3D"_blank">agh@= riseup.net</a>> wrote:<br> <br> > On Sunday, 19 December 2021 6:47:23 PM AWST Gary Jennejohn wrote:<br> > > Some recent change, probably in a .mk file, breaks builworld on H= EAD<br> > > when WITHOUT_PF is enabled in src.conf.=C2=A0 <br> > <br> > I have had to disable WITHOUT_PF since 2020-07-27, but probably earlie= r.<br> > <br> <br> Hmm.=C2=A0 I did a successful buildworld a few days ago with WITHOUT_PF<br> enabled, so it's new breakge for me at least.<br> <br> I don't enable pf in the kernel and don't need it in userland.<br> <br> > > Disabling WITHOUT_PF results in a successful buildworld.<br> > > <br> > > The reported error is that netpfil/pf/pf.h can't be found.=C2= =A0 <br> > <br> > Some ports depend on that too.<br> > <br> <br> It may not be a problem for ports.=C2=A0 Depends on where they look for<br> it.=C2=A0 The file is still there under /sys and /usr/include.<br> <br> -- <br> Gary Jennejohn<br> <br> </blockquote></div> --000000000000f8bee505d3b6fa5b--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGgez=%2B_jdDn6dfOeo%2BuBeeFNzBfD57HL4wUrw=X-BmGg7mPyg>