Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88821 - perl@gentoo.org - HTTP-Proxy-0.15 was added without a dependancy
Summary: perl@gentoo.org - HTTP-Proxy-0.15 was added without a dependancy
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-12 02:24 UTC by Jaakko Seppälä
Modified: 2005-04-16 16:43 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 Jaakko Seppälä 2005-04-12 02:24:41 UTC
I Tried to install HTTP::Proxy with g-cpan.pl.

g-cpan.pl found other dependencies but Module::Build.

>>> emerge (7 of 7) dev-perl/HTTP-Proxy-0.15 to /
>>> md5 src_uri ;-) HTTP-Proxy-0.15.tar.gz
>>> Unpacking source...
>>> Unpacking HTTP-Proxy-0.15.tar.gz to /var/tmp/portage/HTTP-Proxy-0.15/work
>>> Source unpacked.
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/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i686-linux /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/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i686-linux .).
BEGIN failed--compilation aborted.
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/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i686-linux /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/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i686-linux .).
BEGIN failed--compilation aborted.
 *
 * Please post a bug on http://bugs.gentoo.org assigned to
 * perl@gentoo.org - HTTP-Proxy-0.15 was added without a dependancy
 * on dev-perl/module-build
 *
 *

!!! ERROR: dev-perl/HTTP-Proxy-0.15 failed.
!!! Function perl-module_src_prep, Line 85, Exitcode 0
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.




Reproducible: Always
Steps to Reproduce:
1. # g-cpan.pl HTTP::Proxy   -  when you do not have Module::Build installed
 

Actual Results:  
See Details

Expected Results:  
g-cpan.pl to add Module::Build to needed dependencies :-)
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-04-12 10:48:36 UTC
There isn't any easy fix for this in g-cpan yet (even the release that isn't public yet) because it's hard to determine for DEPENDS whether you need module-build or not (except in the middle of the build when it's too late to dynamically change the DEPENDs). If you emerge module-build first, you should be fine.
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2005-04-15 19:50:17 UTC
http://dev.gentoo.org/~mcummings/g-cpan.pl.txt

Will be in the next release of portage, but you can have it now. Replace /usr/lib/portage/bin/g-cpan.pl with this file. Now includes a check for module-build dependancies.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-04-16 16:43:02 UTC
Fixed in indicated version of g-cpan