First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 75538
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: g_os <xav-gentoo@degeneve.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 75538 depends on: Show dependency tree
Bug 75538 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-24 05:27 0000
Due to a *bad* CFLAGS configuration (double space between words). emerge failed
without a signifficant error that let the user fix it easily (two months that
it is in my box :-)).

This issue has been already raised in 3 bug reports. I think to remove noise,
we should provide a fix or a warning.

What is very funny, it is the only ebuild which fails !!!

Please note that two other bugs exist (at least) on this topic, they are closed
BUT the but is in the field. #46554 and #58263

Reproducible: Always
Steps to Reproduce:
1. Add a space in your CFLAGS as in CFLAGS="-march=athlon-tbird  -O3 -pipe
2. emerge cyrus-sasl
3.

Actual Results:  
configure: configuring in saslauthd 
configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr' 
'--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' 
'--localstatedir=/var/lib' '--with-saslauthd=/var/lib/sasl2' 
'--with-pwcheck=/var/lib/sasl2' '--with-configdir=/etc/sasl2' 
'--with-plugindir=/usr/lib/sasl2' '--with-dbpath=/etc/sasl2/sasldb2' 
'--enable-login' '--enable-ntlm' '--disable-krb4' '--disable-otp' 
'--disable-static' '--with-openssl' '--with-pam' '--with-ldap' 
'--disable-gssapi' '--without-mysql' '--disable-mysql' '--without-pgsql' 
'--disable-postgres' '--enable-java' 
'--with-javahome=/opt/blackdown-jdk-1.4.2.01' '--without-authdaemond' 
'--disable-sql' '--with-dblib=none' 'CC=gcc' 'CFLAGS=-march=athlon-tbird -O3 
-pipe -m3dnow -mmmx -fomit-frame-pointer -ffast-math -funroll-loops 
-fforce-addr -falign-functions=4' 'host_alias=i686-pc-linux-gnu' 
--cache-file=.././config.cache --srcdir=. 
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 .././config.cache 
configure: error: `CFLAGS' has changed since the previous run: 
configure:   former value:  -march=athlon-tbird -O3 -pipe -m3dnow -mmmx 
-fomit-frame-pointer -ffast-math  -funroll-loops -fforce-addr 
-falign-functions=4 
configure:   current value: -march=athlon-tbird -O3 -pipe -m3dnow -mmmx 
-fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr 
-falign-functions=4 
configure: error: changes in the environment can compromise the build 
configure: error: run `make distclean' and/or `rm .././config.cache' and start 
over 
configure: error: /bin/sh './configure' failed for saslauthd 

!!! ERROR: dev-libs/cyrus-sasl-2.1.20 failed. 
!!! Function econf, Line 449, Exitcode 1 
!!! econf failed 
!!! If you need support, post the topmost build error, NOT this status 
message. 



Expected Results:  
ebuild was emerged gracefully :)

------- Comment #1 From g_os 2004-12-24 05:28:31 0000 -------
Same bug to see:  38601

------- Comment #2 From Andrej Kacian (RETIRED) 2004-12-24 07:02:42 0000 -------
I've just tried emerging both cyrus-sasl-2.1.20 and cyrus-sasl-2.1.20-r1 with
following CFLAGS and it worked with every one:

CFLAGS=" -march=pentium4 -O2 -pipe -fomit-frame-pointer"
CFLAGS="-march=pentium4  -O2 -pipe -fomit-frame-pointer"
CFLAGS="-march=pentium4 -O2 -pipe  -fomit-frame-pointer"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer "

# emerge --info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.7 i686)
=================================================================
System uname: 2.6.7 i686 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1,
Jul 13 2004, 04:20:16)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.4_p6, 1.8.5-r2, 1.7.9, 1.9.3, 1.5, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.7-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
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/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs digest distlocks sandbox sfperms
sign userpriv"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.easynet.nl/mirror/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="cvs://ticho@cvs.gentoo.org:/var/cvsroot"
USE="x86 X aalib acl alsa apm avi berkdb bitmap-fonts bluetooth cdr crypt
divx4linux encode esd fam flac foomaticdb gdbm gif gnutls gtk gtk2 guile
imagemagick imlib ipv6 java jpeg junit libwww mad mailwrapper mbox mikmod mmx
mozilla moznocompose moznoirc moznomail moznoxft mpeg ncurses nls nptl
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba
sample sasl sdl slang sse ssl tcltk tcpd tetex tiff truetype type1 unicode
vim-with-x xml xml2 xmms xv zlib"

