https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8038
Bug ID: 8038
Summary: Make error on Windows using dmake with current version
of ExtUtils::MakeMaker
Product: Spamassassin
Version: 4.0.0
Hardware: PC
OS: Windows
Status: NEW
Severity: blocker
Priority: P2
Component: Building & Packaging
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
Versions of ExtUtils::MakeMaker since 7.36 have an issue that I reported at
https://rt.cpan.org/Ticket/Display.html?id=144085
It causes SpamAssassin to fail to build with a syntax error running the
Makefile on Windows using a version of Strawberry Perl that uses dmake, when
ExtUtils::MakeMaker has been upgraded. Even though I think it can be blamed on
a bug in ExtUtils::MakeMaker we can still work around it in a way that will
still work if it is ever fixed.
Steps to reproduce:
On Windows, install Strawberry Perl version 5.24 or older, the versions that
ship with dmake instead of gmake that the newer versions use.
Use cpanm to install the perl modules that are required to build SpamAssassin
Upgrade ExtUtils::MakeMaker to the latest version by running
cpanm ExtUtils::MakeMaker
Install the modules required to build SpamAssassin and get the SpamAssassin
source
In the SpamAssassin source directory run
perl Makefile.PL < NUL:
dmake
That fails with an error
Output from 'C:\Strawberry\c\bin\dmake.exe':
Can't find string terminator "]" anywhere before EOF at -e line 1.
dmake.exe: Error code 255, while making 'pm_to_blib'
--
You are receiving this mail because:
You are the assignee for the bug.