From nobody Wed Dec 22 07:21:35 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0FB2A1900302 for ; Wed, 22 Dec 2021 07:22:13 +0000 (UTC) (envelope-from kjopek@gmail.com) Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JJlBr1rRyz3k4J for ; Wed, 22 Dec 2021 07:22:12 +0000 (UTC) (envelope-from kjopek@gmail.com) Received: by mail-il1-x12f.google.com with SMTP id w1so1100109ilh.9 for ; Tue, 21 Dec 2021 23:22:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tmDqIC7X9hmijttFb7Fu8/l6aQhiNwhYiYzvK/ctk9Q=; b=iRsnkCGUiI+qcYagHXaXLPJLlOkZHMZNgsVJUvg1Weum4k82nGoCJPhQCtXKv9k2cu J3r36sSisXAZlwWJ0cbV2b1eLsXRHtn+ZMrGwgL9tN0ldTXKRakdfuqEVN6zDZRKOzEd pfOXdCVNwywZlD/J8fXFBNqxYYmelykKQZmxm6+rJ4V90HyqH5vVF0eJ6IdniNQhEkAK Qi5+Ove2UoSLZw87JBlI0r9oDsk3xpAfzg3YcpUJSZepBcHXP/462lZl230SbhIXPs/d Ma9lVmPqQSrTxFyZJscql6+dniqYKmBWjghZH1qTaGCVqTU6DygONCbRtRk7+l8v3Yo7 WpkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tmDqIC7X9hmijttFb7Fu8/l6aQhiNwhYiYzvK/ctk9Q=; b=cMFtb28HnkAiDDyzi/hlEGdEsp9qAgZjs2UNsay0tXeXswzvnyeLirwWoOMpnAPo6Y Vrhj7wOlZThPgf4FNmHqi7MKAKqGLduHRaRGmjrg4rcOxW54M1nvWB9H/iRKFlQEgxK2 XuotwcqsEwn5v/fDlq4SjXX4EjXptk4H7rgDzCIypSPM0DO/XHbv3/+4ttCsryWLtrZW 4aLPz4LGQP8/b7OCvg1PbTG8mA3mObwdAJBrBXsskaJHUaGUExSmGZYPD1eY9qT1mfZb XZk8aLJ40sQ0+W+msFMgV0Zqo5aMz9Ympv92/TWDUunxBsr4k/W0syiMrTJzf/XRJBwh eRyg== X-Gm-Message-State: AOAM530CWhvCaMVtRyi+T9cLnQXYuEJuInSzDh5WzkFPtUNU8eUBaHmD 73y9YxZDnqMODi8hgCS6FiCb1uKTLh1PHq3zuQ== X-Google-Smtp-Source: ABdhPJyCQPW4wmPSlsYkAwmrlFGLCCuOs7kAbY9pMOGhCpCcwulll1Kbdvx29Yz3o3uwEvVnumaHXQ3xgvualV0cot4= X-Received: by 2002:a05:6e02:78e:: with SMTP id q14mr750949ils.105.1640157731666; Tue, 21 Dec 2021 23:22:11 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20211219114723.338b235e@ernst.home> <61bf1204.1c69fb81.2c8fc.3280SMTPIN_ADDED_BROKEN@mx.google.com> <20211219122443.1c84093f@ernst.home> In-Reply-To: <20211219122443.1c84093f@ernst.home> From: =?UTF-8?B?S29ucmFkIFNld2nFgsWCby1Kb3Blaw==?= Date: Wed, 22 Dec 2021 08:21:35 +0100 Message-ID: Subject: Re: WITHOUT_PF breaks buildworld To: gljennjohn@gmail.com Cc: Alastair Hogge , freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="000000000000f8bee505d3b6fa5b" X-Rspamd-Queue-Id: 4JJlBr1rRyz3k4J X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=iRsnkCGU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kjopek@gmail.com designates 2607:f8b0:4864:20::12f as permitted sender) smtp.mailfrom=kjopek@gmail.com X-Spamd-Result: default: False [-2.75 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; R_MIXED_CHARSET(1.25)[subject]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12f:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --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 ^~~~~~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~~~~~ 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 napisa=C5=82(a): > On Sun, 19 Dec 2021 19:05:35 +0800 > Alastair Hogge 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
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_pf= sync.h:56:
[...]freebsd/arm64.aarch64/tmp/usr/include/net/pfvar.h:65:10:= fatal error: 'netpfil/pf/pf.h' file not found
#include <netp= fil/pf/pf.h>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~
1= error generated.
*** [net/if_pfsync.o] Error code 1

make[3]: sto= pped in [...]freebsd/tools/build/test-includes
--- net/pfvar.o ---
In= file included from net/pfvar.c:1:
[...]freebsd/arm64.aarch64/tmp/usr/in= clude/net/pfvar.h:65:10: fatal error: 'netpfil/pf/pf.h' file not fo= und
#include <netpfil/pf/pf.h>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0^~~~~~~~~~~~~~~~~
1 error generated.
*** [net/pfvar.o] Error code = 1

make[3]: stopped in [...]freebsd/tools/build/test-includes
2 er= rors

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=C2=A0Gary Jennejohn <gl= jennjohn@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 H= EAD
> > when WITHOUT_PF is enabled in src.conf.=C2=A0
>
> I have had to disable WITHOUT_PF since 2020-07-27, but probably earlie= r.
>

Hmm.=C2=A0 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.=C2= =A0
>
> Some ports depend on that too.
>

It may not be a problem for ports.=C2=A0 Depends on where they look for
it.=C2=A0 The file is still there under /sys and /usr/include.

--
Gary Jennejohn

--000000000000f8bee505d3b6fa5b--