I needed to rebuild media-libs/libsdl today after upgrading dev-libs/DirectFB. The build for media-libs/libsdl-1.2.8-r1 crashed with the following complaint: 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. -D_REENTRANT -D_GNU_SOURCE -I/usr/include/directfb -march=athlon-tbird -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 -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -Isrc/video -DENABLE_DGA -DENABLE_DIRECTFB -DENABLE_GGI -DENABLE_SVGALIB -DENABLE_AALIB -DENABLE_CACA -I/usr/include/ -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_DirectFB_events.c -o SDL_DirectFB_events.o >/dev/null 2>&1 SDL_DirectFB_video.c: In function `DirectFB_VideoInit': SDL_DirectFB_video.c:379: error: `DFBCardCapabilities' undeclared (first use in this function) SDL_DirectFB_video.c:379: error: (Each undeclared identifier is reported only once SDL_DirectFB_video.c:379: error: for each function it appears in.) SDL_DirectFB_video.c:379: error: syntax error before "caps" SDL_DirectFB_video.c:451: error: structure has no member named `GetCardCapabilities' SDL_DirectFB_video.c:451: error: `caps' undeclared (first use in this function) make[3]: *** [SDL_DirectFB_video.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src/video/directfb' 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 make: Leaving directory `/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8' The build was attempted with the following USE flags enabled: +X +aalib +alsa -arts +dga +directfb +esd +fbcon +ggi +libcaca -nas -noaudio -noflagstrip -nojoystick -novideo +opengl +oss -pic +svga -xinerama +xv Attempting to build libsdl-1.2.8-r1 with USE=-directfb was successful. Attempting to build media-libs/libsdl-1.2.9.r1 was successful with the following USE flags: +X +aalib +alsa -arts +dga +directfb +esd +fbcon +ggi +libcaca -nas -noaudio -noflagstrip -nojoystick -novideo +opengl +oss +svga -xinerama +xv All of this occurred when compiling against dev-libs/DirectFB-0.9.24, which was built with the following USE flags: -debug +fbcon -fusion +gif +jpeg +mmx +mpeg +png +sdl -sse -static -sysfs +truetype +zlib I have done very little testing on the successful versions, although I am leaving media-libs/libsdl-1.2.9.r1 installed.
why are you using unstable DirectFB with stable libsdl ? ive fixed this in the unstable libsdl already (1.2.9-r1)
At some point or another I had a problem with DirectFB which was fixed in the unstable revision, so I added it to package.keywords. If there was a known problem between the two packages, it might have been prudent to be more specific in the dependencies of media-libs/libsdl. Something along the lines of "~dev-libs/DirectFB-0.9.22" instead of the bare "dev-libs/DirectFB" probably would have caught that. I realize that you can't test every possible combination (or even most of them), but I'm surprised that you didn't add some sort of blocker when you knew that one possible combo would fail.
i just wanted to verify you didnt have something stupid on your system ... i only bothered to fix the latest packages since they would break most people for sure added patch to 1.2.8-r1
*** Bug 111034 has been marked as a duplicate of this bug. ***