emerge sdl-perl-2.1.3-r2 fails if ExtUtils-CBuiler-0.18 is not installed. emerge output: lib/SDL/App.pm -> blib/lib/SDL/App.pm lib/SDL/TTFont.pm -> blib/lib/SDL/TTFont.pm lib/SDL/Constants.pm -> blib/lib/SDL/Constants.pm src/SDL.xs -> ./SDL_perl.xs ./SDL_perl.xs -> ./SDL_perl.c /usr/bin/perl5.8.8 -I/usr/lib/perl5/5.8.8/i686-linux -I/usr/lib/perl5/5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap ./SDL_perl.xs Module::Build is not configured with C_support at /usr/lib/perl5/vendor_perl/5.8.8/Module/Build/Base.pm line 3719. !!! ERROR: dev-perl/sdl-perl-2.1.3-r2 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1249: Called perl-module_src_compile perl-module.eclass, line 132: Called die !!! compilation failed !!! If you need support, post the topmost build error, and the call stack if relevant.
This applies to lots of ebuilds: perl-core/File-Spec, dev-perl/Image-Imlib2 [1], etc. Should module-build depend on ExtUtils-CBuilder? [1] http://forums.gentoo.org/viewtopic.php?t=472204
(In reply to comment #1) > This applies to lots of ebuilds: perl-core/File-Spec, dev-perl/Image-Imlib2 > [1], etc. Should module-build depend on ExtUtils-CBuilder? > > [1] http://forums.gentoo.org/viewtopic.php?t=472204 > Only if you want an infinite loop. module-build PDEPENDS on ExtUtils-CBuilder - EU::CB needs module-build to install, making it a straight depend causes a horrible loop. If you re-emerge module-build you should be all fine (there was a short window where I changed the DEP to a PDEP)
Hm. Indeed it does. In that case, it's a bug in portage's PDEPEND handling. emerge -epv File-Spec gives: ... [ebuild N ] dev-perl/module-build-0.28.01 USE="-minimal" 176 kB [ebuild N ] perl-core/File-Spec-3.18 USE="-minimal" 112 kB [ebuild N ] dev-perl/ExtUtils-CBuilder-0.18 USE="-minimal" 0 kB [ebuild N ] dev-perl/extutils-parsexs-2.15 USE="-minimal" 0 kB But on a new system, ExtUtils-CBuilder is not installed, so File-Spec will fail. I'll look into this and maybe file a new bug.
I've confirmed the behavior and am asking the portage devs about it now. In the worst case, I'll go through, locate affected packages, and add the missing dep (to force it into the chain earlier...i hope)
The definitive list is: Image-Imlib Pod-Coverage File-Path (known) sdl-perl (of course :) The remaining modules I found worked without the ExtUtils-CBuilder pointer.
*** Bug 138778 has been marked as a duplicate of this bug. ***
All set with listed ebuilds (except I meant File-Spec, not File-Path). Please --sync up and close this bug (or I will in a few days). Thanks for your patience!
Looks good, closing...