Whenever I try to emerge libsdl, it gives me the same error message: !!! ERROR: media-libs/libsdl-1.2.8-r1 failed. !!! Function src_compile, Line 147, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. I was able to install the version below this without any problem, but it seems that this version is required for VLC, so any support would be helpful. Reproducible: Always Steps to Reproduce: 1.I type in emerge libsdl or any package that has that as a dependency 2.The error message appears at the end, and the packages is not installed. 3. Expected Results: I expected it to install(?) These are some lines that I copied out when I tried to emerge it. It starts out saying: >>> Unpacking SDL-1.2.8.tar.gz to /var/tmp/portage/libsdl-1.2.8-r1/work * Applying 1.2.8-nobuggy-X.patch ... [ ok ] * Applying 1.2.8-libcaca.patch ... [ ok ] * Applying 1.2.8-gcc2.patch ... [ ok ] * Applying libsdl-1.2.8-gcc2.patch.bz2 ... [ ok ] * Applying 1.2.8-keyrepeat.patch ... [ ok ] * Applying 1.2.8-linux26.patch ... [ ok ] * Applying 1.2.8-amd64-endian.patch ... [ ok ] * Applying 1.2.8-gcc4.patch ... [ ok ] Generating build information using aclocal, automake and autoconf This may take a while ... /usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG /usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR /usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE /usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH /usr/share/aclocal/linc.m4:1: warning: underquoted definition of AM_PATH_LINC /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO And then it begins compiling, and then here's how it ends: make[3]: *** [SDL_yuv_mmx.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I. -march=pentium4 -mcpu=i686 -pipe -O2 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2 -DUSE_DLVSYM -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0 -I/usr/kde/3.4/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -I../../include -I../../include/SDL -I../../src -I../../src/main/linux -I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions -I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c SDL_yuv_sw.c -o SDL_yuv_sw.o >/dev/null 2>&1 make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src/video' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src/video' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/libsdl-1.2.8-r1 failed. !!! Function src_compile, Line 147, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. And here is my emerge info: Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -mcpu=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -mcpu=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts audio audiofile avi berkdb bitmap-fonts cdr crypt cups dvd emboss encode esd fam foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl sound spell ssl tcpd tiff truetype truetype-fonts type1-fonts visualization visualizations vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY I just installed Gentoo recently, and this problem actually came up when I was trying to emerge kde-meta, luckily, as I said before, I was able to emerge the version below it. Please contact me if you need any further information.
Looks like a duplicate of bug 89628, please check...
(In reply to comment #1) > Looks like a duplicate of bug 89628, please check... Yes, it looks so, but I don't understand why it still fails if than one has been fixed.
you chopped off the actual error message
Thankyou all! The problem was solved. I apologize, when I did a search for libsdl and libsdl-1.2.8-r1 I did not see http://bugs.gentoo.org/show_bug.cgi?id=89628 in the results. The problem was solved by following the advice of Comment 1 in that bug. I just had to comment out the lines: epatch "${FILESDIR}"/${PV}-gcc2.patch #75392 epatch "${FILESDIR}"/${P}-gcc2.patch.bz2 #86481 And then it worked. Thank you all for your help, I can honestly say I did not expect this much attention, but I appreciate it. ~Lex
Reopened. Now for the third time - can we fix bug 89628 properly?
*** This bug has been marked as a duplicate of 89628 ***