dtrace and poudriere

From: Gerard E. Seibert <jerry_at_seibercom.net>
Date: Thu, 03 Oct 2024 16:22:47 UTC
I'm encountering an issue with poudriere while building ports that
require "dtrace" on my 14.1-RELEASE-p5 FreeBSD system. For example,
when I try to build perl5.36, I receive the following error message
from Poudriere:

Error message from 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.

As a result, the entire build fails, as was the case with php84.
Removing "dtrace" from the configuration allows the build to succeed,
but this is not a sustainable solution since many programs depend on
"dtrace."

This issue only started occurring recently, so I believe it should be
possible for someone with the necessary expertise to address it.

Sincerely,
Jerry