------- Comment #3 From g_os 2004-12-24 07:19:18 0000 -------
Sorry for the report not full, I expect this one is better.

My exact CFLAGS is 
CFLAGS="-march=athlon-tbird -O3 -pipe -m3dnow -mmmx -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-functions=4"

The one which does not work is 
CFLAGS="-march=athlon-tbird -O3 -pipe -m3dnow -mmmx -fomit-frame-pointer -ffast-math  -funroll-loops -fforce-addr -falign-functions=4"

Version and use flags
[ebuild   R   ] dev-libs/cyrus-sasl-2.1.20  -authdaemond -berkdb -debug -gdbm +java -kerberos +ldap -mysql +pam -postgres +ssl -static 

emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.28-gentoo-r2 i686)
=================================================================
System uname: 2.4.28-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -m3dnow -mmmx -fomit-frame-pointer -ffast-math  -funroll-loops -fforce-addr -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -m3dnow -mmmx -fomit-frame-pointer -ffast-math  -funroll-loops -fforce-addr -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/ http://mir.zyrianes.net/gentoo/ http://www.gigaload.org/gentoo.org/ ftp://mirror.nutsmaas.nl/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/opt/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://lancelot.degeneve.net/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib acl aim alsa apache2 apm avi bash-completion berkdb bitmap-fonts bluetooth bonobo bootsplash cdparanoia cdr chroot codecs crypt cups directfb dvd encode exif fam fbcon ffmpeg flac foomaticdb fortran gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6irmc jabber jack java jpeg junit kde ldap libwww live mad mikmod mmx mozilla moznocompose moznoirc mozsvg mpeg msn mysql mythtv ncurses network nls oggvorbis opengl oscar oss pam pda pdflib perl png python quicktime readline real remote rtc samba sdl slang speex spell ssl stats svga tcltk tcpd tiff truetype truetype-fonts v4l v4l2 xine xml xml2 xmms xosd xv xvid yahoo zlib"

Just tested now and it failed :-(

Still the same error:

configure: configuring in saslauthd
configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-saslauthd=/var/lib/sasl2' '--with-pwcheck=/var/lib/sasl2' '--with-configdir=/etc/sasl2' '--with-plugindir=/usr/lib/sasl2' '--with-dbpath=/etc/sasl2/sasldb2' '--enable-login' '--enable-ntlm' '--disable-krb4' '--disable-otp' '--disable-static' '--with-openssl' '--with-pam' '--with-ldap' '--disable-gssapi' '--without-mysql' '--disable-mysql' '--without-pgsql' '--disable-postgres' '--enable-java' '--with-javahome=/opt/blackdown-jdk-1.4.2.01' '--without-authdaemond' '--disable-sql' '--with-dblib=none' 'CC=gcc' 'CFLAGS=-march=athlon-tbird -O3 -pipe -m3dnow -mmmx -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-functions=4' 'host_alias=i686-pc-linux-gnu' --cache-file=.././config.cache --srcdir=.
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 .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -march=athlon-tbird -O3 -pipe -m3dnow -mmmx -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-functions=4
configure:   current value: -march=athlon-tbird -O3 -pipe -m3dnow -mmmx -fomit-frame-pointer -ffast-math-funroll-loops -fforce-addr -falign-functions=4
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and start over
configure: error: /bin/sh './configure' failed for saslauthd

!!! ERROR: dev-libs/cyrus-sasl-2.1.20 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


------- Comment #4 From Tuan Van (RETIRED) 2005-01-24 14:38:52 0000 -------
fixed in cyrus-sasl-2.1.20-r1.

First Last Prev Next    No search results available      Search page      Enter new bug