Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167462 - app-portage/g-cpan tries to generate ebuilds for core perl modules
Summary: app-portage/g-cpan tries to generate ebuilds for core perl modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-18 11:37 UTC by Andreas Eriksson
Modified: 2007-03-21 14:16 UTC (History)
0 users

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 Andreas Eriksson 2007-02-18 11:37:18 UTC
g-cpan which generates ebuilds for perl modules on CPAN tries to generate ebuilds for some modules already included in the perl core distribution when trying to install some modules. if collision-protect is enabled those then fails to install since they try to overwrite the files in the core perl distribution.

For example generating ebuilds for Digest::Whirlpool will make ebuilds for Pod::Parser and Digest even thought perl-core/digest-base and perl-core/PodParser already exists, because the names of the generated ebuilds are not exactly the same. I have seen this happen with other perl modules too, both things that are aviable in the perl-core category and things that is included when you install the normal perl ebuild.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2007-02-26 10:19:58 UTC
Which version of g-cpan are you working with? Latest rc2 of 0.15 generates the following DEPEND list:

DEPEND="dev-lang/perl"
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2007-03-21 14:16:01 UTC
This was fixed in two ways in 0.15_rc3 - first, we dep on dev-lang/perl directly, and secondly (and the real fix), when looking for a module, we first check for an ebuild, failing that we check to see if it was installed in the core perl install, and only on failing those two checks do we query cpan. so this should be all set now.