https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8520
Bug ID: 8520
Summary: GitHub Actions macOS jobs crash in perl Makefile.PL on
Perl 5.16 to 5.34
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Hardware: Macintosh
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: Building & Packaging
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
Created attachment 6222
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6222&action=edit
patch for .github
On the macOS runners, perl Makefile.PL dies with a segmentation fault on Perl
5.16 through 5.34 when the dependency check loads DB_File. The workflow
installs Homebrew's berkeley-db and links its files into /usr/local, and cpanm
rebuilds DB_File against that db.h. ExtUtils::MakeMaker before 7.64, as
included with those Perls, does not look for libraries in /usr/local/lib, so
DB_File is built without libdb and calls a missing function when it loads.
The attached patch tells DB_File and BerkeleyDB where Homebrew's Berkeley DB
is, so that they link it whatever the MakeMaker version.
--
You are receiving this mail because:
You are the assignee for the bug.