After upgrading to portage 2.1.2_rc1 and above (including 2.1.2_rc1-r4), emerge stops working. Here is an example when trying to run "emerge portage --debug --verbose" root@celia ~ # emerge portage --debug --verbose myaction None myopts {'--debug': True, '--verbose': True} Calculating dependencies Parent: None Depstring: sys-apps/portage Priority: soft Candidates: ['sys-apps/portage'] ebuild: sys-apps/portage-2.1.2_rc1-r4 I Parent: ebuild / sys-apps/portage-2.1.2_rc1-r4 merge Depstring: >=dev-lang/python-2.3 !build? ( >=sys-apps/sed-4.0.5 ) Priority: hard Candidates: ['>=sys-apps/sed-4.0.5', '>=dev-lang/python-2.3'] Exiting... ebuild / sys-apps/portage-2.1.2_rc1-r4 merge Parent: ebuild / sys-apps/portage-2.1.2_rc1-r4 merge Depstring: >=dev-lang/python-2.3 !build? ( >=sys-apps/sed-4.0.5 dev-python/python-fchksum !userland_Darwin? ( >=app-shells/bash-3.0 ) ) elibc_glibc? ( >=sys-apps/sandbox-1.2.17 ) elibc_uclibc? ( >=sys-apps/sandbox-1.2.17 ) !userland_Darwin? ( >=app-misc/pax-utils-0.1.13 ) selinux? ( >=dev-python/python-selinux-2.16 ) doc? ( app-portage/portage-manpages ) >=dev-python/pycrypto-2.0.1-r5 Priority: medium Candidates: ['dev-python/python-fchksum', '>=sys-apps/sandbox-1.2.17', '>=dev-lang/python-2.3', '>=app-misc/pax-utils-0.1.13', '>=sys-apps/sed-4.0.5', '>=app-shells/bash-3.0', '>=dev-python/pycrypto-2.0.1-r5'] Exiting... ebuild / sys-apps/portage-2.1.2_rc1-r4 merge Exiting... None ... done! >>> Emerging (1 of 1) sys-apps/portage-2.1.2_rc1-r4 to / root@celia ~ # This is what i got from emerge --info. GCC for some reason is "[unavailable]". root@celia ~ # emerge --info !!! No gcc found. You probably need to 'source /etc/profile' !!! to update the environment of this terminal and possibly !!! other terminals also. Portage 2.1.2_rc1-r4 (default-linux/amd64/2006.1, [unavailable], glibc-2.5-r0, 2.6.18-gentoo-r1 x86_64) ================================================================= System uname: Gentoo Base System version 1.12.6 Last Sync: Mon, 06 Nov 2006 20:30:01 +0000 dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 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.16.1-r3, 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 -O3 -pipe -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv" GENTOO_MIRRORS="ftp://mirrors.64hosting.com/pub/mirrors/gentoo/ http://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.gentoo.or.kr/ http://gentoo.gg3.net/ http://mirrors.64hosting.com/pub/mirrors/gentoo/" LANG="zh_HK.utf8" MAKEOPTS="-j3" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X bash-completion berkdb bitmap-fonts bzip2 cairo cdr cjk clamav cli cracklib crypt cups dlloader dri dvd dvdr elibc_glibc encode fam fastcgi fortran gdbm gpm iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java kerberos kernel_linux ldap libg++ logrotate md5sum multislot mysql ncurses nls no-old-linux nptl nptlonly pam pcre perl pic ppds pppd python readline reflection ruby samba session spl ssl tcpd threads transcode truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nv vim xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS root@celia ~ # A discussion about this issue can be found here. http://forums.gentoo.org/viewtopic-t-512232-highlight-.html
I think you have a problem with nss_ldap. *** This bug has been marked as a duplicate of 147625 ***