develooper Front page | perl.perl5.porters | Postings from May 2016

Re: Build failed in Jenkins: perl5-win32 #2444

Thread Previous | Thread Next
Craig A. Berry
May 31, 2016 21:47
Re: Build failed in Jenkins: perl5-win32 #2444
Message ID:
On Tue, May 31, 2016 at 1:28 PM, Craig A. Berry <> wrote:
> On Tue, May 31, 2016 at 12:40 PM, Craig A. Berry
> <> wrote:
>> #       pl2bat.bat blib\script\program
>> # C:\Perl64\bin\pl2bat.bat: Perl lib version (5.25.2) doesn't match
>> executable 'C:\Perl64\bin\perl.exe' version (5.20.2) at
>> C:\perlgit\lib/ line 62.
>> # Compilation failed in require at C:\Perl64\bin\pl2bat.bat line 20.
>> # BEGIN failed--compilation aborted at C:\Perl64\bin\pl2bat.bat line 20.
> The FIXIN macro in EUMM, when PERL_CORE is not set, just runs the
> installed pl2bat.bat.  See:
> <>
> This recent commit:
> <>
> deletes PERL_CORE from the environment in basic.t.  I have no idea why
> and the commit message doesn't say.  But I think that's the
> explanation for why it's running the installed pl2bat.bat in my case,
> and probably fails differently if there is no pl2bat.bat in the path
> (e.g., there is no installed Perl).

The problem behind this problem is that when PERL_CORE is set, running
Makefile.PL does not generate the metafile section of the Makefile.
That happened last September:


  I'm guessing there was a desire to test metafile and other things
depending on it (e.g., disttest) even when running in core, thus the
deletion of PERL_CORE in some tests more recently.  It looks like that
only causes trouble on Windows because of the FIXIN problem cited

Not sure what to suggest.  It's two different meanings of PERL_CORE
colliding: 1.) "do things differently when using MakeMaker to build
the core" and 2.) "do things differently when running MakeMaker's own
tests in the core."

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About