Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269657 - media-libs/libsdl-1.2.13-r1 is not compiling
Summary: media-libs/libsdl-1.2.13-r1 is not compiling
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-13 07:10 UTC by Animatrix
Modified: 2009-06-28 20:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,5.71 KB, text/plain)
2009-05-13 07:11 UTC, Animatrix
Details
build.log (build.log,22.70 KB, text/plain)
2009-05-13 07:12 UTC, Animatrix
Details
build.log (build.log,21.93 KB, text/plain)
2009-05-23 06:03 UTC, Aelia
Details
emerge --info (emerge.info,2.39 KB, text/plain)
2009-05-23 06:04 UTC, Aelia
Details
tar of /etc/portage/package.use/ (package.use.tar,90.00 KB, text/plain)
2009-05-23 06:05 UTC, Aelia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Animatrix 2009-05-13 07:10:34 UTC
When I try to compile media-libs/libsdl-1.2.13-r1, I get this error :

>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/libsdl-1.2.13-r1/work/SDL-1.2.13 ...
make -s -j3
make: *** Pas de règle pour fabriquer la cible « build/*.lo », nécessaire pour « build/libSDL.la ». Arrêt.
make: *** Attente des tâches non terminées....
mkdir -p -- build
 *
 * ERROR: media-libs/libsdl-1.2.13-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2835:  Called _eapi2_src_compile
 *               ebuild.sh, line  634:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-libs/libsdl-1.2.13-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libsdl-1.2.13-r1/temp/environment'.
 *

>>> Failed to emerge media-libs/libsdl-1.2.13-r1, Log file:

>>>  '/var/tmp/portage/media-libs/libsdl-1.2.13-r1/temp/build.log'


Reproducible: Always

Steps to Reproduce:
1. emerge libsdl

Actual Results:  
Failed to emerge media-libs/libsdl-1.2.13-r1
Comment 1 Animatrix 2009-05-13 07:11:21 UTC
Created attachment 191124 [details]
emerge --info
Comment 2 Animatrix 2009-05-13 07:12:11 UTC
Created attachment 191126 [details]
build.log
Comment 3 Sebastian Luther (few) 2009-05-13 07:51:32 UTC
Please provide emerge -pvq libsdl.
Comment 4 Animatrix 2009-05-13 07:58:15 UTC
[ebuild     U ] media-libs/libsdl-1.2.13-r2 [1.2.13-r1] USE="X aalib alsa audio dga esd fbcon joystick* libcaca opengl pulseaudio svga video xinerama xv -arts -custom-cflags -directfb -ggi -nas -oss"

I just want to recompile libsdl with joystick support. Even if, I disable joystick, I get the same error.
Comment 5 Rafał Mużyło 2009-05-13 12:33:07 UTC
First, could you translate that error to English ?

That aside, there's something strange about your build.log:

checking for libasound headers version >= 0.9.0... found.
checking for snd_ctl_open in -lasound... yes
ls: cannot access /usr/lib/libasound.so.*: No such file or directory
-- /usr/lib/libasound.so.* -> 
checking for esd-config... /usr/bin/esd-config
checking for ESD - version >= 0.2.8... yes
ls: cannot access -lesd: No such file or directory
-- -lesd -> 
checking for pkg-config... /usr/bin/pkg-config
checking for PulseAudio 0.9 support... yes
ls: cannot access /usr/lib/libpulse-simple.so.*: No such file or directory
-- /usr/lib/libpulse-simple.so.* -> 

Any explanation ?
Comment 6 Animatrix 2009-05-13 13:14:34 UTC
However, everything seems fine :

-=[animatrix@gentoo]=(~)> ls -l /usr/lib/ | grep libasound.so.             <(15:11:17)>
lrwxrwxrwx  1 root root       18 mai  7 12:16 libasound.so -> libasound.so.2.0.0
lrwxrwxrwx  1 root root       18 mai  7 12:16 libasound.so.2 -> libasound.so.2.0.0
-rwxr-xr-x  1 root root   722532 mai  7 12:16 libasound.so.2.0.0
-=[animatrix@gentoo]=(~)> ls -l /usr/lib/ | grep esd                       <(15:11:52)>
-rw-r--r--  1 root root    44136 mai  7 12:22 libesd.a
-rw-r--r--  1 root root     9274 mai  7 12:22 libesddsp.a
-rw-r--r--  1 root root      892 mai  7 12:22 libesddsp.la
lrwxrwxrwx  1 root root       19 mai  7 12:22 libesddsp.so -> libesddsp.so.0.2.39
lrwxrwxrwx  1 root root       19 mai  7 12:22 libesddsp.so.0 -> libesddsp.so.0.2.39
-rwxr-xr-x  1 root root    13600 mai  7 12:22 libesddsp.so.0.2.39
-rw-r--r--  1 root root      852 mai  7 12:22 libesd.la
lrwxrwxrwx  1 root root       16 mai  7 12:22 libesd.so -> libesd.so.0.2.39
lrwxrwxrwx  1 root root       16 mai  7 12:22 libesd.so.0 -> libesd.so.0.2.39
-rwxr-xr-x  1 root root    42232 mai  7 12:22 libesd.so.0.2.39
-=[animatrix@gentoo]=(~)> ls -l /usr/lib/ | grep libpulse-simple.so.*      <(15:12:59)>
lrwxrwxrwx  1 root root       24 mai  7 12:25 libpulse-simple.so -> libpulse-simple.so.0.0.2
lrwxrwxrwx  1 root root       24 mai  7 12:25 libpulse-simple.so.0 -> libpulse-simple.so.0.0.2
-rwxr-xr-x  1 root root    13656 mai  7 12:25 libpulse-simple.so.0.0.2
Comment 7 Aelia 2009-05-23 06:03:19 UTC
got the exact same problem. i'll add my emerge.info and build.log

(
in make.conf I put USE=-* and set USE in /etc/portage/package.use/* so i'll post a tar of this folder too ^^
)
Comment 8 Aelia 2009-05-23 06:03:49 UTC
Created attachment 192165 [details]
build.log
Comment 9 Aelia 2009-05-23 06:04:04 UTC
Created attachment 192166 [details]
emerge --info
Comment 10 Aelia 2009-05-23 06:05:09 UTC
Created attachment 192167 [details]
tar of /etc/portage/package.use/
Comment 11 Aelia 2009-05-23 06:18:08 UTC
The very first rule of the makefile fails because it can't find a rule to build the dependency 'build/*.lo'

I have the same thing for the libasound.so in the configure script and :
ls /usr/lib/libasound.so.*
/usr/lib/libasound.so.2  /usr/lib/libasound.so.2.0.0

for info I am building a system from scratch got X all the dependencies no problem (except for glib, and >gcc-4.1.2 --note that gcc-4.1.2 compiles without problem so my toolchain isn't broken--, I should post a bug for these ones too)
Comment 12 Aelia 2009-06-10 18:19:19 UTC
FOUND! my problem was due to the fact I had /bin/sh linked to zsh... seems the scripts call /bin/sh but aren't compatible with the standard... it is the only ebuild I have seen do that until now.
Comment 13 Animatrix 2009-06-10 19:18:42 UTC
The problem is also resolved using this tip...
Comment 14 Mr. Bones. (RETIRED) gentoo-dev 2009-06-28 20:28:26 UTC
as far as I know, zsh isn't one of the shells that we support as /bin/sh.

I'd take a patch for this, but frankly, if you have /bin/sh as zsh you're out in "you get to keep both pieces" territory.

I'm making this INVALID for now.  Feel free to reopen if you attach a patch.