~ # emerge gcc Calculating dependencies... done! [nomerge ] sys-devel/gcc-4.4.2 [4.1.2] USE="fortran mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk (-hardened) -ip28 -ip32r10k (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" [ebuild U ] sys-libs/glibc-2.11 [2.6.1] [ebuild NS ] sys-devel/gcc-4.4.2 [4.1.2] USE="fortran mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk (-hardened) -ip28 -ip32r10k (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" * Error: circular dependencies: ('ebuild', '/', 'sys-libs/glibc-2.11', 'merge') depends on ('ebuild', '/', 'sys-devel/gcc-4.4.2', 'merge') (buildtime) ('ebuild', '/', 'sys-devel/gcc-4.4.2', 'merge') depends on ('ebuild', '/', 'sys-libs/glibc-2.11', 'merge') (buildtime) * Note that circular dependencies can often be avoided by temporarily * disabling USE flags that trigger optional dependencies. This reproduced on portage tree up to 2009-12-01 Reproducible: Always Steps to Reproduce: 1. update to last portage 2. emerge gcc or emerge libc Actual Results: 3. fail Expected Results: 3. successful emerge Portage 2.1.7.9 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gento o-r8 i686) ================================================================= System uname: Linux-2.6.25-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with -gentoo-1.12.11.1 Timestamp of tree: Wed, 25 Nov 2009 01:45:02 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r13, 2.5.4-r2, 2.6.2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i486-pc-linux-gnu" CFLAGS="-O2 -mtune=i686 -pipe" CHOST="i486-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /e tc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mtune=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ " LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu de=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 mo dules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readlin e reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali54 51 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1 371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_e mul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file auth z_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cac he filter headers include info log_config logio mem_cache mime mime_magic negoti ation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" E LIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="ba yrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="G NU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_A LL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_E XTRA_OPTS, PORTDIR_OVERLAY
/usr/portage/sys-devel/gcc/ChangeLog 04 Apr 2009; Markus Meier <maekke@gentoo.org> gcc-4.3.2-r3.ebuild: x86 stable, bug #264121 /usr/portage/sys-libs/glibc/ChangeLog 07 Mar 2009; Markus Meier <maekke@gentoo.org> glibc-2.8_p20080602-r1.ebuild: x86 stable, bug #247553 Do update every once in a while.
Try upgrading first to =glibc-2.10.1-r1 (because on x86 >=glibc-2.11 will need >=gcc-4.3) This isn't really a bug, that you need to upgrade your system step by step if coming from so old glibc or gcc.
Thanks a lot, Samuli Suominen, it seems it will work.
*** Bug 303859 has been marked as a duplicate of this bug. ***
I am trying to update an old system and it is really like a bug!