Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168946 - g-cpan fails to install Statistics::Lite
Summary: g-cpan fails to install Statistics::Lite
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-01 22:56 UTC by John Bartoszewski
Modified: 2007-04-08 23:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Bartoszewski 2007-03-01 22:56:22 UTC
trying to install Statistics::Lite produces the error:

Use of uninitialized value in split at /usr/bin/g-cpan line 550.


Reproducible: Always

Steps to Reproduce:
1.g-cpan -i Statistics::Lite
2.
3.

Actual Results:  
# g-cpan -i Statistics::Lite
CPAN: Storable loaded ok
Going to read /var/tmp/g-cpan/.cpan/Metadata
  Database was generated on Thu, 01 Mar 2007 18:09:29 GMT
 * g-cpan: Looking for Statistics::Lite
CPAN: Digest::MD5 loaded ok
Checksum for /var/tmp/g-cpan/.cpan/sources/authors/id/B/BR/BRIANL/Statistics-Lite-2.0.tar.gz ok
Scanning cache /var/tmp/g-cpan/.cpan/build for sizes
Statistics-Lite-2.0/
Statistics-Lite-2.0/Changes
Statistics-Lite-2.0/Lite.pm
Statistics-Lite-2.0/Makefile.PL
Statistics-Lite-2.0/MANIFEST
Statistics-Lite-2.0/META.yml
Statistics-Lite-2.0/test.pl
Removing previously used /var/tmp/g-cpan/.cpan/build/Statistics-Lite-2.0
Use of uninitialized value in split at /usr/bin/g-cpan line 550.
 * g-cpan: Nothing to install!!


Expected Results:  
Statistics:Lite installed
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2007-03-03 03:04:16 UTC
what version of g-cpan are you using? based on the output, i'm guessing one of the stable version, not the arch testing release candidates.
Comment 2 John Bartoszewski 2007-03-03 11:17:14 UTC
app-portage/g-cpan-0.14.0
Comment 3 Yuval Yaari (RETIRED) gentoo-dev 2007-03-06 08:55:09 UTC
works with g-cpan 0.15_rc3 :-)
Thanks for reporting!
Comment 4 ivo welch 2007-04-08 23:12:45 UTC
(In reply to comment #3)
> works with g-cpan 0.15_rc3 :-)
> Thanks for reporting!
> 

yes, the 0.14.0 script has an undefined variable in a split, and my g-cpan installations then just fail (but don't tell me they fail).  the 0.15 versions work nicely.

Alas, when I wanted to move up to the 0.15 rc, Shell-EnvImporter-1.04.ebuild (on which the ebuild depends) is masked with ~amd64.  this is unnecessary---it seems to work fine.

So, please release both g-cpan 0.15 and Shell-Importer.  They can't be any worse than the currently unmasked default versions.

regards,

/iaw