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

Bug 138578

Summary: cyrus-imapd-2.2.12 won't build with gcc-4.1.1
Product: Gentoo Linux Reporter: Jürgen Pierau <gentoo-bugs>
Component: [OLD] GCC PortingAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED WONTFIX    
Severity: normal CC: gcc-porting
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    
Attachments: My emerge --info output.

Description Jürgen Pierau 2006-06-30 06:30:23 UTC
net-mail/cyrus-imapd-2.2.12 won't build with gcc-4.1.1 on my machine. It works fine with gcc-3.4.6.

This is what I am trying to build:

[ebuild   R   ] net-mail/cyrus-imapd-2.2.12  USE="pam ssl tcpd -afs -drac -idled -kerberos -snmp" 0 kB

---
And this is the output of the failed command (only the last lines):

### Making all in /mnt/disk1/portage/tmp/portage/cyrus-imapd-2.2.12/work/cyrus-imapd-2.2.12/lib
make[1]: Entering directory `/mnt/disk1/portage/tmp/portage/cyrus-imapd-2.2.12/work/cyrus-imapd-2.2.12/lib'
./../tools/config2header CC=i686-pc-linux-gnu-gcc ./imapopts.c ./imapopts.h < ./imapoptions
i686-pc-linux-gnu-gcc -c -I..   -I../et  -DHAVE_CONFIG_H  -O2 -march=i686 -mmmx -msse -mfpmath=sse -Ino/include  \
libconfig.c
In file included from libconfig.h:47,
                 from libconfig.c:57:
imapopts.h:181: error: array type has incomplete element type
make[1]: *** [libconfig.o] Error 1
make[1]: Leaving directory `/mnt/disk1/portage/tmp/portage/cyrus-imapd-2.2.12/work/cyrus-imapd-2.2.12/lib'
make: *** [all] Error 1

!!! ERROR: net-mail/cyrus-imapd-2.2.12 failed.
Comment 1 Jürgen Pierau 2006-06-30 06:31:48 UTC
Created attachment 90527 [details]
My emerge --info output.
Comment 2 Tuan Van (RETIRED) gentoo-dev 2006-06-30 15:59:11 UTC
net-mail/cyrus-imapd-2.3.6 (package.masked) should work with gcc-4.1.1 . net-mail/cyrus-imapd-2.2.12 is a stable ebuild while gcc-4.1.1 is not. I am not going to fix this one.

Best regards,
Tuan