[Bug 263858] dtrace: Fails to compile script on main: operator -> cannot be applied to a forward declaration: no struct ip_fw_args definition is available

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 15 May 2022 05:59:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263858

--- Comment #11 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Tomoaki AOKI from comment #10)

Problem solved.
I've missed one setting in /etc/make.conf only on main, which I believed I've
commented out several years ago, when sys/amd64/conf/GENERIC-NODEBUG was
introduced and switching to use it.

.if ${.CURDIR:M/usr/src/*}
DEBUG_FLAGS=
.endif

Commentig out this whole part solved the issue.
bz@'s script ran OK and java/openjdk11 builds fine.

The problematic part was one of the settings to disable debug settings.
I thought it also is needed to disable debug on -current ATM.

Remaining question is that why I've never bitten by this before, IIRC.

Anyway, I'll close this. Sorry for the noise.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.