Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152103 - media-libs/giflib + media-libs/urt circular dependency
Summary: media-libs/giflib + media-libs/urt circular dependency
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 187938 233091 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-20 06:21 UTC by Hubert Mercier (RETIRED)
Modified: 2008-07-27 13:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Mercier (RETIRED) gentoo-dev 2006-10-20 06:21:21 UTC
Hello,

Trying to install a fresh gentoo, I ran intoo a circular dependency problem when trying to install fvwm2 with the following USE flags :

USE="gtk imlib nls perl png readline truetype"

The imlib USE flag implies installing giflib (even without the "gif" USE flag). In the media-libs/giflib ebuild, we can allow the "rle" USE flag, to be able to deal with RLE-encoded .gif files. Doing this enables installation of media-libs/urt (DEPEND rle? ( media-libs/urt )). But the urt ebuild contains another dependency (DEPEND gif? ( media-libs/giflib )).

I think here is the problem ?

Cheers,

Hubert.

--

Portage 2.1.2_pre3-r5 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1-20061020 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r1-20061020 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.5
Last Sync: Thu, 19 Oct 2006 14:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X bash-completion berkdb bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc fbcon fortran gdbm gif gpm gtk imlib input_devices_keyboard input_devices_mouse isdnlog javascript jpeg kernel_linux libg++ linguas_fr ncurses nls nptl nptlonly pam pcre perl png ppds pppd python readline reflection session spl ssl tcpd tiff toolbar truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia video_cards_vesa xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Hubert Mercier (RETIRED) gentoo-dev 2006-10-20 06:25:59 UTC
Oops : I forgot to mention how to deal with this problem...

First, install your piece of software without the "rle" USE flag.
After installation, just add this USE flag to your globals, and re-emerge your software, using -uDN emerge option.

That's it !
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-20 07:20:41 UTC
Not really, read the giflib ebuild.
Comment 3 Hubert Mercier (RETIRED) gentoo-dev 2006-10-20 08:11:59 UTC
Sorry to come back on this bug, but it is _not_ solved. Of course, I read all the mentionned ebuilds before posting this bug.

Maybe I should have posted the output of emerge fvwm in the first time : using, on a fresh system, both rle and gif USE flag seems to confuse portage :

--

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

Calculating dependencies   !!! Error: circular dependencies:

ebuild / media-libs/gdk-pixbuf-0.22.0-r5 merge depends on
   ebuild / gnome-base/gnome-libs-1.4.2 merge (hard)
ebuild / media-libs/giflib-4.1.4 merge depends on
   ebuild / media-libs/urt-3.1b-r1 merge (hard)
ebuild / media-libs/imlib-1.9.14-r3 merge depends on
   ebuild / media-libs/giflib-4.1.4 merge (hard)
ebuild / media-libs/urt-3.1b-r1 merge depends on
   ebuild / media-libs/giflib-4.1.4 merge (hard)
ebuild / gnome-base/gnome-libs-1.4.2 merge depends on
   ebuild / media-libs/imlib-1.9.14-r3 merge (hard)
ebuild / x11-wm/fvwm-2.5.16 merge depends on
   ebuild / media-libs/imlib-1.9.14-r3 merge (hard)
   ebuild / media-libs/gdk-pixbuf-0.22.0-r5 merge (hard)

--

Or maybe there is just something I did wrong ? Please let me know.

Cheers,
Comment 4 Hubert Mercier (RETIRED) gentoo-dev 2006-10-20 10:31:56 UTC
Re-opening bug.
Comment 5 SpanKY gentoo-dev 2006-10-20 22:07:28 UTC
there really is no way to solve this

the package itself already takes care of build troubles; see Bug 111455 (and i'd just as soon dupe this bug against that one)
Comment 6 SpanKY gentoo-dev 2006-11-16 12:33:07 UTC
nothing to be done
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-08-06 20:37:05 UTC
*** Bug 187938 has been marked as a duplicate of this bug. ***
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-27 13:53:20 UTC
*** Bug 233091 has been marked as a duplicate of this bug. ***