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.
dams, all you (your ebuild, your package)
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.
Hi, Having the same problem, just remerged 'module-build' and then successfully build gtk2-fu-0.10. Rumen
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.