While trying to run g-cpan.pl to install Module::Build (because emerging HTML-Mason failed needing Module::Build), g-cpan.pl reported the following... [...snip...] BEGIN failed--compilation aborted. Can't locate Module/Build.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.5/x86_64-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/x86_64-linux /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/x86_64-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/x86_64-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/x86_64-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/x86_64-linux .). BEGIN failed--compilation aborted. * * Please post a bug on http://bugs.gentoo.org assigned to * perl@gentoo.org - PathTools-3.05 was added without a dependancy * on dev-perl/module-build * * Reproducible: Always Steps to Reproduce: 1. 2. 3.
Afraid this is something I can't fix at this time. I've been toying with adding an automatic requirement for module-build in all g-cpan generated ebuilds, but other than that there's no other way for me to address this. The alternative is that you emerge module-build, then run g-cpan again.
Wait a second - HTML-Mason is in the tree, and in no way depends on Module::Build. To make any sense of this I would need more from above the snip - knowning that it failed is nice, knowing where it failed is key. Reopen this bug if you can give me more data - sorry I closed it so fast.
dev-perl/Module-Build exists now, and perl-module.eclass will bail if there is a Build.PL without a corresponding dep. Any residual bugs will stem from upstream not declaring dependencies, because there should be no reason for g-cpan to get dependencies wrong here. Which makes this "fixed"