I've noticed that having commented CFLAGS, CHOST, CXXFLAGS after uncommented ones in /etc/make.conf set this ones to commented variables. Reproducible: Always Steps to Reproduce: 1. edit /etc/make.conf 2. paste CFLAGS="-O2 -march=opteron -mtune=opteron" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="${CFLAGS}" #CFLAGS="-Os -fexpensive-optimizations -march=opteron -mtune=opteron -fprofile-generate -fprofile-use -frename-registers -fbranch-probabilities" #CHOST="x86_64-pc-linux-gnu" #CXXFLAGS="${CFLAGS}" MAKEOPTS="-j4" FEATURES="-ccache" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.du.se/pub/os/gentoo http://mirror.datapipe.net/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.linux.ee/pub/gentoo/distfiles/ http://128.213.5.34/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://gentoo.inode.at/" USE="ipv6 -mysql mysqli apache2 offensive python samba -scanner -X -xinerama xml2 zlib -gcj -oss -alsa -mad -ldap -flac -tiff -encode -truetype -truetype-fonts -type1-fonts -xv -pam" ACCEPT_KEYWORDS="~amd64" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp --limit-rate=150k \${URI} -P \${DISTDIR}" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp --limit-rate=150k \${URI} -P \${DISTDIR}" PORTDIR_OVERLAY="/usr/local/portage" LINGUAS="it" VIDEO_CARDS="nvidia" ALSA_CARDS="intel8x0" CLEAN_DELAY="0" LANGUAGE=it_IT LC_ALL=it_IT LANG=it_IT 3. run emerge Actual Results: emerge --update --deep --noreplace --nospinner =dev-libs/libpcre-5.0 [snip] config.status: creating config.h config.status: executing default commands /bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -c -Os -fexpensive-optimizations -march=opteron -mtune=opteron -fprofile-generate -fprofile-use -frename-registers -fbranch-probabilities -fPIC -I. -I. ./maketables.c mkdir .libs x86_64-pc-linux-gnu-gcc -c -Os -fexpensive-optimizations -march=opteron -mtune=opteron -fprofile-generate -fprofile-use -frename-registers -fbranch-probabilities -fPIC -I. -I. ./maketables.c -fPIC -DPIC -o .libs/maketables.o ./maketables.c: In function `pcre_maketables': ./maketables.c:144: note: file .libs/maketables.gcda not found, execution counts assumed to be zero x86_64-pc-linux-gnu-gcc -c -Os -fexpensive-optimizations -march=opteron -mtune=opteron -fprofile-generate -fprofile-use -frename-registers -fbranch-probabilities -fPIC -I. -I. ./maketables.c -o maketables.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -c -Os -fexpensive-optimizations -march=opteron -mtune=opteron -fprofile-generate -fprofile-use -frena [snip] x86_64-pc-linux-gnu-gcc -Os -fexpensive-optimizations -march=opteron -mtune=opteron -fprofile-generate -fprofile-use -frename-registers -fbranch-probabilities -fPIC -I. -I. -o .libs/pcretest pcretest.o ./.libs/libpcre.so -L/var/tmp/portage/libpcre-5.0/work/pcre-5.0 -L/var/tmp/portage/libpcre-5.0/work/pcre-5.0/.libs ./.libs/libpcreposix.so /var/tmp/portage/libpcre-5.0/work/pcre-5.0/.libs/libpcre.so Expected Results: ignore "#" commented lines
forgotten ;) emerge --info Portage 2.0.51-r10 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-mm3 x86_64) ================================================================= System uname: 2.6.10-mm3 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 25 2004, 23:51:48)] distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.8.5-r2, 1.6.3, 1.9.4, 1.5, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=opteron -mtune=opteron" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=opteron -mtune=opteron" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig distlocks sandbox" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.du.se/pub/os/gentoo http://mirror.datapipe.net/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.linux.ee/pub/gentoo/distfiles/ http://128.213.5.34/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://gentoo.inode.at/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 acpi apache2 berkdb bitmap-fonts crypt emul-linux-x86 f77 font-server fortran gif gpm ipv6 jp2 jpeg lzw lzw-tiff multilib mysqli ncurses nls offensive opengl pdflib perl png python readline samba ssl tcpd usb userlocales xml2 xpm xrandr zlib video_cards_nvidia linguas_it" Unset: LDFLAGS
Perhaps you have the variables in your environment? rm -Rf /var/tmp/portage ? Can you reproduce this?
works fine for me too
Rebuild system for consistency and stepped to sys-apps/portage-2.0.51-r12 I can't reproduce it. "Bogus" is not avaiable so closed with "invalid"