Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72352 - [BUG] net-mail/cyrus-imapd-2.2.10 doesn't compile
Summary: [BUG] net-mail/cyrus-imapd-2.2.10 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-24 07:31 UTC by Stefan Briesenick (RETIRED)
Modified: 2005-02-13 08:26 UTC (History)
0 users

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


Attachments
xversion.h (xversion.h,90 bytes, text/x-chdr)
2004-11-24 16:06 UTC, Stefan Briesenick (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Briesenick (RETIRED) gentoo-dev 2004-11-24 07:31:29 UTC
i686-pc-linux-gnu-gcc -c -I.. -I./../lib -I../et -I./../sieve    -DHAVE_CONFIG_H  -march=pentium3 -mmmx -msse -mfpmath=sse -O3 -pipe -fomit-frame-pointer -ffast-math -Ino/include \
index.c
i686-pc-linux-gnu-gcc -c -I.. -I./../lib -I../et -I./../sieve    -DHAVE_CONFIG_H  -march=pentium3 -mmmx -msse -mfpmath=sse -O3 -pipe -fomit-frame-pointer -ffast-math -Ino/include \
tls.c
i686-pc-linux-gnu-gcc -c -I.. -I./../lib -I../et -I./../sieve    -DHAVE_CONFIG_H  -march=pentium3 -mmmx -msse -mfpmath=sse -O3 -pipe -fomit-frame-pointer -ffast-math -Ino/include \
version.c
In file included from version.c:59:
xversion.h:3:23: warning: no newline at end of file
version.c: In function `id_response':
version.c:103: error: parse error before ')' token
make[1]: *** [version.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/vol1/.gentoo/build/portage/cyrus-imapd-2.2.10/work/cyrus-imapd-2.2.10/imap'
make: *** [all] Error 1

!!! ERROR: net-mail/cyrus-imapd-2.2.10 failed.
!!! Function src_compile, Line 210, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
Calculating dependencies ...done!
[ebuild     U ] net-mail/cyrus-imapd-2.2.10 [2.2.8-r1] -afs -drac +idled -kerberos +pam -snmp +ssl -tcpd 0 kB




Portage 2.0.51-r3 (!/usr/portage/profiles/default-linux/x86/2004.3, gcc-3.4.3, 
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r4 i686) 
================================================================= 
System uname: 2.6.9-gentoo-r4 i686 Intel(R) Celeron(TM) CPU                
1300MHz 
Gentoo Base System version 1.6.6 
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -mmmx -msse -mfpmath=sse -O3 -pipe 
-fomit-frame-pointer -ffast-math" 
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/fax /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 /var/spool/fax/etc" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/mail/dspam /etc/rc.d /etc/terminfo /etc/wget /etc/env.d" 
CXXFLAGS="-march=pentium3 -mmmx -msse -mfpmath=sse -O3 -pipe 
-fomit-frame-pointer -ffast-math" 
DISTDIR="/mnt/gentoo/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/" 
MAKEOPTS="-j6" 
PKGDIR="/mnt/gentoo/usr/portage/packages" 
PORTAGE_TMPDIR="/vol1/.gentoo/build" 
PORTDIR="/mnt/gentoo/usr/portage" 
PORTDIR_OVERLAY="/mnt/gentoo/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X X509 aac aalib accounting acl acpi adns alsa amd apache2 aper apm ared 
arts artswrappersuid asterisk async audiofile avi bcmath berkdb bidi 
bitmap-fonts bzlib cairo calendar caps cdb cddb cdf cdparanoia cdr cdrom 
chasen chroot cjk clamav codecs cpdflib crypt ctype cups curl curlwrappers 
cyrus dba dbase dbx devfs26 dga dio directfb distcache djbfft dmx dnd dri 
droproot dts dv dvd dvdr dvdread edl encode erandom esd exif expat ext-png 
ext-zlib extensions f77 faac faad fam fastcgi fax fbcon fdftk ffmpeg fftw 
filepro fla flac flatfile foomaticdb foreign-package foreign-sysvinit fortran 
freetype frlargefiles ftp ftruncate gcj gd gd-external geoip gettext ggi gif 
gimp gimpprint glade glut gmp gnuplot gphoto2 gpm graphviz gs gsm gstreamer 
gtk gtk2 gtkhtml gui hal howl i8x0 iconv icq idea idled ieee1394 image 
imagemagick imap imlib imlib2 inifile innodb intl ipv6 ipv6arpa irda irmc isdn 
ithreads jack jack-tmpfs java javascript jbig jce jikes jit joystick jp2 jpeg 
jpeg2k kde ladcca ladspa latex lcms ldap libcaca libclamav libg++ 
libsamplerate libwww live lmtp lzo lzw lzw-tiff mad maildir makecheck matroska 
mbcvs mbox mcal md5sum mecab memlimit mha mhash mikmod mime ming mmap mmx mmx2 
mng monkey motif mozcalendar mozdomi moznoxft mozp3p mozsvg mozxmlterm mp3 
mpeg mpeg4 mplayer msdav msn mysql native ncurses net netcdf network nis nls 
no_wxgtk1 nojython nozaptel nptl ntlm oav objc odbc offensive oggvorbis 
ooo-kde openal opengl oscar oss pam parse-clocks pcap pcntl pcre pdf pdflib 
pear-db perl phpphysfs pic pie plotutils png posix ppds print procmail 
pthreads python qdbm qt quicktime quotas readline real rtc ruby samba sasl 
scannersdl serial session simplexml slang slp sms sndfile soap sockets socks5 
softquota soundtouch sox spamassassin speedo speex spell spl sqlite sse ssl 
subject-rewrite svg svga sysvipc szip t1lib tcltk tcpd tetex tga theora 
threads tidy tiff timidity tokenizer transcode truetype type1 ucs2 unicode 
usagi usb userlocales uudeview v4l v4l2 vcdimager vda virus-scan vnc wddx wifi 
wmf wxwindows x86 xanim xbase xerces xface xine xinerama xml xml2 xmlrpc xmms 
xosd xpm xprint xrandr xsl xv xvid xvmc yahoo yv12 zlib video_cards_i810 
linguas_de"
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-11-24 08:47:12 UTC
Please do this:
# cd /vol1/.gentoo/build/portage/cyrus-imapd-2.2.10/work/cyrus-imapd-2.2.10/imap
# /bin/sh -x ./xversion.sh
then attach /vol1/.gentoo/build/portage/cyrus-imapd-2.2.10/work/cyrus-imapd-2.2.10/imap/xversion.h here or post the error message.
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2004-11-24 16:04:57 UTC
Output of "/bin/sh -x ./xversion.sh":

+ '[' '' = '' ']'
+ AWK=awk
+ DATEPAT='[1-2][0-9][0-9][0-9]/[0-1][0-9]/[0-3][0-9]'
+ TIMEPAT='[0-2][0-9]:[0-5][0-9]:[0-5][0-9]'
+ printf '/* Generated automatically by xversion.sh */\n\n'
+ printf '#define CYRUS_CVSDATE '
+ find .. -name '*.[chly]' -print
+ xargs egrep '\$Id: '
+ awk ' # extract timestamp and surround with quotes
        match ($0, pattern) {
            printf "\"%s\"\n", substr($0, RSTART, RLENGTH)
        }' 'pattern=[1-2][0-9][0-9][0-9]/[0-1][0-9]/[0-3][0-9] [0-2][0-9]:[0-5][0-9]:[0-5][0-9]'
+ sort
+ tail -n -1
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2004-11-24 16:06:40 UTC
Created attachment 44688 [details]
xversion.h
Comment 4 Stefan Briesenick (RETIRED) gentoo-dev 2004-11-24 16:07:24 UTC
/* Generated automatically by xversion.sh */

#define CYRUS_CVSDATE "2004/11/23 17:52:52"
Comment 5 Stefan Briesenick (RETIRED) gentoo-dev 2004-11-24 16:07:56 UTC
0000  2f 2a 20 47 65 6e 65 72  61 74 65 64 20 61 75 74  /* Gener ated aut
0010  6f 6d 61 74 69 63 61 6c  6c 79 20 62 79 20 78 76  omatical ly by xv
0020  65 72 73 69 6f 6e 2e 73  68 20 2a 2f 0a 0a 23 64  ersion.s h */..#d
0030  65 66 69 6e 65 20 43 59  52 55 53 5f 43 56 53 44  efine CY RUS_CVSD
0040  41 54 45 20 22 32 30 30  34 2f 31 31 2f 32 33 20  ATE "200 4/11/23
0050  31 37 3a 35 32 3a 35 32  22 0a                    17:52:52 ".
Comment 6 Tuan Van (RETIRED) gentoo-dev 2004-11-24 16:21:49 UTC
looks normal, I don't have a clue on how you got:
xversion.h:3:23: warning: no newline at end of file.

could you try emerge it again.
Comment 7 Stefan Briesenick (RETIRED) gentoo-dev 2004-11-24 17:04:40 UTC
> could you try emerge it again.

done that 5 times. env-update / source /etc/profile, reboot. anything.

no change at all. always the same location. :-/

does it matter, that I run the following locale?

LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=de_DE.UTF-8

maybe a LANG="" missing somewhere in the ebuild?
Comment 8 Stefan Briesenick (RETIRED) gentoo-dev 2004-11-24 17:11:11 UTC
ok, LANG="" doesn't work also. But I have another idea. In another ebuild (isdn4k-utils) I had the problem, that "emake" didn't work, but "make".

this ebuild also use "emake". I try to compile it with just "make". Lets see what happens... ;-)
Comment 9 Stefan Briesenick (RETIRED) gentoo-dev 2004-11-24 17:13:34 UTC
OK, it works!

replace the "emake" in src_compile() with "make" and it works.

seems to be a dependency problem, so parallel compiling doesn't work correctly, or depends highly on the speed of your system.
Comment 10 Tuan Van (RETIRED) gentoo-dev 2004-11-24 18:24:16 UTC
> MAKEOPTS="-j6"
ah, I didn't catch that.
Comment 11 barthek 2004-12-06 01:07:25 UTC
i have the same problem and can confirm
that running ebuild with makeopts="-j1" 
resolves the issue.
Comment 12 Stefan Briesenick (RETIRED) gentoo-dev 2005-01-19 15:44:01 UTC
it would be nice to fix it now. It's very easy to fix and it is a BUG!
Comment 13 Fernando J. Pereda (RETIRED) gentoo-dev 2005-02-13 08:26:34 UTC
cyrus-imapd-2.2.10-r1 is on CVS. It'll be on the mirrors in a while. Includes a patch to fix this bug.

Cheers,
Ferdy