Re: perl build failure?

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sun, 11 Aug 2024 03:50:20 UTC
On Sat, Aug 10, 2024 at 08:31:19PM -0700, David Wolfskill wrote:
> On Sat, Aug 10, 2024 at 08:05:25PM -0700, Steve Kargl wrote:
> > How is perl 5.36.3 the default version when it dies with
> > 
> > WARNING: re-sorting MANIFEST
> > *** [MANIFEST.srt] Error code 1
> > 
> > make: stopped making "all" in /usr/ports/lang/perl5.36/work/perl-5.36.3
> > --- lib/auto/re/re.so ---
> > Unsuccessful make(ext/re): code=1536 at make_ext.pl line 584.
> > *** [lib/auto/re/re.so] Error code 25
> > ....
> 
> I do not seem to be able to reproduce this.
> 
> I already had built & installed lang/perl5.36; as an experiment, then, I:
> 
> * cd /usr/ports/
> * sudo make -C lang/perl5.36
>   which was uneventful, ending in:
> ...
> ====> Compressing man pages (compress-man)
> ===>   Installing ldconfig configuration file
> 
> * echo $? (reported 0).
> 
> This was on a laptop running stable/14-n268434-5c4fd0b523f7, with the
> ports tree at main-n673933-bd6e35dc25c3.
> 
> In addition, at work, we include lang/perl5.36 in the images we build
> for the appliances we support; those run (a modified) FreeBSD head
> (presently based on main-n271321-9ae91f59c500), with a ports tree at
> main-n672216-4ff70f6df83e; these images are generally built several
> times per day -- and I don't recall being aware of any reported failures
> building perl5.36.  (The primary focus of my position is to look for
> unexpected anomalous behavior in those images before we hand them over
> for deployment; I like to think I'd be aware if such a thing were
> happening.)
> 
> Perhaps some additional information for reproducing the problem might be
> useful.
> 

This issue is occurring after a src/UPDATING buildworld/buildkernel
dance with top of tree freebsd, where I'm updating a circa Feb 2024
system.  Both source and ports were updated yesterday.  It takes a 
day to rebuild world/kernel (love llvm!!)

% cd /usr/ports/lang/perl5.36
% env MAKE_JOBS_UNSAFE=yes make
...
Making header files for XS...
Use of uninitialized value $tab[2] in substitution (s///) at ./mkheader line 122.
Use of uninitialized value $_[0] in pattern match (m//) at ./mkheader line 108.
Illegal hexadecimal digit '!' ignored at ./mkheader line 124.
Use of uninitialized value $tab[1] in string eq at ./mkheader line 125.
Weird Canonical Decomposition of U+0000 at ./mkheader line 155.
        require ./mkheader called at Makefile.PL line 13
Unsuccessful Makefile.PL(dist/Unicode-Normalize): code=65280 at make_ext.pl line 532.
*** Error code 2



-- 
Steve