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

Bug 243296

Summary: Circular dependency between media-libs/urt and media-libs/giflib
Product: Gentoo Linux Reporter: Morgan Wesström <gentoo-bugzilla>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED CANTFIX    
Severity: normal CC: dhp_gentoo, gentoo-bugzilla
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Morgan Wesström 2008-10-22 23:18:10 UTC
media-libs/urt-3.1b-r1 with USE="gif" depends on media-libs/giflib.
media-libs/giflib-4.1.6-r1 with USE="rle" depends on media-libs/urt.
Creates a circular dependency while emerging media-video/vlc with both USE flags set.

Reproducible: Always

Steps to Reproduce:
1. Unmerge media-libs/giflib and/or media-libs/urt if they're installed. 
2. Set USE-flags gif and rle in /etc/make.conf
3. emerge vlc

Actual Results:  
Emerge stops with an error about circular dependency between media-libs/giflib and media-libs/urt.

Expected Results:  
Clean install of media-video/vlc.

Workaround is to first emerge -1 --nodeps giflib. Then it's possible to emerge vlc.
Comment 1 Morgan Wesström 2008-10-22 23:53:54 UTC
Some additional info and clarifications:
The libraries depend on each other to build (DEPEND).

Vlc triggers this because it depends on ffmpeg and ffmpeg with USE="imlib" depends on imlib2 and imlib2 with USE="gif" depends on giflib.
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2008-10-23 01:15:45 UTC
duplicate of bug #175808

To fix your problem, emerge the two ebuilds seperatly with a few flags turned OFF, then turn them on. Emerge -va1 foo, will help NOT inserting the ebuild in world (usefull if you want to avoid having simple deps in your world).

Please, close your bug.