Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101266 - g-cpan does not handle upgraded versions of perl modules.
Summary: g-cpan does not handle upgraded versions of perl modules.
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard: g-cpan
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-03 16:48 UTC by Rusty Phillips
Modified: 2006-06-13 14:37 UTC (History)
3 users (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 Rusty Phillips 2005-08-03 16:48:50 UTC
g-cpan will not install over a version of a g-cpan generated module with the
latest version from CPAN.  I would consider this a critical feature, as the
whole point of using portage with CPAN is to allow for graceful upgrades.

Reproducible: Always
Steps to Reproduce:
1.  Install an old version of any CPAN module using gcpan.
2.  Wait
3.  Try to install the latest version. 

Actual Results:  
g-cpan refused to install the package.  The CPAN module had no trouble though.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-08-12 03:28:04 UTC
are the ebuilds in your overlay? i tested the upgrade features before applying
this to the tree last time and they worked fine over here. What command are you
using?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-04 04:12:34 UTC
Mass re-assign.
Comment 3 Garrison 2005-10-18 09:37:26 UTC
In brief, the problem is that g-cpan will happily install a module without a
working overlay, but it is then impossible to upgrade that module later, overlay
or not.

I would expect that it should allow the installation of any module that does not
otherwise have an ebuild.  The current behaviour is annoying.
Comment 4 Garrison 2005-10-18 10:14:35 UTC
Since ebuilds are checked by ebuild_exists(), is module_check() even necessary?
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2006-06-13 14:37:12 UTC
This bug has to be closed because without an overlay, there isn't anything for g-cpan to work with. The overlay is the key to working with what you have and don't have on your box.