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.
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.
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.