apache 2.0.51 flat out refuses to run configure,I have tried all the known solutions to no avail. Reproducible: Always Steps to Reproduce: 1.emerge apache 2. 3. Actual Results: Configuring Apache Portable Runtime library ... checking for APR... reconfig updating cache /var/tmp/portage/apache-2.0.51/work/httpd-2.0.51/config.cache configuring package in srclib/apr now configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: loading cache /var/tmp/portage/apache-2.0.51/work/httpd-2.0.51/config.cache configure: error: `CFLAGS' has changed since the previous run: configure: former value: -O3 -march=athlon-xp -ffast-math -msse -m3dnow -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -fforce-addr -fforce-mem -funit-at-a-time -finline-limit=900 -mfpmath=sse,387 configure: current value: -O3 -march=athlon-xp -ffast-math -msse -m3dnow -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -fforce-addr -fforce-mem -funit-at-a-time -finline-limit=900 -mfpmath=sse,387 configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm /var/tmp/portage/apache-2.0.51/work/httpd-2.0.51/config.cache' and start over configure failed for srclib/apr !!! ERROR: net-www/apache-2.0.51 failed. !!! Function src_compile, Line 182, Exitcode 1 Portage 2.0.51_rc1 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4 i686) ================================================================= System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(TM) XP2200+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -ffast-math -msse -m3dnow -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -fforce-addr -fforce-mem -funit-at-a-time -finline-limit=900 -mfpmath=sse,387" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -ffast-math -msse -m3dnow -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -fforce-addr -fforce-mem -funit-at-a-time -finline-limit=900 -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://hawk.gentoo.org/gentoo-portage" USE="X alsa apache2 apm avi berkdb bitmap-fonts crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk imlib jpeg libg++ libwww mad mikmod motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
This was caused due to CFLAGS running over on two lines one CFLAGS were positioned back on one single line emerge works fine.
Closing.