Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121088 - g-cpan.pl - unable to load Class-DBI modules (Class-DBI-v)
Summary: g-cpan.pl - unable to load Class-DBI modules (Class-DBI-v)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard: g-cpan
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-31 12:54 UTC by Jonathan Manning
Modified: 2006-04-14 06:37 UTC (History)
1 user (show)

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


Attachments
allow "v-string" style version numbers in g-cpan dependancies (v-string.patch,1.04 KB, patch)
2006-01-31 12:55 UTC, Jonathan Manning
Details | Diff
Updated patch (a,1.11 KB, patch)
2006-02-18 15:23 UTC, Michael Hanselmann (hansmi) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.