Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96720 - gtk2-fu-0.10 fails to build, missing dependency
Summary: gtk2-fu-0.10 fails to build, missing dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: dams (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-21 12:08 UTC by Carl Litt
Modified: 2005-06-22 01:34 UTC (History)
1 user (show)

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 Carl Litt 2005-06-21 12:08:46 UTC
emerge update to gtk2-fu-0.10 fails.  Appears to be missing a dependency on
dev-perl/module-build.  

Reproducible: Always
Steps to Reproduce:
1.emerge -u gtk2-fu
2.
3.

Actual Results:  
Can't locate Module/Build.pm in @INC (@INC contains: /etc/perl
/usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/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.5/i686-linux /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux .).
BEGIN failed--compilation aborted.
 *
 * Please post a bug on http://bugs.gentoo.org assigned to
 * perl@gentoo.org - gtk2-fu-0.10 was added without a dependancy
 * on dev-perl/module-build
 *
 *


Expected Results:  
Built

Currently have gtk2-fu-0.08 installed.  The dependency on module-build must have
been introducted in the 0.10 update.  The easy workaround is to emerge
dev-perl/module-build first.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-06-21 14:05:39 UTC
dams, all you (your ebuild, your package)
Comment 2 dams (RETIRED) gentoo-dev 2005-06-21 17:54:43 UTC
Michael : gtk2-fu can be compiled using Module::Build (still in beta in perl,
and need to be installed), or using the good old Makefile.PL

In my very humble opinion, I think perl-module should be able to see that both
installation methods are available (both Build.PL and Makefile.PL are there),
and try them one by one. First Build.PL, but if Module::Build is not there, it
should try Makefile.PL

Of course I could either add the dependancy on Module::Build, but I don't like
forcing people using it if not needed. Or I could remove Build.PL, but I like to
promote promising stuff.

What do you think? Tell me what I should do, and I'll do it.
Comment 3 Rumen Yotov 2005-06-21 22:17:25 UTC
Hi,
Having the same problem, just remerged 'module-build' and then successfully
build gtk2-fu-0.10.
Rumen
Comment 4 dams (RETIRED) gentoo-dev 2005-06-22 01:34:24 UTC
I have added the dependancy in 0.10, so it should emerge correctly now. But
still, I think it should use Makefile.PL if Build.PL fails.