May 19, 2012, 09:58:52 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Work on Kolab2/Gentoo-2.2 has stopped. The project has been deprecated (see board Kolab2/Gentoo).
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: cyrus-imapd-2.3.9 fails to compile due to annotate.c  (Read 2434 times)
xehqter
Jr. Member
**

Karma: 1
Posts: 94


View Profile WWW
« on: October 12, 2007, 01:00:22 AM »

when i try to compile cyrus-imapd-2.3.9 I get the following error, cyrus-imapd-2.3.8 compiles fine

annotate.c: In function 'init_annotation_definitions':
annotate.c:1945: error: 'IMAPOPT_ANNOTATION_DEFINITIONS' undeclared (first use in this function)
annotate.c:1945: error: (Each undeclared identifier is reported only once
annotate.c:1945: error: for each function it appears in.)
make[1]: *** [annotate.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-mail/cyrus-imapd-2.3.9-r20/work/cyrus-imapd-2.3.9/imap'
make: *** [all] Error 1
 *
 * ERROR: net-mail/cyrus-imapd-2.3.9-r20 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   cyrus-imapd-2.3.9-r20.ebuild, line 192:   Called die
Logged

Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #1 on: October 12, 2007, 07:03:06 AM »

Ups, that should of course not happen. Can you please tell me which use flags you are using?
Logged
xehqter
Jr. Member
**

Karma: 1
Posts: 94


View Profile WWW
« Reply #2 on: October 12, 2007, 08:03:02 AM »

[ebuild     U ] net-mail/cyrus-imapd-2.3.9-r20 [2.3.8-r20] USE="kolab pam ssl tcpd -autocreate -autosieve -drac -idled -kerberos -nntp -replication% -snmp (-afs%)" 0 kB [1]
Logged

Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #3 on: October 15, 2007, 09:30:51 AM »

Great. Parallel build issue...

Workaround: Reduce MAKEOPTS in /etc/make.conf to -j1 when compiling cyrus-imapd.

I need to find out if the problem is caused by one of the kolab patches or if this is a real upstream issue. I know that upstream has some of these issues but the kolab patches are also not known for their great quality Smiley
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #4 on: October 15, 2007, 09:50:07 AM »

Looks like upstream. So this will take a while to fix. Please use the workaround meanwhile.
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #5 on: October 15, 2007, 10:26:12 AM »

I might have been to quick on this. While I also discovered a parallel build issue I looked at your error again and even though I cannot reproduce it I can imagine that it has a different origin. I added a potential fix to the overlay. Can you sync and retest?

Logged
xehqter
Jr. Member
**

Karma: 1
Posts: 94


View Profile WWW
« Reply #6 on: October 15, 2007, 05:03:22 PM »

tested and it works great, thanks Smiley
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!