Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97639 - g-cpan: Path-Class should depend on dev-perl/module-build
Summary: g-cpan: Path-Class should depend on dev-perl/module-build
Status: RESOLVED FIXED
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-07-01 11:26 UTC by Michele Beltrame
Modified: 2006-11-19 12:02 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 Michele Beltrame 2005-07-01 11:26:32 UTC
While installing Path::Class with g-cpan I got this:

-----
Can't locate Module/Build.pm in @INC (@INC contains: /etc/perl
/usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.
 *
 * Please post a bug on http://bugs.gentoo.org assigned to
 * perl@gentoo.org - Path-Class-0.11 was added without a dependancy
 * on dev-perl/module-build
 *
 *
-----

Reproducible: Always
Steps to Reproduce:
1. g-cpan Path::Class (without having Module::Build installed)
2.
3.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-07-01 17:46:14 UTC
I'm thinking you're using an old g-cpan - emerge g-cpan and try again (that  
sounds like a problem from the pre-split g-cpan)  
Comment 2 Michele Beltrame 2005-07-02 01:57:32 UTC
I'm using version 0.13.01, which is the latest stable. Should I better switch to
the ~masked 0.13.02?

Michele.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-07-03 04:48:38 UTC
No, 01 should have been good. Let me actually take a look at this and get back 
to you (sorry - first response with this description is "it should work in 
newer one, you must be using the pre-split version " :) 
 
Actually, while i'm thinking of it - does emerge -p module-build say that it is 
installed? Maybe portage and perl are getting conflicting results here. 
Comment 4 Michele Beltrame 2005-07-03 04:56:00 UTC
No problem for the first responde, it was my fault that I didn't specify the
g-cpan version I was using. :-)

module-build is now installed, but that doesn't count as I emerged it by hand to
ensure proper installation of Path::Class. After doing this, g-cpan worked
without a flaw and installed Path::Class.

Thanks, Michele.
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-07-03 05:22:13 UTC
I agree - it doesn't count, it should have been detected and made a dep :/ 
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-09-04 04:12:13 UTC
Mass re-assign.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-11-09 09:04:49 UTC
Re-assign.
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2006-11-19 12:02:29 UTC
fixed in Gentoo::CPAN - if there's a Build.PL, we add module-build as a dep.