On Monday 26 July 2010 13:32:17 András Csányi wrote: > Hi All, > > Earlier time I did resolve this problem because it was my desktop > machine. But now this is an virtual machine hosted by Amazon. So, how > can fix this circular dependencies issue? The portage is synced. > > Thanks for any help! > > [nomerge ] sys-devel/gcc-4.4.3-r2 [4.1.2] USE="fortran mudflap > nls nptl (-altivec) -bootstrap -build -doc (-fixed-point) -gcj > -graphite -gtk (-hardened) (-libffi) (-multilib) -multislot (-n32) > (-n64) -nocxx -objc -objc++ -objc-gc -openmp -test -vanilla" > [ebuild U ] sys-libs/glibc-2.11.2 [2.6.1] USE="nls -debug -gd > -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla" > 15,994 kB > [ebuild NS ] sys-devel/gcc-4.4.3-r2 [4.1.2] USE="fortran mudflap > nls nptl (-altivec) -bootstrap -build -doc (-fixed-point) -gcj > -graphite -gtk (-hardened) (-libffi) (-multilib) -multislot (-n32) > (-n64) -nocxx -objc -objc++ -objc-gc -openmp -test -vanilla" 61,486 kB > > Total: 2 packages (1 upgrade, 1 in new slot), Size of downloads: 77,479 kB > > * Error: circular dependencies: > > ('ebuild', '/', 'sys-devel/gcc-4.4.3-r2', 'merge') depends on > ('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') (buildtime) > ('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') depends on > ('ebuild', '/', 'sys-devel/gcc-4.4.3-r2', 'merge') (buildtime) > > * Note that circular dependencies can often be avoided by temporarily > * disabling USE flags that trigger optional dependencies.
emerge -av1 =glibc-2.10.1-r1 then emerge the rest of world. That version of glibc is OK with gcc-4.1.* and breaks the circular loop. I had to do this very thing this weekend on an old box. Solving it involved reading all the ebuilds and writing down their deps to find a path through it :-) -- alan dot mckinnon at gmail dot com