When I try to emerge something with >=emerge-2.1.2_pre2-r9, emerge quit without error. But if I try with ebuild .... compile, its work fine. emerge --info say that gcc is not installed even if I try gcc-config and source /etc/profile. If I downgrade portage to portage-2.1.2_pre2-r9, everything is Ok wakka portage # emerge -uD world Calculating dependencies... done! >>> Emerging (1 of 10) dev-libs/libassuan-0.9.3 to / wakka portage # ----------- wakka portage # emerge -pv portage These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/portage-2.1.2_rc1-r1 USE="-build -doc (-selinux)" LINGUAS="-pl" 0 kB Total size of downloads: 0 kB ------------- wakka portage # gcc-config 2 * Switching native-compiler to i686-pc-linux-gnu-3.4.6 ... >>> Regenerating /etc/ld.so.cache... [ ok ] * If you intend to use the gcc from the new profile in an already * running shell, please remember to do: * # source /etc/profile wakka portage # source /etc/profile wakka portage # gcc -v Lecture des sp
When I try to emerge something with >=emerge-2.1.2_pre2-r9, emerge quit without error. But if I try with ebuild .... compile, its work fine. emerge --info say that gcc is not installed even if I try gcc-config and source /etc/profile. If I downgrade portage to portage-2.1.2_pre2-r9, everything is Ok wakka portage # emerge -uD world Calculating dependencies... done! >>> Emerging (1 of 10) dev-libs/libassuan-0.9.3 to / wakka portage # ----------- wakka portage # emerge -pv portage These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/portage-2.1.2_rc1-r1 USE="-build -doc (-selinux)" LINGUAS="-pl" 0 kB Total size of downloads: 0 kB ------------- wakka portage # gcc-config 2 * Switching native-compiler to i686-pc-linux-gnu-3.4.6 ... >>> Regenerating /etc/ld.so.cache... [ ok ] * If you intend to use the gcc from the new profile in an already * running shell, please remember to do: * # source /etc/profile wakka portage # source /etc/profile wakka portage # gcc -v Lecture des spécification à partir de /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/specs Configuré avec: /var/tmp/portage/gcc-3.4.6-r2/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Modèle de thread: posix version gcc 3.4.6 (Gentoo Hardened 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.9) wakka portage # 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-r1 (hardened/x86/2.6, [unavailable], glibc-2.3.6-r5, 2.6.17-hardened-r1-kakou i686) ================================================================= System uname: Gentoo Base System version 1.12.5 Last Sync: Mon, 30 Oct 2006 10:20:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r3, 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="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fstrict-aliasing" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" 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="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fstrict-aliasing" DISTDIR="/mnt/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LINGUAS="fr" MAKEOPTS="-j2" PKGDIR="/mnt/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.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex 3dnowext a52 aac acl acpi acpi4linux alsa amd antlr apache2 asf bash-completion bcel berkdb bsh bzip2 bzlib cdda cdr chroot crypt cscope cups curl devmap dga dts dvd dvdr dvdread elibc_glibc emacs encode esd extensions faad fam fbcon ffmpeg flac freetype fs gd gdbm gif glibc-omitfp gmp gnutls gpm gstreamer hardened httpd imagemagick imap imlib input_devices_keyboard input_devices_mouse insecure-drivers javascript jdepend jpeg junit kerberos kernel_linux ldap libwww linguas_fr lirc lirc_devices_realmagic live lm_sensors log4j mad matroska mcal md5sum memlimit mikmod mldonkeypango mmx mod motif mysql nagios-dns nagios-ssh nas native ncurses net network nfs nfsv4 nls no-old-linux nptl nptlonly ogg opengl optional-tasks oro pam pdflib perl pic pie png ppds prelude python qmail quicktime readline real ruby samba sasl sdl slang snmp snortsam softquota spamassassin sse ssl stream tcltk tcpd tetex theora threads tiff transcode truetype truetype-fonts usb userland_GNU v4l vcd video_cards_nv vidix virus-scan vlm vorbis vpopmail win32codecs xerces xml xml2 xorg xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The problem is apparently in /usr/bin/emerge at the line : mystatus, myoutput = commands.getstatusoutput("gcc-config -c") that return anything on my system.
Are you using nss_ldap? Please see bug 147625 and bug 152237.
*** This bug has been marked as a duplicate of 147625 ***
Ok it's the same problem