Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137098 - dev-perl/sdl-perl should depend on dev-perl/ExtUtils-CBuilder
Summary: dev-perl/sdl-perl should depend on dev-perl/ExtUtils-CBuilder
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 138778 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-17 11:07 UTC by Friedrich Oslage (RETIRED)
Modified: 2006-07-17 10:40 UTC (History)
2 users (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 Friedrich Oslage (RETIRED) gentoo-dev 2006-06-17 11:07:55 UTC
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.
Comment 1 Ed Catmur 2006-06-30 09:56:09 UTC
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
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2006-06-30 10:00:35 UTC
(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)
Comment 3 Ed Catmur 2006-06-30 12:00:08 UTC
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.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2006-06-30 12:33:33 UTC
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)
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2006-06-30 18:15:41 UTC
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.
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2006-07-01 15:34:05 UTC
*** Bug 138778 has been marked as a duplicate of this bug. ***
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2006-07-01 20:16:26 UTC
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!
Comment 8 Yuval Yaari (RETIRED) gentoo-dev 2006-07-17 10:40:46 UTC
Looks good, closing...