Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250443 - dev-perl/IO-Socket-INET6-2.56 requires a DEPEND on Module-Build or perl-Module-Build
Summary: dev-perl/IO-Socket-INET6-2.56 requires a DEPEND on Module-Build or perl-Modul...
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-09 21:43 UTC by Mike Auty (RETIRED)
Modified: 2008-12-10 07:41 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 Mike Auty (RETIRED) gentoo-dev 2008-12-09 21:43:06 UTC
Hiya guys,

I've got perl-5.8.8-r5 installed, recently did an emerge --depclean and cleared out both virtual/perl-Module-Build and dev-perl/Module-Build since they seemed not to be required (I assume they're only buildtime dependency).

I'm now trying to build IO-Socket-INET6 and get the following:

>>> Compiling source in /var/tmp/portage/dev-perl/IO-Socket-INET6-2.56/work/IO-Socket-INET6-2.56 ...
 * Using Module::Build
Can't locate Module/Build.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at Build.PL line 3.
BEGIN failed--compilation aborted at Build.PL line 3.
 * 
 * ERROR: dev-perl/IO-Socket-INET6-2.56 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2352:  Called perl-module_src_compile
 *             environment, line 2092:  Called perl-module_src_prep
 *             environment, line 2141:  Called die
 * The specific snippet of code:
 *           echo "$pm_echovar" | perl Build.PL ${myconf} --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE="build"?)";

This suggests that Module-Build is required but isn't a DEPENDency.  Looking in the perl-module eclass, it appears from the 2005.03.14 comment (later the same day) that ebuilds should DEPEND on Module-Build when necessary (otherwise I'd suggest adding it to the eclass somehow).

If you need any more information, let me know...  5:)
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2008-12-10 07:41:51 UTC
Thanks, fixed.