[Bug 284285] dtrace: failed to establish error handler: "/usr/lib/dtrace/ipfw.d", line 191

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 23 Jan 2025 09:56:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284285

            Bug ID: 284285
           Summary: dtrace: failed to establish error handler:
                    "/usr/lib/dtrace/ipfw.d", line 191
           Product: Base System
           Version: 14.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: matthewdruid@gmail.com

I have encountered problem during building lang/perl5.36 using poudriere.

*** Configure:  Fatal Error:  /usr/sbin/dtrace doesn't support -h flag
***
*** Your installed dtrace doesn't support the -h switch to compile a D
*** program into a C header. Can't continue.

Executing dtrace with flag -h manually, I have got

matthewdruid@override-thinkpad-2:~ $ /usr/sbin/dtrace -h
dtrace: failed to establish error handler: "/usr/lib/dtrace/ipfw.d", line 191:
translator member inp definition uses incompatible types: "struct inpcb *" =
"struct inpcb *"

I found similar reported bugs
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258763
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283359

Both of them are related to dtrace and ipfw, but I couldn't find any also
related to line 191.

matthewdruid@override-thinkpad-2:~ $ freebsd-version -kru
14.2-RELEASE
14.2-RELEASE
14.2-RELEASE
matthewdruid@override-thinkpad-2:~ $ uname -a
FreeBSD override-thinkpad-2.witai.com.pl 14.2-RELEASE FreeBSD 14.2-RELEASE
releng/14.2-n269506-c8918d6c7412 GENERIC amd64

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