Skip Menu |

This queue is for tickets about the Params-Validate CPAN distribution.

Report information
The Basics
Id: 74742
Status: resolved
Priority: 0/
Queue: Params-Validate

People
Owner: Nobody in particular
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.03
Fixed in: 1.06



Subject: Warnings spewed with perl < 5.8.8
Building with perl < 5.8.8 results in warnings being spewed from Dynaloader, e.g.: ./Build test t/01-validate.........................Constant subroutine SCALAR redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. Constant subroutine ARRAYREF redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. Constant subroutine HASHREF redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. Constant subroutine CODEREF redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. Constant subroutine GLOB redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. Constant subroutine GLOBREF redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. Constant subroutine SCALARREF redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. Constant subroutine UNKNOWN redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. Constant subroutine UNDEF redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. Constant subroutine OBJECT redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. Constant subroutine HANDLE redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. Constant subroutine BOOLEAN redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. ok I can work around this by building only the pure-perl version with Build.PL --pp but then the t/release-xs-is-loaded.t test fails as it gets the pure-perl version when it expects the XS version. That's not a big deal since it's a release test but you might want to fix it anyway.
On Tue Feb 07 06:06:35 2012, paul@city-fan.org wrote: Show quoted text
> Building with perl < 5.8.8 results in warnings being spewed from > Dynaloader, e.g.: > > ./Build test > t/01-validate.........................Constant subroutine SCALAR > redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm > line -1. > Constant subroutine ARRAYREF redefined at > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. > Constant subroutine HASHREF redefined at > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. > Constant subroutine CODEREF redefined at > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. > Constant subroutine GLOB redefined at > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. > Constant subroutine GLOBREF redefined at > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. > Constant subroutine SCALARREF redefined at > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. > Constant subroutine UNKNOWN redefined at > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. > Constant subroutine UNDEF redefined at > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. > Constant subroutine OBJECT redefined at > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. > Constant subroutine HANDLE redefined at > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. > Constant subroutine BOOLEAN redefined at > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1. > ok > > I can work around this by building only the pure-perl version with > Build.PL --pp but then the t/release-xs-is-loaded.t test fails as it > gets the pure-perl version when it expects the XS version. That's not a > big deal since it's a release test but you might want to fix it anyway.
Switching to XSLoader (which is dual-lifed and hence upgradeable) is what I would recommend here.
Subject: Re: [rt.cpan.org #74742] Warnings spewed with perl < 5.8.8
Date: Wed, 8 Feb 2012 14:06:12 -0600 (CST)
To: Peter Rabbitson via RT <bug-Params-Validate [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Wed, 8 Feb 2012, Peter Rabbitson via RT wrote: Show quoted text
> Switching to XSLoader (which is dual-lifed and hence upgradeable) is > what I would recommend here.
PV does use XSLoader. Under the hood, XSLoader just uses DynaLoader for a lot of cases. I suspect the problem is something else, presumably in the XS code itself. I'll look into it. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
RT-Send-CC: autarch [...] urth.org
FYI, I'm seeing these messages on 5.15.7 also.
RT-Send-CC: autarch [...] urth.org
On Sun Feb 19 01:32:55 2012, TODDR wrote: Show quoted text
> FYI, I'm seeing these messages on 5.15.7 also.
This seems to cause it to re-produce $>perl -w -MDateTime -MDateTime::Locale::Catalog -e1
This should be fixed. Did you try the latest version?
On Sun Feb 19 10:52:23 2012, DROLSKY wrote: Show quoted text
> This should be fixed. Did you try the latest version?
Yep I was using 1.05. 1.06 works fine. thanks!
From: paul [...] city-fan.org
On Mon Feb 20 19:36:41 2012, TODDR wrote: Show quoted text
> On Sun Feb 19 10:52:23 2012, DROLSKY wrote:
> > This should be fixed. Did you try the latest version?
> > Yep I was using 1.05. 1.06 works fine. thanks!
Indeed it does; I'd missed the release of that version somehow. Just curious though: who's this "Aaron James Trevena" that reported this bug according to the Changes file?