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

Bug 121088

Summary: g-cpan.pl - unable to load Class-DBI modules (Class-DBI-v)
Product: Gentoo Linux Reporter: Jonathan Manning <jmanning>
Component: New packagesAssignee: Michael Cummings (RETIRED) <mcummings>
Status: RESOLVED FIXED    
Severity: minor CC: hansmi
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: g-cpan
Package list:
Runtime testing required: ---
Attachments: allow "v-string" style version numbers in g-cpan dependancies
Updated patch

Description Jonathan Manning 2006-01-31 12:54:24 UTC
When trying to install Class-DBI modules, g-cpan fails when it is unable to find Class-DBI-v. This is simply because Class-DBI uses v in it's version string - Class-DBI-v3.0.1.

The attached patch modifies portage_dir to correct this bug for Class::DBI (and, in theory, similarly named packages)
Comment 1 Jonathan Manning 2006-01-31 12:55:49 UTC
Created attachment 78587 [details, diff]
allow "v-string" style version numbers in g-cpan dependancies
Comment 2 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2006-02-18 15:23:21 UTC
Created attachment 80128 [details, diff]
Updated patch

I hit this bug as well.

My updated patch also patches another regular expression in the function create_ebuild().
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2006-04-14 06:37:09 UTC
ok, the patch for -v* versions has been applied (thanks hansmi :) - but the rest of this bug is bogus even if it highlights a bug (ironically). Class-DBI is handled in dev-perl/Class-DBI - g-cpan isn't actually writing an ebuild for it. Even double checked, and I added it March 31 2004 to portage. Not sure how you ran into this otherwise valid bug.