If CFLAGS contain more than one space between options apache won't compile and die in configure. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: >>> Unpacking source... >>> Unpacking httpd-2.0.52.tar.gz to /var/tmp/portage/apache-2.0.52-r1/work >>> Unpacking apache-patches-2.0.52-r1.tar.bz2 to /var/tmp/portage/apache-2.0. 52-r1/work >>> Unpacking apache2-conf.tar.bz2 to /var/tmp/portage/apache-2.0.52-r1/work * Applying various patches (bugfixes/updates) ... * 00_all_gentoo_base.patch ... [A[73G [ ok ] * 01_all_gentoo_ipv6.patch ... [A[73G [ ok ] * 03_all_redhat_xfsz.patch ... [A[73G [ ok ] * 04_all_ssl_makefile.patch ... [A[73G [ ok ] * 05_all_can_2004_0885.patch ... [A[73G [ ok ] * 06_all_gentoo_protocol.patch ... [A[73G [ ok ] * Done with patching * Enabling berkdb. * Enabling db4 * Replacing obsolete head/tail with POSIX compliant ones * - fixed srclib/apr/build/buildcheck.sh rebuilding srclib/apr/configure buildconf: checking installation... buildconf: autoconf version 2.59 (ok) buildconf: libtool version 1.5.10 (ok) Copying libtool helper files ... buildconf: Using libtool.m4 at /usr/share/aclocal/libtool.m4. Creating include/arch/unix/apr_private.h.in ... autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h. bot' autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h. in' autoheader-2.59: WARNING: is deprecated and discouraged. autoheader-2.59: autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader-2.59: WARNING: `acconfig.h': autoheader-2.59: autoheader-2.59: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.59: [Define if a function `main' is needed.]) autoheader-2.59: autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the autoheader-2.59: WARNING: documentation. Creating configure ... rebuilding srclib/apr-util/configure Looking for apr source in ../apr Creating include/private/apu_config.h ... Creating configure ... Invoking xml/expat/buildconf.sh ... Incorporating /usr/share/aclocal/libtool.m4 into aclocal.m4 ... Copying libtool helper files ... Creating config.h.in ... autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h. bot' autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h. in' autoheader-2.59: WARNING: is deprecated and discouraged. autoheader-2.59: autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader-2.59: WARNING: `acconfig.h': autoheader-2.59: autoheader-2.59: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.59: [Define if a function `main' is needed.]) autoheader-2.59: autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the autoheader-2.59: WARNING: documentation. Creating configure ... copying build files fixing timestamps for mod_ssl sources rebuilding srclib/pcre/configure rebuilding include/ap_config_auto.h.in autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h. bot' autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h. in' autoheader-2.59: WARNING: is deprecated and discouraged. autoheader-2.59: autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader-2.59: WARNING: `acconfig.h': autoheader-2.59: autoheader-2.59: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.59: [Define if a function `main' is needed.]) autoheader-2.59: autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the autoheader-2.59: WARNING: documentation. rebuilding configure rebuilding rpm spec file >>> Source unpacked. * DATADIR is set to: /var/www/localhost * USERDIR is set to: public_html * Using GNU config files from /usr/share/libtool * Updating build/config.sub [A[73G [ ok ] * Updating srclib/apr/build/config.sub [A[73G [ ok ] * Updating srclib/pcre/config.sub [A[73G [ ok ] * Updating srclib/apr-util/xml/expat/conftools/config.sub [A[73G [ ok ] * Updating srclib/apr-util/build/config.sub [A[73G [ ok ] * Updating build/config.guess [A[73G [ ok ] * Updating srclib/apr/build/config.guess [A[73G [ ok ] * Updating srclib/pcre/config.guess [A[73G [ ok ] * Updating srclib/apr-util/xml/expat/conftools/config.guess [A[73G [ ok ] * Updating srclib/apr-util/build/config.guess [A[73G [ ok ] * Enabling threads support * /etc/apache2/apache2-builtin-mods options:\n --disable-example --enable- access=shared --enable-auth=shared --enable-auth_dbm=shared --enable- auth_anon=shared --enable-auth_digest=shared --enable-alias=shared --enable- file-cache=shared --enable-echo=shared --enable-charset-lite=shared --enable- cache=shared --enable-disk-cache=shared --enable-mem-cache=shared --enable-ext- filter=shared --enable-case_filter=shared --enable-case-filter-in=shared -- enable-deflate=shared --enable-mime-magic=shared --enable-cern-meta=shared -- enable-expires=shared --enable-headers=shared --enable-usertrack=shared -- enable-unique-id=shared --enable-proxy=shared --enable-proxy-connect=shared -- enable-proxy-ftp=shared --enable-proxy-http=shared --enable-ssl=shared -- disable-optional-hook-export --disable-optional-hook-import --disable-optional- fn-import --disable-optional-fn-export --disable-bucketeer --enable-info=shared --enable-include=shared --enable-cgi=shared --enable-cgid=shared --enable- dav=shared --enable-dav-fs=shared --enable-vhost-alias=shared --enable- speling=shared --enable-rewrite=shared --enable-log_config=shared --enable- logio=shared --enable-env=shared --enable-setenvif=shared --enable-mime=shared - -enable-status=shared --enable-autoindex=shared --enable-asis=shared --enable- negotiation=shared --enable-dir=shared --enable-imap=shared --enable- actions=shared --enable-userdir=shared --enable-so=yes 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.52-r1/work/httpd-2.0.52/ config.cache checking for chosen layout... Gentoo checking for working mkdir -p... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring Apache Portable Runtime library ... checking for APR... reconfig updating cache /var/tmp/portage/apache-2.0.52-r1/work/httpd-2.0.52/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.52-r1/work/httpd-2.0.52/ config.cache configure: error: `CFLAGS' has changed since the previous run: configure: former value: -O2 -march=athlon-xp -pipe -ftracer -fprefetch- loop-arrays configure: current value: -O2 -march=athlon-xp -pipe -ftracer -fprefetch-loop- arrays configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm /var/tmp/portage/apache-2.0. 52-r1/work/httpd-2.0.52/config.cache' and start over configure failed for srclib/apr !!! ERROR: net-www/apache-2.0.52-r1 failed. !!! Function src_compile, Line 183, Exitcode 1 !!! bad ./configure please submit bug report to bugs.gentoo.org. Include your config.layout. !!! If you need support, post the topmost build error, NOT this status message. Gentoo Base System version 1.4.16 Portage 2.0.51.19 (hardened/x86/2.6, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11- gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 1600+ Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 14 2005, 05:50:32) ] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -ftracer -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/ share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb / usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -ftracer -fprefetch-loop-arrays" DISTDIR="/usr/portage-distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.seren.com/gentoo" LANG="ru_RU.KOI8-R" MAKEOPTS="-j2" PKGDIR="/usr/portage-packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X Xaw3d aalib acpi aim alsa arts avi berkdb bindist bitmap- fonts bonobo cdr crypt cscope curl dga directfb divx4linux dlloader dvd dvdr encode esd fam fbcon fbdev flac flash gd gdbm gif gpm gtk gtk2 gtkhtml guile hardened icq imagemagick imap imlib innodb jabber javascript jpeg lirc lm_sensors mad mailbox mbox mmx motif mp3 mpeg msn mysql ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl pic pie png pwdb python qt quicktime readline rtc samba sdl slang socks5 spell sse ssl svga sysfs tcltk tcpd threads tiff truetype truetype-fonts type1-fonts userlocales x86 xinetd xml2 xmms xv xvid yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
This should be fixed in 2.0.54-r7 and above. Resolving.
*** Bug 92064 has been marked as a duplicate of this bug. ***