On 6 Jan 2021, at 17:58, Kristof Provost wrote:
On 6 Jan 2021, at 16:45, Kyle Evans wrote:
On Wed, Jan 6, 2021 at 8:30 AM Cy Schubert
<cy.schub...@cschubert.com> wrote:
In message
<CACNAnaGFZOWCBeuK4wiY7ztSFu2y5cAw8JrT6O7ad56yh=n9Yw@mail.gmail.c
om>
, Kyle Evans writes:
On Wed, Jan 6, 2021, 03:22 Kristof Provost <k...@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
I think clean_dep is intended for kernel use. This seems to work for me:
diff --git a/tools/build/depend-cleanup.sh
b/tools/build/depend-cleanup.sh
index 8b249ccf55fa..0b3ff9bcc635 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -56,3 +56,11 @@ 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
+if [ -e "$OBJTOP"/sbin/pfctl/.depend.pf_ruleset.o ] && \
+ egrep -qw "sys/netpfil/pf/pf_ruleset.c" \
+ "$OBJTOP"/sbin/pfctl/.depend.pf_ruleset.o; then
+ echo "Removing old pf_ruleset dependecy file"
+ rm -rf "$OBJTOP"/sbin/pfctl/.depend.pf_ruleset.o
+fi
Best regards,
Kristof
_______________________________________________
dev-commits-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"