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

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

Thread Previous | Thread Next
From:
Craig A. Berry
Date:
May 31, 2016 18:28
Subject:
Re: Build failed in Jenkins: perl5-win32 #2444
Message ID:
CA+vYcVxdqmw67Xoe79RzBY6zG4Cg3nDLktWptmv5ahvLdXEw5A@mail.gmail.com
On Tue, May 31, 2016 at 12:40 PM, Craig A. Berry
<craig.a.berry@gmail.com> 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/Config.pm 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:

<https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/blob/2df481c3227628992c5ad92a2ecb7d7ddb0a090a/lib/ExtUtils/MM_Win32.pm#L145>

This recent commit:

<https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/4bd05555380a30ea7e532bbe8884607b874c420e>

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).

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About