Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 39581
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: david [...] davidfavor.com
Cc:
AdminCc:

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



Subject: CPANPLUS-0.84 + perl-5.10.0-34413 version parsing broken
Date: Wed, 24 Sep 2008 08:39:15 -0500
To: bug-CPANPLUS [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
To recreate: 1) install fresh perl 2) path-to-perl -MCPANPLUS -e shell o i * o <<<--- still shows Pod::Simple & Time::Piece require updating Pod::Simple & Time::Piece are both broken. The show new versions. New versions install and are never recognized. In other words, get another module list ('o') and old version still shows up as requiring and upgrade. An even worse problem exists with modules like SOAP::Lite. Installing this module which inherits it's version as $VERSION = $SOAP::Lite::VERSION fails in CPANPLUS. If 'use SOAP::Lite' is done in a script, $VERSION reports correctly. In CPANPLUS module list, $VERSION reports as unparseable. -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
On Wed Sep 24 09:39:46 2008, david@davidfavor.com wrote: Show quoted text
> To recreate: > > 1) install fresh perl > > 2) path-to-perl -MCPANPLUS -e shell > o > i * > o <<<--- still shows Pod::Simple & Time::Piece require updating > > Pod::Simple & Time::Piece are both broken. The show new versions. > New versions install and are never recognized. In other words, get > another module list ('o') and old version still shows up as requiring > and upgrade.
This is because both Pod::Simple and Time::Piece miss the INSTALLDIRS directive in their Makefile.PL. I've reported this bug in the respective queues, and made you the co-requestor: http://rt.cpan.org/Ticket/Display.html?id=39708 http://rt.cpan.org/Ticket/Display.html?id=39709 Show quoted text
> An even worse problem exists with modules like SOAP::Lite. Installing > this module which inherits it's version as $VERSION = $SOAP::Lite::VERSION > fails in CPANPLUS. If 'use SOAP::Lite' is done in a script, $VERSION
reports Show quoted text
> correctly. In CPANPLUS module list, $VERSION reports as unparseable. >
That's not the right way to declare a version; all the relevant information needs to be on one line. It seems that this has been reported to the author, and fixed in a recent version. When I install SOAP::Lite, i get: CPAN Terminal> l SOAP::Lite ... Version Installed 0.710.08 Version on CPAN 0.710008 If i look at the CHANGES file for SOAP::Lite, this change occurred in 0.71.04 and .05: 0.710.05 ! got version number right, finally. Thanks to Graham Barr, Andreas J. Koenig and Matt S Trout (in alphabetical order) for support 0.071.04 ! updated version number and fixed declaring version, so that perl 5.6.2 can parse it, too I'll mark this ticket as resolved. Thanks for reporting,