[Bug 265689] lang/perl5.32:fails to build: Configure: Fatal Error: /usr/sbin/dtrace doesn't support -h flag

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Aug 2022 15:15:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265689

            Bug ID: 265689
           Summary: lang/perl5.32:fails to build: Configure:  Fatal Error:
                     /usr/sbin/dtrace doesn't support -h flag
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mat@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: mat@FreeBSD.org
             Flags: maintainer-feedback?(mat@FreeBSD.org)

On recent CURRENT (FreeBSD 14.0-CURRENT #92 main-n257125-3c4f8adc794d: Thu Aug 
4 16:10:50 CEST 2022 amd64) fails to build:

[...]
List of earlier versions to include in @INC? [none]  
<malloc/malloc.h> NOT found.
<malloc.h> found.
Hmm.  Based on the hints in hints/freebsd.sh, 
the recommended value for $i_malloc on this machine was "undef"!
    Keep the recommended value? [y]  
Checking to see how big your pointers are...
Do you wish to wrap malloc calls to protect against potential overflows? [y]  
Do you wish to attempt to use the malloc that comes with perl5? [n]  
Your system wants malloc to return 'void *', it would seem.
Your system uses void free(), it would seem.
Pathname for the site-specific architecture-dependent library files? (~name ok)
[/usr/local/lib/perl5/site_perl/mach/5.32]  
Do you want to configure vendor-specific add-on directories? [n]  
Colon-separated list of additional directories for perl to search? [none]  
Support DTrace if available? [y]  
Where is the dtrace executable? (~name ok) [/usr/sbin/dtrace]  

*** 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.

===>  Script "Configure" failed unexpectedly.
Please report the problem to mat@FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/perl5.32/work/perl-5.32.1/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/perl5.32
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/perl5.32

===>>> make build failed for lang/perl5.32
===>>> Aborting update

[...]
Config options are on default.

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