Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 152405

Summary: [circular deps] between media-libs/libsdl and dev-libs/DirectFB
Product: Gentoo Linux Reporter: Octavio Ruiz (Ta^3) <tacvbo>
Component: New packagesAssignee: Gentoo Games <games>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andreolb2, dang, dhp_gentoo, gnuk0001, info, jakub, marta.luchi, mihaim, nehuenboffa, throw_away_2002
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Octavio Ruiz (Ta^3) 2006-10-22 12:03:11 UTC
media-libs/libsdl dev-libs/DirectFB have circular deps with 'sdl' 'directfb' USE flags enabled.


# USE="-* directfb sdl" emerge -pv libsdl

These are the packages that would be merged, in order:

Calculating dependencies            ... done!
!!! Error: circular dependencies:

ebuild / dev-libs/DirectFB-0.9.25.1 merge depends on
   ebuild / media-libs/libsdl-1.2.11 merge (hard)
ebuild / media-libs/libsdl-1.2.11 merge depends on
   ebuild / dev-libs/DirectFB-0.9.25.1 merge (hard)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-22 13:13:55 UTC

*** This bug has been marked as a duplicate of 148906 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 15:23:28 UTC
Reopen, as we need more bugs for the same issue...
Comment 3 SpanKY gentoo-dev 2006-10-23 15:56:29 UTC
nothing to be done in the libsdl or directfb ebuilds
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-08 09:10:52 UTC
*** Bug 154483 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-11-24 02:14:46 UTC
*** Bug 156103 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-01-28 10:13:04 UTC
*** Bug 164184 has been marked as a duplicate of this bug. ***
Comment 7 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-08 20:51:44 UTC
Created attachment 109586 [details]
emerge --info

For later use, if any one ever want to try to work a fix, I ll give my configuration.

My system does actually work using attached conf; the line below shows the problem in short:
root@moon_gen:/# USE="directfb" emerge -vae world
These are the packages that would be merged, in order:
Calculating world dependencies... done!
!!! Error: circular dependencies:
('ebuild', '/', 'media-libs/libsdl-1.2.11-r1', 'merge') depends on
   ('ebuild', '/', 'dev-libs/DirectFB-0.9.25.1', 'merge') (hard)
('ebuild', '/', 'x11-libs/cairo-1.3.12', '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-r1', 'merge') (hard)
root@moon_gen:/#

Thus the use of "___" prefix in front of "___directfb" flag to desactivate the feature (I prefer "___" over "-" since the generalised use of it just default the settings to the profile)

A workaround, for people who need one, is to "-sdl"; the following command works around the circular dep:

root@moon_gen:/# USE="directfb -sdl" emerge -vae world
These are the packages that would be merged, in order:
Calculating world dependencies... done!
[ebuild   R   ] sys-apps/portage-2.1.2-r8  USE="doc -build -epydoc (-selinux)" LINGUAS="-pl" 0 kB
[...]

I hope someone will be brave enough to work a fix some day ...
Comment 8 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-08 20:58:02 UTC
Bug #12468 seem dup of this one, and bug #148906 seem BLOCKING this one.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-02-12 15:56:47 UTC
*** Bug 166498 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-02-17 11:43:20 UTC
*** Bug 167318 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-03-05 00:02:32 UTC
*** Bug 169381 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-03-26 10:58:15 UTC
*** Bug 172285 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-07-21 18:19:55 UTC
*** Bug 186137 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-07-21 18:23:40 UTC
Reopen to dupe.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-07-21 18:23:57 UTC

*** This bug has been marked as a duplicate of bug 175808 ***