I launched the following command g-cpan -avi Frontier::RPC2 the command gives some error then failed Reproducible: Always Steps to Reproduce: 1. g-cpan -avi Frontier::RPC2 Actual Results: * Getting CPAN Info for Frontier::RPC2 -CPAN: Storable loaded ok Going to read /var/tmp/g-cpan/.cpan/Metadata Database was generated on Wed, 30 Jul 2008 15:03:07 GMT \Use of uninitialized value in substitution (s///) at /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/CPAN.pm line 461. Use of uninitialized value in substitution (s///) at /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/CPAN.pm line 464. Use of uninitialized value in substitution (s///) at /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/CPAN.pm line 467. Use of uninitialized value in substr at /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/CPAN.pm line 472. Use of uninitialized value in substitution (s///) at /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/CPAN.pm line 461. Use of uninitialized value in substitution (s///) at /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/CPAN.pm line 464. Use of uninitialized value in substitution (s///) at /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/CPAN.pm line 467. Use of uninitialized value in substr at /usr/lib64/perl5/vendor_perl/5.8.8/Gentoo/CPAN.pm line 472. * Scanning /usr/local/portage for Frontier-RPC-0.07b4 * Found ebuild for CPAN name Frontier-RPC-0.07b4 * Ebuild already exists for Frontier-RPC-0.07b4 (perl-gcpan/Frontier-RPC-0.07b4) * Calling emerge for Frontier-RPC-0.07b4 * Calling: emerge --pretend --ask Frontier-RPC-0.07b4 >>> --pretend disables --ask... removing --ask from options. These are the packages that would be merged, in order: Calculating dependencies \ emerge: there are no ebuilds to satisfy "Frontier-RPC-0.07b4". * Cleaning temporary space Expected Results: the creation of the ebuild for the module Frontier::RPC2 g-cpan created in the overlay directory the following files: portage/perl-gcpan/Frontier-RPC-0.07b4 and inside the following file: Frontier-RPC-0.07b4-.ebuild
I try this patch (but not good idea, anyone cpan modules has same version name ?) /usr/lib/perl5/vendor_perl/5.8.8/Gentoo/CPAN.pm 441c441 < my $re_ver = '(?:v?[\d\.]+[a-z]?)?'; --- > my $re_ver = '(?:v?[\d\.]+[a-z]?\d?)?'; and # g-cpan -g -v -p Frontier::RPC2 * Getting CPAN Info for Frontier::RPC2 -CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Fri, 01 Aug 2008 00:02:46 GMT * Scanning /usr/local/portage.old for Frontier-RPC * Scanning /usr/local/portage for Frontier-RPC * Scanning /usr/portage for Frontier-RPC * Found ebuild for CPAN name Frontier-RPC * Ebuild already exists for Frontier-RPC (dev-perl/frontier-rpc) * Cleaning temporary space So use ebuild from portage and close bug :)
fixed in r228, release soon.