Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jan 2021 17:58:06 +0100
From:      "Kristof Provost" <kp@FreeBSD.org>
To:        "Kyle Evans" <kevans@freebsd.org>
Cc:        "Cy Schubert" <Cy.Schubert@cschubert.com>, "Hartmann, O." <o.hartmann@walstatt.org>, src-committers <src-committers@freebsd.org>, dev-commits-src-all@freebsd.org,  dev-commits-src-main@freebsd.org
Subject:   Re: git: fda7daf06301 - main - pfctl: Stop sharing pf_ruleset.c with the kernel
Message-ID:  <0FF4FD8F-8E07-4CBE-B370-A7D8B722C892@FreeBSD.org>
In-Reply-To: <CACNAnaFCKMW-szmEQWzTcGaHoTm_JL=fH0T6MyJOi3M6PvVDgA@mail.gmail.com>
References:  <202101052237.105MbsPa081440@gitrepo.freebsd.org> <20210106055051.51e28498@hermann.fritz.box> <1D693FF6-3D56-40C0-A058-5EFF0E3058FD@FreeBSD.org> <20210106102002.5af4db05@hermann.fritz.box> <B3EE0BA5-33F9-410A-8957-DD8DF7A5B1B6@FreeBSD.org> <CACNAnaGFZOWCBeuK4wiY7ztSFu2y5cAw8JrT6O7ad56yh=n9Yw@mail.gmail.com> <202101061430.106EU2Og058101@slippy.cwsent.com> <CACNAnaFCKMW-szmEQWzTcGaHoTm_JL=fH0T6MyJOi3M6PvVDgA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6 Jan 2021, at 16:45, Kyle Evans wrote:
> On Wed, Jan 6, 2021 at 8:30 AM Cy Schubert <Cy.Schubert@cschubert.com> 
> wrote:
>> In message 
>> <CACNAnaGFZOWCBeuK4wiY7ztSFu2y5cAw8JrT6O7ad56yh=n9Yw@mail.gmail.c
>> om>
>> , Kyle Evans writes:
>>> On Wed, Jan 6, 2021, 03:22 Kristof Provost <kp@freebsd.org> wrote:
>>>
>>>> On 6 Jan 2021, at 10:20, Hartmann, O. wrote:
>>>>>
>>>>> amd64.
>>>>> kernel config is custom, no debug, IPFW, MAC. pf is not used, we 
>>>>> use
>>>> IPFW.
>>>> Please share your kernel config as well.
>>>>
>>>> Best regards,
>>>> Kristof
>>>>
>>> I note that the original report says buildkernel, but the log 
>>> exercpt is
>>> from buildworld. Looks like pf_ruleset.c kept the name, so this 
>>> needs a
>>> dependency cleanup rule in tools/build to build the right one on
>>> WITHOUT_CLEAN builds.
>>>
>>
>> Yes, this is the problem.
>>
>
> This should do, I think:
>
> diff --git a/tools/build/depend-cleanup.sh 
> b/tools/build/depend-cleanup.sh
> index 8b249ccf55f..7d078f52c84 100755
> --- a/tools/build/depend-cleanup.sh
> +++ b/tools/build/depend-cleanup.sh
> @@ -56,3 +56,6 @@ if [ -e "$OBJTOP"/rescue/rescue/rescue.c ] && \
>         echo "Removing old rescue(8) tree"
>         rm -rf "$OBJTOP"/rescue/rescue
>  fi
> +
> +# 20210105  fda7daf06301   pfctl gained its own version of 
> pf_ruleset.c
> +clean_dep sbin/pfctl pf_ruleset c

That doesn’t appear to be working here.
Possibly because clean_dep only removes if there’s a .pico file, and 
the dependency file is .depend.pf_ruleset.o

Bes regards,
Kristof



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0FF4FD8F-8E07-4CBE-B370-A7D8B722C892>