I was emerging xmltv which has a huge list of perl-modules as dependencies. The emerge stoppped at dev-perl/ExtUtils-CBuilder-0.18 with the error "can't locate Module/Build.pm". I found out that this Build.pm belongs to module-build, unfortunately "emerge module-build" wanted to first emerge ExtUtils-CBuilder. I then used emerge -pte ExtUtils-CBuilder to locate all other dependencies for that package. After I emerged by hand perl-Test-Harness, IO-String and Archive-Tar (I think they installed some more dependencies by their own), emerge module-build didn't want to emerge ExtUtils-CBuilder first, so then it was all ok. I think there is a wrong dependency somewhere that should be fixed.
I have the the same problem while emerging frozen-bubble.
I do have a little problem with this package: # FEATURES="test" emerge =module-build-0.28 -p These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-perl/ExtUtils-CBuilder-0.18 USE="-minimal" [ebuild N ] dev-perl/extutils-parsexs-2.15 USE="-minimal" [ebuild N ] dev-perl/module-build-0.28 USE="-minimal" # FEATURES="test" emerge =module-build-0.28 [...] * Using Module::Build Can't locate Module/Build.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/powerpc64-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/powerpc64-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/powerpc64-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at Build.PL line 1. BEGIN failed--compilation aborted at Build.PL line 1. !!! ERROR: dev-perl/ExtUtils-CBuilder-0.18 failed. [...] # emerge extutils-parsexs -p These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-perl/module-build-0.28 USE="-minimal" [ebuild N ] dev-perl/ExtUtils-CBuilder-0.18 USE="-minimal" [ebuild N ] dev-perl/extutils-parsexs-2.15 USE="-minimal" ------------------------- everything installs fine ------------------------- Seems like something is up with the dependencies?
this should be resolved now, there was a logic bug in the perl-module.eclass. Please emerge sync (fix went in earlier this week) and confirm?
(In reply to comment #3) > this should be resolved now, there was a logic bug in the perl-module.eclass. > Please emerge sync (fix went in earlier this week) and confirm? > my mistake - wrong package, investigating how the cross deps stepped in
fixed. there were two deps that were listed as "recommended" (but not required) that ended up causing a loop back dep on module-build itself.
dev-perl/ExtUtils-CBuilder was a missing dependancy for dev-perl/Pod-Coverage
(In reply to comment #6) > dev-perl/ExtUtils-CBuilder was a missing dependancy for dev-perl/Pod-Coverage > different bug ;) and apparently not true. I think you just need to synch up - pod-coverage depends on module-build, this bug was fixed in the tree a few hours ago and may not have hit your local mirror. just for grins: $ more Build.PL use strict; use Module::Build; Module::Build ->new( module_name => "Pod::Coverage", license => 'perl', script_files => [ 'bin/pod_cover' ], build_requires => { 'Test::More' => 0, }, requires => { 'Devel::Symdump' => 2.01, 'Pod::Parser' => 1.13, 'Pod::Find' => 0.21, }, create_makefile_pl => 'passthrough', ) ->create_build_script; ( mcummings@paradox )-( 19:46:18 )-( Pod-Coverage-0.17 )-( 507 ) $ grep -risl cbuilder * ( mcummings@paradox )-( 19:46:29 )-( Pod-Coverage-0.17 )-( 508 ) $ see? no cbuilder calls whatsoever :)
this is all set. also see bug 137098 for related issues that were resolved this evening.