Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 107221

Summary: bug 92645 has returned to haunt net-www/apache-2.0.54-r31
Product: Gentoo Linux Reporter: Triffid Hunter <triffid_hunter>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Triffid Hunter 2005-09-25 16:49:39 UTC
multiple consecutive spaces in CFLAGS cause the build to fail at configuring 
PCRE

Reproducible: Always
Steps to Reproduce:
1.CFLAGS="-O2 \
          -pipe"
2. emerge apache

Actual Results:  
Configuring PCRE regular expression library ...

updating cache /var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/config.cache
configuring package in srclib/pcre 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.54-r31/work/httpd-2.0.54/
config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -O2 -pipe           -march=athlon-tbird             
-maccumulate-outgoing-args              -mcpu=athlon-tbird              -momit-
leaf-frame-pointer               -mfpmath=387               -mtune=athlon-tbird  
                           -fexpensive-optimizations               -fmove-all-
movables             -fomit-frame-pointer            -fprefetch-loop-arrays      
       -frerun-cse-after-loop          -frerun-loop-opt                -ftracer
configure:   current value: -O2 -pipe -march=athlon-tbird -maccumulate-outgoing-
args -mcpu=athlon-tbird -momit-leaf-frame-pointer -mfpmath=387 -mtune=athlon-
tbird -fexpensive-optimizations -fmove-all-movables -fomit-frame-pointer -
fprefetch-loop-arrays -frerun-cse-after-loop -frerun-loop-opt -ftracer
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm /var/tmp/portage/apache-2.0.
54-r31/work/httpd-2.0.54/config.cache' and start over
configure failed for srclib/pcre

!!! ERROR: net-www/apache-2.0.54-r31 failed.
!!! Function src_compile, Line 161, Exitcode 1
!!! bad ./configure please submit bug report to bugs.gentoo.org. Include your 
config.layout and config.log
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
successful compile

Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-
gentoo-r3.peladrine i686)
=================================================================
System uname: 2.6.12-gentoo-r3.peladrine i686 AMD Duron(tm) Processor
Gentoo Base System version 1.12.0_pre6
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe               -march=athlon-tbird             -maccumulate-
outgoing-args              -mcpu=athlon-tbird              -momit-leaf-frame-
pointer               -mfpmath=387      -mtune=athlon-tbird                      
        -fexpensive-optimizations               -fmove-all-movables             
-fomit-frame-pointer            -fprefetch-loop-arrays          -frerun-cse-
after-loop             -frerun-loop-opt                -ftracer                "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -pipe             -march=athlon-tbird             -maccumulate-
outgoing-args              -mcpu=athlon-tbird              -momit-leaf-frame-
pointer               -mfpmath=387      -mtune=athlon-tbird                      
        -fexpensive-optimizations               -fmove-all-movables             
-fomit-frame-pointer            -fprefetch-loop-arrays          -frerun-cse-
after-loop             -frerun-loop-opt                -ftracer                 
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.isp.net.au/pub/gentoo/ http://mirror.aarnet.edu.
au/pub/gentoo/ http://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.wa.3fl.net/gentoo-portage"
USE="3dnow 3dnowext X509 a52 aac acpi alsa apache2 apm atm avi bash-completion 
berkdb bind-mysql bitmap-fonts bzip2 bzlib caps cgi crypt curl dba dedicated 
divx4linux djbfft dts dvd eds emboss encode erandom exif extensions fame fastcgi 
foomaticdb fortran ftp gd gd-external gdbm gif glibc-omitfp gnutls gpm gstreamer 
gtk2 hpn imagemagick imagemajick imlib inifile ipv6 ithreads jpeg junit libg++ 
libwww linuxthreads-tls lzo mad math mbox memlimit mhash mikmod mime mjpeg mmap 
mmx mmxext mod_perl mod_php mp3 mpeg mpm-prefork mysql mysqli ncurses network 
nls nocd nojoystick novideo nptl offensive ogg oggvorbis oss pam pam_chroot 
pam_console pam_timestamp pcre pdflib perl php png posix pvm python readline 
samba session shared sharedext sharedmem soap sockets socks5 sse ssl tcpd tetex 
threads tokenizer truetype-fonts type1-fonts usb userlocales vhosts vorbis 
win32codecs x86 xinetd xml xml2 xmlrpc xsl xvid yv12 zip zlib userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-26 00:20:20 UTC
Fixing this on per-ebuild level is waste of time. See Bug 106513.