[sf-perl] macOS 11.2.1 Perl 5.28.2 ExtUtils::MakeMaker 7.34 'perl Makefile.PL' Segmentation fault: 11

Joseph Brenner doomvox at gmail.com
Thu Feb 11 21:51:10 PST 2021


That sounds pretty crazy...

Are familiar with the perl debugger?  You could try running with "perl
-d", then single stepping ("n" or maybe "s") repeatedly to narrow down
where it's segfaulting.

A random thought: you could try initializing the module differently,
rather than using h2xs.   Or try basing it on something besides
ExtUtils::Makemaker?



On 2/11/21, David Christensen <dpchrist at holgerdanske.com> wrote:
> sanfrancisco-pm:
>
> I have a 2015 MacBook Pro that I recently updated to macOS 11.2.1 "Big
> Sur".
>
> 2021-02-11 20:17:16 dpchrist at MacBook-Pro ~
> $ uname -a
> Darwin MacBook-Pro.tracy.holgerdanske.com 20.3.0 Darwin Kernel Version
> 20.3.0: Thu Jan 21 00:07:06 PST 2021;
> root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64
>
> 2021-02-11 20:19:46 dpchrist at MacBook-Pro ~
> $ perl -v
>
> This is perl 5, version 28, subversion 2 (v5.28.2) built for
> darwin-thread-multi-2level
> (with 2 registered patches, see perl -V for more detail)
> ...
>
> 2021-02-11 20:20:08 dpchrist at MacBook-Pro ~
> $ perl -MExtUtils::MakeMaker -e 'print $ExtUtils::MakeMaker::VERSION, "\n"'
> 7.34
>
>
> Creation of Perl distribution makefiles is now broken:
>
> 2021-02-11 20:21:08 dpchrist at MacBook-Pro ~
> $ h2xs -X -A -n MacOS::Foo
> Defaulting to backwards compatibility with perl 5.28.2
> If you intend this module to be compatible with earlier perl versions,
> please
> specify a minimum perl version with the -b option.
>
> Writing MacOS-Foo/lib/MacOS/Foo.pm
> Writing MacOS-Foo/Makefile.PL
> Writing MacOS-Foo/README
> Writing MacOS-Foo/t/MacOS-Foo.t
> Writing MacOS-Foo/Changes
> Writing MacOS-Foo/MANIFEST
>
> 2021-02-11 20:21:42 dpchrist at MacBook-Pro ~
> $ cd MacOS-Foo/
>
> 2021-02-11 20:21:48 dpchrist at MacBook-Pro ~/MacOS-Foo
> $ perl Makefile.PL
> Checking if your kit is complete...
> Segmentation fault: 11
>
>
> Suggestions?
>
> David
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> https://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>
> --
> To unsubscribe from this group and stop receiving emails from it, send an
> email to doom+unsubscribe at kzsu.stanford.edu.
>
>


More information about the SanFrancisco-pm mailing list