Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 345201

Summary: g-cpan does not reinstall packages
Product: Gentoo Linux Reporter: Han Boetes <hboetes>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED INVALID    
Severity: normal CC: perl, Sergiy.Borodych
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Han Boetes 2010-11-12 11:24:13 UTC
I used g-cpan to install Apache-Htpasswd, and then I wanted it to create an ebuild in my overlay. So I depcleaned Apache-Htpasswd and changed my make.conf like this:

GCPAN_OVERLAY="/usr/local/portage/g-cpan"

And tried to reinstal Apache-Htpasswd the same way as before and now I keep getting:

# g-cpan -i Apache-Htpasswd
-CPAN: Storable loaded ok (v2.21)
Going to read '/root/.cpan/Metadata'
  Database was generated on Fri, 12 Nov 2010 10:34:13 GMT
|CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.03)
Checksum for /root/.cpan/sources/authors/id/K/KM/KMELTZ/Apache-Htpasswd-1.8.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.68)
Apache-Htpasswd-1.8/
Apache-Htpasswd-1.8/MANIFEST
Apache-Htpasswd-1.8/META.yml
Apache-Htpasswd-1.8/Htpasswd.pm
Apache-Htpasswd-1.8/test.pl
Apache-Htpasswd-1.8/README
Apache-Htpasswd-1.8/Makefile.PL
CPAN: File::Temp loaded ok (v0.22)
 * MIME::Base64 is part of the core perl install
 * Ebuild already exists for Digest-SHA1 (dev-perl/Digest-SHA1)
 * Ebuild already exists for Crypt-PasswdMD5 (dev-perl/Crypt-PasswdMD5)
 * Nothing to install!!


Reproducible: Always
Comment 1 Sergiy Borodych 2010-12-25 16:18:19 UTC
dir /usr/local/portage/g-cpan exists ?

if not exists then this like bug for me

just change to
GCPAN_OVERLAY="/usr/local/portage"
or create
/usr/local/portage/g-cpan
Comment 2 Han Boetes 2011-01-03 15:08:37 UTC
I can't reproduce the bug right now. And I can't remember the finer points since xmass and newyear went by.