Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: "András Csányi" <sayusi.ando@×××××.com>
Subject: Re: [gentoo-user] Circular dependencies
Date: Mon, 26 Jul 2010 12:12:19
Message-Id: 201007261408.20328.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] Circular dependencies by "András Csányi"
1 On Monday 26 July 2010 13:32:17 András Csányi wrote:
2 > Hi All,
3 >
4 > Earlier time I did resolve this problem because it was my desktop
5 > machine. But now this is an virtual machine hosted by Amazon. So, how
6 > can fix this circular dependencies issue? The portage is synced.
7 >
8 > Thanks for any help!
9 >
10 > [nomerge ] sys-devel/gcc-4.4.3-r2 [4.1.2] USE="fortran mudflap
11 > nls nptl (-altivec) -bootstrap -build -doc (-fixed-point) -gcj
12 > -graphite -gtk (-hardened) (-libffi) (-multilib) -multislot (-n32)
13 > (-n64) -nocxx -objc -objc++ -objc-gc -openmp -test -vanilla"
14 > [ebuild U ] sys-libs/glibc-2.11.2 [2.6.1] USE="nls -debug -gd
15 > -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla"
16 > 15,994 kB
17 > [ebuild NS ] sys-devel/gcc-4.4.3-r2 [4.1.2] USE="fortran mudflap
18 > nls nptl (-altivec) -bootstrap -build -doc (-fixed-point) -gcj
19 > -graphite -gtk (-hardened) (-libffi) (-multilib) -multislot (-n32)
20 > (-n64) -nocxx -objc -objc++ -objc-gc -openmp -test -vanilla" 61,486 kB
21 >
22 > Total: 2 packages (1 upgrade, 1 in new slot), Size of downloads: 77,479 kB
23 >
24 > * Error: circular dependencies:
25 >
26 > ('ebuild', '/', 'sys-devel/gcc-4.4.3-r2', 'merge') depends on
27 > ('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') (buildtime)
28 > ('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') depends on
29 > ('ebuild', '/', 'sys-devel/gcc-4.4.3-r2', 'merge') (buildtime)
30 >
31 > * Note that circular dependencies can often be avoided by temporarily
32 > * disabling USE flags that trigger optional dependencies.
33
34
35 emerge -av1 =glibc-2.10.1-r1
36
37 then emerge the rest of world. That version of glibc is OK with gcc-4.1.* and
38 breaks the circular loop.
39
40 I had to do this very thing this weekend on an old box. Solving it involved
41 reading all the ebuilds and writing down their deps to find a path through it
42 :-)
43
44
45 --
46 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Circular dependencies "András Csányi" <sayusi.ando@×××××.com>