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

Bug 101266

Summary: g-cpan does not handle upgraded versions of perl modules.
Product: Gentoo Linux Reporter: Rusty Phillips <rustyp>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED CANTFIX    
Severity: normal CC: hakan, perl, yuval
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: g-cpan
Package list:
Runtime testing required: ---

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.