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

Bug 458956

Summary: cyrus-imapd-2.4.17 fails to autoconf
Product: Gentoo Linux Reporter: Torsten Kaiser <Storklerk>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Torsten Kaiser 2013-02-24 09:37:34 UTC
Trying to rebuild cyrus-imapd after the cyrus-sasl upgrade that change the so-name of that lib the prepare phase fails:
>>> Preparing source in /var/tmp/portage/net-mail/cyrus-imapd-2.4.17/work/cyrus-imapd-2.4.17 ...
 * Running eautoreconf in '/var/tmp/portage/net-mail/cyrus-imapd-2.4.17/work/cyrus-imapd-2.4.17' ...
 * Running aclocal ...
 [ ok ]
 * Running autoconf ...
 [ !! ]

 * Failed Running autoconf !

The resulting file /var/tmp/portage/net-mail/cyrus-imapd-2.4.17/temp/autoconf.out contains:
***** autoconf *****
***** PWD: /var/tmp/portage/net-mail/cyrus-imapd-2.4.17/work/cyrus-imapd-2.4.17
***** autoconf

configure.in:114: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


I believe the fix for bug #457544 recreated bug #201146.

In 2008 the autoconf call for the 2.3 branch had AT_M4DIR added:
<http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.3.11.ebuild?hideattic=0&r1=1.1&r2=1.2&>
But the 2.4 branch did not have an eautoreconf call and was not modified.

For 457544 an eautoreconf call was added to 2.4.17, but without adding AT_M4DIR and now it seems broken.
<http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.4.17.ebuild?hideattic=0&r1=1.4&r2=1.5>

After adding AT_M4DIR="cmulocal" it build for me again.

The same fix is probably needed for net-mail/cyrus-imap-admin, because that fails the same way in autoconf, but I did not look into that ebuild.
Comment 1 Eray Aslan gentoo-dev 2013-02-25 12:14:52 UTC
Should be fixed in CVS.  Thanks for the report.
Comment 2 Torsten Kaiser 2013-02-25 19:05:03 UTC
Thanks!
Both cyrus-imapd and cyrus-imap-admin build again.