develooper Front page | perl.perl5.porters | Postings from September 2010

Re: [rt.cpan.org #61332] Test suite fails on perl5.12 due to newnumeric value warning

From:
Ilya Zakharevich
Date:
September 16, 2010 00:18
Subject:
Re: [rt.cpan.org #61332] Test suite fails on perl5.12 due to newnumeric value warning
Message ID:
20100914232622.GA12294@powdermilk.math.berkeley.edu
On Tue, Sep 14, 2010 at 02:42:09PM -0400, Phillip Moore via RT wrote:
> Tue Sep 14 14:42:09 2010: Request 61332 was acted upon.
> Transaction: Ticket created by WPMOORE
>        Queue: XSLoader
>      Subject: Test suite fails on perl5.12 due to new numeric value warning
>    Broken in: 0.10
>     Severity: Critical
>        Owner: Nobody
>   Requestors: w.phillip.moore@gmail.com
>       Status: new
>  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=61332 >
> 
> 
> While rebuilding a number of CPAN modules for perl5.12.2, I discovered that XSLoader 0.10 fails 
> to pass it's test suite, with errors like:

And what version is shipped with Perl?  If >0.10, why do you test 0.10?

> Invalid version format (non-numeric data) at /efs/dist/perl5/core/5.12.2-1.001-
> build004/.exec/x86-64.rhel.5/lib/perl5/DynaLoader.pm line 223.

> The attached patch simply changes the non-numeric fake value "qunckkk" to "9999.9999", and 
> the resulting code passes all tests for both perl5.10.1 and 5.12.2, at least on CentOS (although 
> there's no reason to assume this won't work everywhere).

I do not think this is my code.  I have no idea what it is trying to
test, so do not know whether this "fix" is appropriate.

  CC to p5p...

Thanks,
Ilya



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