Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458956 - cyrus-imapd-2.4.17 fails to autoconf
Summary: cyrus-imapd-2.4.17 fails to autoconf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-24 09:37 UTC by Torsten Kaiser
Modified: 2013-02-25 19:05 UTC (History)
0 users

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 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.