[ebuild U ] media-libs/libsdl-1.2.5-r1 [1.2.5] <-- weird...i thought 1.2.5 (final) > 1.2.5_r1 ? Upon trying to emerge mplayer (with ~x86 in ACCEPT_KEYWORDS), during the libsdl upgrade, I got an error on src_compile (during compilation with DirectFB support)...possibly a problem with the library, but here goes: This is what disturbed me (log and info follow): gcc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.5\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -march=pentium4 -O3 -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DARTSC_SUPPORT -I/usr/kde/3.1/include/artsc -DESD_SUPPORT -I/usr/X11R6/include -DENABLE_X11 -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_DIRECTFB -I/usr/X11R6/include -DENABLE_GGI -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DPTHREAD_NO_RECURSIVE_MUTEX -I../../../include -I../../../include/SDL -I../../../src -I../../../src/linux -I../../../src/main -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 -D_REENTRANT -I/usr/include/directfb -c SDL_DirectFB_events.c -o SDL_DirectFB_events.o >/dev/null 2>&1 SDL_DirectFB_video.c: In function `SDLToDFBPixelFormat': SDL_DirectFB_video.c:242: `DSPF_RGB15' undeclared (first use in this function) SDL_DirectFB_video.c:242: (Each undeclared identifier is reported only once SDL_DirectFB_video.c:242: for each function it appears in.) SDL_DirectFB_video.c: In function `DFBToSDLPixelFormat': SDL_DirectFB_video.c:321: `DSPF_RGB15' undeclared (first use in this function) make[3]: *** [SDL_DirectFB_video.lo] Error 1 tail of emerge log: root ~ ]# emerge -u libsdl ...compilation...*CPU goes chug chug chug chug clunk clunk pow bam smack* ...lots of irrelevant stuff goes here... Making all in directfb make[3]: Entering directory `/var/tmp/portage/libsdl-1.2.5-r1/work/SDL-1.2.5/src/video/directfb' /bin/sh ../../../libtool --mode=compile gcc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.5\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -march=pentium4 -O3 -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DARTSC_SUPPORT -I/usr/kde/3.1/include/artsc -DESD_SUPPORT -I/usr/X11R6/include -DENABLE_X11 -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_DIRECTFB -I/usr/X11R6/include -DENABLE_GGI -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DPTHREAD_NO_RECURSIVE_MUTEX -I../../../include -I../../../include/SDL -I../../../src -I../../../src/linux -I../../../src/main -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 -D_REENTRANT -I/usr/include/directfb -c SDL_DirectFB_events.c /bin/sh ../../../libtool --mode=compile gcc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.5\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -march=pentium4 -O3 -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DARTSC_SUPPORT -I/usr/kde/3.1/include/artsc -DESD_SUPPORT -I/usr/X11R6/include -DENABLE_X11 -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_DIRECTFB -I/usr/X11R6/include -DENABLE_GGI -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DPTHREAD_NO_RECURSIVE_MUTEX -I../../../include -I../../../include/SDL -I../../../src -I../../../src/linux -I../../../src/main -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 -D_REENTRANT -I/usr/include/directfb -c SDL_DirectFB_video.c mkdir .libs gcc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.5\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -march=pentium4 -O3 -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DARTSC_SUPPORT -I/usr/kde/3.1/include/artsc -DESD_SUPPORT -I/usr/X11R6/include -DENABLE_X11 -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_DIRECTFB -I/usr/X11R6/include -DENABLE_GGI -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DPTHREAD_NO_RECURSIVE_MUTEX -I../../../include -I../../../include/SDL -I../../../src -I../../../src/linux -I../../../src/main -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 -D_REENTRANT -I/usr/include/directfb -c SDL_DirectFB_events.c -fPIC -DPIC -o .libs/SDL_DirectFB_events.lo rm -f .libs/SDL_DirectFB_video.lo gcc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.5\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -march=pentium4 -O3 -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DARTSC_SUPPORT -I/usr/kde/3.1/include/artsc -DESD_SUPPORT -I/usr/X11R6/include -DENABLE_X11 -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_DIRECTFB -I/usr/X11R6/include -DENABLE_GGI -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DPTHREAD_NO_RECURSIVE_MUTEX -I../../../include -I../../../include/SDL -I../../../src -I../../../src/linux -I../../../src/main -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 -D_REENTRANT -I/usr/include/directfb -c SDL_DirectFB_video.c -fPIC -DPIC -o .libs/SDL_DirectFB_video.lo gcc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.5\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -march=pentium4 -O3 -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DARTSC_SUPPORT -I/usr/kde/3.1/include/artsc -DESD_SUPPORT -I/usr/X11R6/include -DENABLE_X11 -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_DIRECTFB -I/usr/X11R6/include -DENABLE_GGI -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DPTHREAD_NO_RECURSIVE_MUTEX -I../../../include -I../../../include/SDL -I../../../src -I../../../src/linux -I../../../src/main -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 -D_REENTRANT -I/usr/include/directfb -c SDL_DirectFB_events.c -o SDL_DirectFB_events.o >/dev/null 2>&1 SDL_DirectFB_video.c: In function `SDLToDFBPixelFormat': SDL_DirectFB_video.c:242: `DSPF_RGB15' undeclared (first use in this function) SDL_DirectFB_video.c:242: (Each undeclared identifier is reported only once SDL_DirectFB_video.c:242: for each function it appears in.) SDL_DirectFB_video.c: In function `DFBToSDLPixelFormat': SDL_DirectFB_video.c:321: `DSPF_RGB15' undeclared (first use in this function) make[3]: *** [SDL_DirectFB_video.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .libs/SDL_DirectFB_events.lo SDL_DirectFB_events.lo make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.5-r1/work/SDL-1.2.5/src/video/directfb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libsdl-1.2.5-r1/work/SDL-1.2.5/src/video' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libsdl-1.2.5-r1/work/SDL-1.2.5/src' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/libsdl-1.2.5-r1 failed. !!! Function src_compile, Line 117, Exitcode 2 !!! (no error message) emerge info: Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r3) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow cups libg++ qtmt gtkhtml gdbm berkdb readline bonobo ggi tcpd libwww gtk aalib acpi alsa apm arts avi cdr crypt directfb dvd encode esd flash gd ggz gif gnome gpm guile imap imlib ipv6 java jpeg kde kerberos ldap leim maildir mikmod mmx motif mozilla mpeg mule mysql ncurses nls oav oggvorbis opengl oss pam pda pdflib perl png python qt quicktime samba scanner sdl slang snmp spell ssl svga tcltk tetex tiff truetype wmf X xml xml2 xmms xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CXXFLAGS="-march=pentium4 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
PS: Don't you people try to compile before submitting new version? Yeesh. :P
> [ebuild U ] media-libs/libsdl-1.2.5-r1 [1.2.5] <-- weird...i thought 1.2.5 > (final) > 1.2.5_r1 ? -r1 means revision number one of the ebuild, which is newer than libsdl-1.2.5.ebuild (revision 0). Anyway, this is caused by a glitch in the -r1 ebuild where someone (*cough*) removed the conditional dependency on directfb, but didn't remove the $myconf addition if directfb was in USE. I removed directfb from IUSE and commented out the myconf statements in the ebuild, hopefully fixing this problem (even though there will be no directfb support, but those cause circular dependencies at the moment anyway). Please report back if this didn't fix the problem. Thanks!
It didn't fix the problem... emerge sync [done] emerge DirectFB [done] (just for sanity's sake) emerge -u libsdl [1.2.5->1.2.5-r1] ...*CPU goes chug chug chug clunk bang pow smack* gcc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.5\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -march=pentium4 -O3 -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DARTSC_SUPPORT -I/usr/kde/3.1/include/artsc -DESD_SUPPORT -I/usr/X11R6/include -DENABLE_X11 -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_DIRECTFB -I/usr/X11R6/include -DENABLE_GGI -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DPTHREAD_NO_RECURSIVE_MUTEX -I../../../include -I../../../include/SDL -I../../../src -I../../../src/linux -I../../../src/main -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 -D_REENTRANT -I/usr/include/directfb -c SDL_DirectFB_events.c -o SDL_DirectFB_events.o >/dev/null 2>&1 mv -f .libs/SDL_DirectFB_events.lo SDL_DirectFB_events.lo make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.5-r1/work/SDL-1.2.5/src/video/directfb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libsdl-1.2.5-r1/work/SDL-1.2.5/src/video' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libsdl-1.2.5-r1/work/SDL-1.2.5/src' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/libsdl-1.2.5-r1 failed. !!! Function src_compile, Line 117, Exitcode 2 !!! (no error message)
Created attachment 7510 [details] modified ebuild for libsdl (not a patch tho') this really shouldn't be happening, but oh well...hope it's fixed by rc4 :P
styx fixed this in cvs
actually, this breaking has nothing to do with libsdl ... the new version of DirectFB that is in portage (0.9.16) caused this breakage. 1.2.5 works with 0.9.15, not 0.9.16