Gentoo Archives: gentoo-perl

From: Michael Cummings <mcummings@g.o>
To: gentoo-perl@l.g.o
Subject: Re: [gentoo-perl] g-cpan -u
Date: Mon, 14 Nov 2005 16:05:51
Message-Id: 4378B5CE.4020008@gentoo.org
In Reply to: [gentoo-perl] g-cpan -u by Chisel Wright
-u should be checking for upgrades. Do you have a permanent
PORTDIR_OVERLAY, and if so, is there a perl-gcpan directory with
generated ebuilds in it? g-cpan checks against ebuilds in your overlay
(not installed - wasn't that bright when I added that functionality).

-mike

Chisel Wright wrote:
> Hi all, > > I'm confused. (Not new, some might say) > > What exactly does/should 'g-cpan -u' do? I was under the impression that > it would check all g-cpan installed perl modules and install newer > versions (if they exist). > > So, why does the following happen: > > ---- cut here ---- > thea ~ # g-cpan -u IO > * g-cpan: Looking for IO... > CPAN: Storable loaded ok > Going to read /root/.cpan/Metadata > Database was generated on Mon, 14 Nov 2005 08:49:13 GMT > * g-cpan: Checking ebuild for 'IO': IO > Running make for G/GB/GBARR/IO-1.22.tar.gz > > *snip* > > Manifying blib/man3/IO::File.3pm > Manifying blib/man3/IO::Socket::UNIX.3pm > Manifying blib/man3/IO.3pm > /usr/bin/make -- OK > Calculating dependencies ...done! > >>>>Auto-cleaning packages ... > > >>>>No outdated packages were found on your system. > > > > * GNU info directory index is up-to-date. > > > > thea ~ # perl -MIO -e 'print IO->VERSION(), qq[\n];' > 1.22 > > > thea ~ # g-cpan -u IO > * g-cpan: Looking for IO... > CPAN: Storable loaded ok > Going to read /root/.cpan/Metadata > Database was generated on Mon, 14 Nov 2005 08:49:13 GMT > * g-cpan: Checking ebuild for 'IO': IO > Running make for G/GB/GBARR/IO-1.22.tar.gz > CPAN: LWP::UserAgent loaded ok > > > *snip* > ---- cut here ---- > > > OK, so I upgrade IO, is appears to install successfully. I check what > version of IO perl thinks I have installed. > > So, just to be sure, I tell g-cpan to upgrade IO. It then 'upgrades' > from 1.22 to 1.22. > > Erm. > > I'm confused. > > > It seems to be the same or similar with 'g-cpan -u' to try to upgrade > everything. > I'm not even sure if 'g-cpan -u' does anything or not. >
-- gentoo-perl@g.o mailing list

Replies

Subject Author
Re: [gentoo-perl] g-cpan -u Chisel Wright <chisel@×××××××××××××.uk>
Re: [gentoo-perl] g-cpan -u Chisel Wright <chisel@×××××××××××××.uk>