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

Bug 170137

Summary: g-cpan should Ignore recommended modules
Product: Gentoo Linux Reporter: Guido Flohr <guido>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Guido Flohr 2007-03-09 15:33:48 UTC
g-cpan currently treats modules marked as recommended like dependencies.  That causes problems with many modules.

A good example is DBIx-Class-Schema-Loader-0.03009.  It has a BUILD.PL which lists various DBI drivers (DBD::*) as recommended.  The author probably wants to give a hint that these versions are at least required.

However, g-cpan treats them as dependencies, and ends up trying to compile for example the DBI driver for DB2 (DBD::DB2) which is not really needed, and a nightmare to build

Other modules often recommend modules from the Test:: namespace, in order to run fancy tests.  But these are never needed, since the test phase is skipped anyway.

IMHO the default behavior of g-cpan could simply be changed (always ignore recommendations).  Alternatively it would be of great help to be able to either suppress all of the recommended modules, or individual ones.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-11 08:17:27 UTC
NOT portage...
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2007-03-12 15:42:03 UTC
Give me some time to think about this? I think you make a very valid case, no worries, just need a few nights of thinking :)
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2007-03-24 00:29:12 UTC
ok, removed from scan of meta.yml in svn. fair call :)