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

Bug 147447

Summary: app-portage/g-cpan-0.14.0 require perl 5.8.8 or higher
Product: Gentoo Linux Reporter: Vitaly <va>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vitaly 2006-09-13 06:06:26 UTC
app-portage/g-cpan-0.14.0 require perl 5.8.8 or higher
look at first line in Makefile.PL of g-cpan-0.14.0:

use 5.008008;

but DEPEND="dev-lang/perl ..."
should be DEPEND=">=dev-lang/perl-5.8.8 ..."
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-13 06:16:19 UTC
Don't restrict bugs without any reason. Just leave the checkboxes alone. And, upgrade your system properly using --deep, 5.8.8 is stable everywhere.
Comment 2 Vitaly 2006-09-13 06:32:58 UTC
Thank you Jakub Moc
but I can't update perl to 5.8.8 because I use own interpreter based on 5.8.7
and update is not trivial for me

>>Don't restrict bugs without any reason
May be put this comment on "Bug submit page"?
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2006-09-13 10:37:30 UTC
(In reply to comment #2)
> Thank you Jakub Moc
> but I can't update perl to 5.8.8 because I use own interpreter based on 5.8.7
> and update is not trivial for me

Perl herd, please weigh in, I'm leaning towards closing this as won't fix since the user has admitted to using a perl outside of portage (which means we have no means of tracking further bugs related to packages, patches, etc.). Changing the line g-cpan is trivial in itself (I recall nothing 5.8.8 specific, other than the fact that at release that was the stable for all architectures).

Comment 4 Vitaly 2006-09-14 07:00:25 UTC
(In reply to comment #3)
> the user has admitted to using a perl outside of portage
no, I emerge =dev-lang/perl-5.8.7 and use it as toolkit
dev-lang/perl package is not only /usr/bin/perl
there are also some header (.h) files and some tools like xsubpp.
these files are used to build extended interpreter
my interpreter is not related to bug

app-portage/g-cpan-0.14.0 will not work with perl older then 5.8.8
I think this sould be specified in g-cpan's ebuild
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2007-01-03 05:34:59 UTC
Going to call this fixed in the current rc at least (granted, 5.8.7 is still listed as a base, but nothing is explicitly requiring 5.8.8 anymore).

$ grep -rs "use 5" *
Makefile.PL:use 5.008007;
lib/Gentoo/UI/Console.pm:use 5.008007;
lib/Gentoo/Config.pm:use 5.008007;
lib/Gentoo/CPAN.pm:use 5.008007;
lib/Gentoo/Portage.pm:use 5.008007;
lib/Gentoo/CPAN/.svn/text-base/FakeFrontend.pm.svn-base:use 5.008000;
lib/Gentoo/CPAN/FakeFrontend.pm:use 5.008000;
lib/Gentoo.pm:use 5.008007;