Summary: | dev-libs/DirectFB and media-libs/libsdl circular dependency | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mykhaylo Kopytonenko <mishakop> |
Component: | New packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | dhp_gentoo, jakub, tacvbo |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mykhaylo Kopytonenko
2006-09-24 04:22:07 UTC
both libsdl and the directfb packages check for the circular issue you didnt say what versions of directfb or libsdl you're using ... also, post full build logs rather than just snippets This bug was noticed with the following versions of the packages: media-libs/libsdl-1.2.11 dev-libs/DirectFB-0.9.24 Now I have rersync'ed the portage database, and both packages compile. However, there is a warning that the support for the other library will be disabled. The initial bug cannot be reproduced anymore. Examples of the warnings: 1) Emerging libsdl: emerge -av libsdl [ebuild N ] dev-libs/DirectFB-0.9.24 USE="fbcon gif jpeg mmx mpeg png sdl sse truetype zlib -debug -fusion -static -sysfs" 0 kB [ebuild N ] media-libs/libsdl-1.2.11 USE="X alsa dga directfb fbcon opengl svga xv -aalib -arts -esd -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -oss -xinerama" 0 kB >>> Emerging (1 of 2) dev-libs/DirectFB-0.9.24 to / ... >>> Compiling source in /var/tmp/portage/DirectFB-0.9.24/work/DirectFB-0.9.24 ... * Disabling SDL since libSDL.so is broken * econf: updating DirectFB-0.9.24/config.guess with /usr/share/gnuconfig/config.guess * econf: updating DirectFB-0.9.24/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-fbdev --enable-mmx --enable-sse --enable-libmpeg3 --enable-jpeg --enable-png --enable-gif --enable-freetype --disable-multi --disable-debug --disable-static --disable-sysfs --enable-zlib --disable-sdl --with-gfxdrivers=nvidia --with-inputdrivers=keyboard --disable-vnc --build=i686-pc-linux-gnu 2) Emerging DirectFB: emerge -av DirectFB [ebuild N ] media-libs/libsdl-1.2.11 USE="X alsa dga directfb fbcon opengl svga xv -aalib -arts -esd -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -oss -xinerama" 0 kB [ebuild N ] dev-libs/DirectFB-0.9.24 USE="fbcon gif jpeg mmx mpeg png sdl sse truetype zlib -debug -fusion -static -sysfs" 0 kB >>> Emerging (1 of 2) media-libs/libsdl-1.2.11 to / ... >>> Compiling source in /var/tmp/portage/libsdl-1.2.11/work/SDL-1.2.11 ... * Disabling DirectFB since libdirectfb.so is broken * econf: updating SDL-1.2.11/build-scripts/config.guess with /usr/share/gnuconfig/config.guess * econf: updating SDL-1.2.11/build-scripts/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-rpath --enable-events --enable-cdrom --enable-threads --enable-timers --enable-endian --enable-file --enable-cpuinfo --disable-oss --enable-alsa --disable-esd --disable-arts --disable-nas --enable-video-x11 --enable-dga --enable-video-x11-xv --disable-video-x11-xinerama --enable-video-x11-xrandr --enable-video-dga --enable-video-fbcon --disable-video-ggi --enable-video-svga --disable-video-aalib --disable-video-caca --enable-video-opengl --with-x --disable-video-x11-xme --enable-nasm --enable-video-dummy --disable-video-directfb --build=i686-pc-linux-gnu The workaround is to recompile the library that was emerged first (with the disabling warning) in order to enable support for the second library. For example, compiling libsdl, DirectFB and again libsdl gives no warnings in the end: >>> Compiling source in /var/tmp/portage/libsdl-1.2.11/work/SDL-1.2.11 ... * econf: updating SDL-1.2.11/build-scripts/config.guess with * /usr/share/gnuconfig/config.guess * econf: updating SDL-1.2.11/build-scripts/config.sub with * /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-rpath --enable-events --enable-cdrom --enable-threads --enable-timers --enable-endian --enable-file --enable-cpuinfo --disable-oss --enable-alsa --disable-esd --disable-arts --disable-nas --enable-video-x11 --enable-dga --enable-video-x11-xv --disable-video-x11-xinerama --enable-video-x11-xrandr --enable-video-dga --enable-video-fbcon --disable-video-ggi --enable-video-svga --disable-video-aalib --disable-video-caca --enable-video-opengl --with-x --disable-video-x11-xme --enable-nasm --enable-video-dummy --enable-video-directfb --build=i686-pc-linux-gnu ok ... we'll assume your tree is out of date the warning is what you should get as there isnt anything we can really do about this *** Bug 152405 has been marked as a duplicate of this bug. *** Well, if there's no better solution, mark this CANTFIX, but it really is not invalid. # USE="-* directfb sdl" emerge -pv libsdl These are the packages that would be merged, in order: Calculating dependencies... done! !!! Error: circular dependencies: ebuild / media-libs/libsdl-1.2.11 merge depends on ebuild / dev-libs/DirectFB-0.9.25.1 merge (hard) ebuild / dev-libs/DirectFB-0.9.25.1 merge depends on ebuild / media-libs/libsdl-1.2.11 merge (hard) it was INVALID as the portage stuff you speak of did not exist at the time and the bug reported here is unrelated to your output Isn't this bug in fact dup of bug #152405 ? |