Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21330 - courier-imap-1.7.2 ebuild broken (?)
Summary: courier-imap-1.7.2 ebuild broken (?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-20 06:48 UTC by Andrei Ivanov
Modified: 2003-05-21 16:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Ivanov 2003-05-20 06:48:14 UTC
>>> emerge (1 of 1) net-mail/courier-imap-1.7.2 to /
>>> md5 src_uri ;-) courier-imap-1.7.2.tar.bz2
>>> Unpacking source...
>>> Unpacking courier-imap-1.7.2.tar.bz2 to /mnt/hdc/tmp/portage/courier-imap-
1.7.2/work
>>> Source unpacked.
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: creating cache /mnt/hdc/tmp/portage/courier-imap-
1.7.2/work/config.cache
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gawk... gawk
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking for sysconftool...... ././sysconftool
checking for env... /usr/bin/env
checking whether build environment is sane... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gdbm_open in -lgdbm... yes
checking for gdbm_open... yes
unlimited
updating cache /mnt/hdc/tmp/portage/courier-imap-1.7.2/work/config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dbobj.h
config.status: creating dbobj.config
config.status: creating imapd.rc
config.status: creating imapd-ssl.rc
config.status: creating pop3d.rc
config.status: creating pop3d-ssl.rc
config.status: creating courier-imap.sysvinit
config.status: creating courier-imap.spec
config.status: creating index.html
config.status: creating INSTALL.html
config.status: executing depfiles commands
configure: configuring in numlib
configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr' '--
host=i686-pc-linux-gnu' '--infodir=/usr/share/info' '--datadir=/usr/share' '--
sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-root-check' '--
bindir=/usr/sbin' '--mandir=/usr/share/man' '--sysconfdir=/etc/courier-imap' '--
libexecdir=/usr/lib/courier-imap' '--localstatedir=/var/lib/courier-imap' '--
enable-workarounds-for-imap-client-bugs' '--with-authdaemonvar=/var/lib/courier-
imap/authdaemon' '--cache-file=/mnt/hdc/tmp/portage/courier-imap-
1.7.2/work/config.cache' '--with-authpam' '--without-authldap' '--without-
authmysql' '--without-authpostgresql' '--without-ipv6' '--with-db=gdbm' '--
without-authvchkpw' '--disable-unicode' 'debug=true' 'CC=gcc' 'CFLAGS=-
march=pentium3 -O3 -pipe -fprefetch-loop-arrays -ffast-math -fforce-addr -
falign-functions=4 -mfpmath=sse' 'LDFLAGS=' 'host_alias=i686-pc-linux-gnu' --
with-authchangepwdir=/usr/lib/courier-imap/authlib --with-userdb=/etc/userdb --
with-makedatprog='/usr/lib/courier-imap/makedatprog' --with-mailuser=root --
without-socks --with-authchangepwdir=/usr/lib/courier-imap/authlib --with-
package=courier-imap --with-version=1.7.2 --cache-
file=/mnt/hdc/tmp/portage/courier-imap-1.7.2/work/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 /mnt/hdc/tmp/portage/courier-imap-
1.7.2/work/config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -march=pentium3 -O3 -pipe  -fprefetch-loop-arrays -
ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse
configure:   current value: -march=pentium3 -O3 -pipe -fprefetch-loop-arrays -
ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm /mnt/hdc/tmp/portage/courier-
imap-1.7.2/work/config.cache' and start over
configure: error: /bin/sh './configure' failed for numlib

!!! ERROR: net-mail/courier-imap-1.7.2 failed.
!!! Function econf, Line 303, Exitcode 1
!!! econf failed
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-05-20 08:11:33 UTC
turn down your CFLAGS and try again
Comment 2 Andrei Ivanov 2003-05-20 08:16:24 UTC
Are you serious ?

Just becouse the ebuild or configure is broken ?

configure:   former value:  -march=pentium3 -O3 -pipe  -fprefetch-loop-arrays -
ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse
configure:   current value: -march=pentium3 -O3 -pipe -fprefetch-loop-arrays -
ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse

Before the -fprefetch-loop-arrays, on the `former value`, is an extra space, which is missing in the `current value`... 
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-05-20 14:33:39 UTC
please paste
#emerge info
Comment 4 Andrei Ivanov 2003-05-20 14:49:58 UTC
Portage 2.0.48_pre6 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles "
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/hdc/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss avi crypt cups encode gif jpeg libg++ mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline tetex bonobo tcltk java guile X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt motif opengl -3dnow aalib acl acpi -alsa -apm -arts curl dga -esd gd gnome gnomedb gtk2 imap innodb kde lcms -ldap maildir -mikmod mozilla -mysql -nls pic -postgres -odbc samba sasl -svga sse tiff wmf xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage/"
FEATURES="sandbox ccache"
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-20 15:18:22 UTC
Part of the bug reason is mine for making the configure use a specific file for it's configure cache since the upstream design is badly laid out that it takes MUCH longer than it should if you don't use a cache file.

I see why this is happening.
the configure file is iterating over CFLAGS, and spitting them out again, with exactly a single whitespace between each element. You could fix this in your make.conf file (possibly we should detect this for users), or upstream could fix it in their configure file.

For the moment, I've put a fix in 1.7.3.
CFLAGS=`echo ${CFLAGS}|xargs`

I'll see about passing the bug on upstream.
Comment 6 Andrei Ivanov 2003-05-20 15:44:23 UTC
But I don't have any extraspaces between my CFLAGS... :(
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-20 16:07:34 UTC
Please retry the 1.7.3 ebuild and report back.
Comment 8 Andrei Ivanov 2003-05-21 16:24:33 UTC
1.7.3 works fine, thank you.
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-21 16:43:10 UTC
Fixed