Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233490 - app-portage/g-cpan-0.15.0-r1: cannot create ebuild for Frontier::RPC2
Summary: app-portage/g-cpan-0.15.0-r1: cannot create ebuild for Frontier::RPC2
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-31 15:38 UTC by Marco
Modified: 2010-02-12 20:51 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 Marco 2008-07-31 15:38:24 UTC
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
Comment 1 Sergiy Borodych 2008-08-01 10:16:29 UTC
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 :)
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-02-12 20:51:28 UTC
fixed in r228, release soon.