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
Created attachment 191124 [details] emerge --info
Created attachment 191126 [details] build.log
Please provide emerge -pvq libsdl.
[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.
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 ?
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
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 ^^ )
Created attachment 192165 [details] build.log
Created attachment 192166 [details] emerge --info
Created attachment 192167 [details] tar of /etc/portage/package.use/
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)
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.
The problem is also resolved using this tip...
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.