Skip Menu |

This queue is for tickets about the Text-PerlPP CPAN distribution.

Report information
The Basics
Id: 125326
Status: resolved
Priority: 0/
Queue: Text-PerlPP

People
Owner: CXW [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.4.0
Fixed in: 0.500002



Subject: System perl used in tests
The test suite fails on a number of systems, see http://matrix.cpantesters.org/?dist=Text-PerlPP%200.4.0 One possible problem: Getopt::Long version 2.5 required--this is only version 2.48 at /usr/local/lib/perl5/5.24/Getopt/Long.pm line 1530. It looks like the wrong perl is executed here --- this looks like the system perl, not the perl used for building the distribution, hence the Getopt::Long minimum version requirement fails here. Possible fixes are (in order of preference): - use the blib/script variant of the tested script (here the shebang is normally already adjusted) - or use $^X when calling the tested script - or adjust $ENV{PATH} before running the problematic script.
Subject: Re: [rt.cpan.org #125326] System perl used in tests
Date: Thu, 17 May 2018 06:53:39 -0400
To: bug-Text-PerlPP [...] rt.cpan.org
From: Christopher White <cxwembedded [...] gmail.com>
Slaven, thanks very much! I had also sent that and been very confused. I will fix it in the next release. Sent from my smartphone On Wed, May 16, 2018, 1:39 PM Slaven_Rezic via RT < bug-Text-PerlPP@rt.cpan.org> wrote: Show quoted text
> Wed May 16 13:39:52 2018: Request 125326 was acted upon. > Transaction: Ticket created by SREZIC > Queue: Text-PerlPP > Subject: System perl used in tests > Broken in: 0.4.0 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=125326 > > > > The test suite fails on a number of systems, see > http://matrix.cpantesters.org/?dist=Text-PerlPP%200.4.0 > > One possible problem: > > Getopt::Long version 2.5 required--this is only version 2.48 at > /usr/local/lib/perl5/5.24/Getopt/Long.pm line 1530. > > It looks like the wrong perl is executed here --- this looks like the > system perl, not the perl used for building the distribution, hence the > Getopt::Long minimum version requirement fails here. Possible fixes are (in > order of preference): > - use the blib/script variant of the tested script (here the shebang is > normally already adjusted) > - or use $^X when calling the tested script > - or adjust $ENV{PATH} before running the problematic script. >
- I refactored it to an OOP interface so I don't have to spawn an external perl for the tests. - I also updated my special-purpose targets in Makefile.PL to grab the right Perl filename.