Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305439 - net-mail/cyrus-imap-admin-2.3.16 - autoconf fails
Summary: net-mail/cyrus-imap-admin-2.3.16 - autoconf fails
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Net-Mail Packages
Depends on:
Reported: 2010-02-16 21:37 UTC by Richard Foltyn
Modified: 2011-06-21 06:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---
sping: Bugday+


Note You need to log in before you can comment on or make changes to this bug.
Description Richard Foltyn 2010-02-16 21:37:37 UTC

I always have problems emerging cyrus-imap-admin (with every version in portage). It is the same problem as described in
and the solution suggested there works as well (i.e. using AT_M4DIR="cmulocal" eautoreconf). I suggest to modify the ebuild accordingly.

For me the problem never went away after resyncing, re-emerging portage, etc. as was suggested by others on bugzilla and in the forums.
From what I've read this also seems to occur on amd64 only.

Reproducible: Always

Steps to Reproduce:
emerge -av cyrus-imap-admin

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] net-mail/cyrus-imap-admin-2.3.16  USE="kerberos ssl" 0 kB

Actual Results:  
>>> Emerging (1 of 1) net-mail/cyrus-imap-admin-2.3.16
 * cyrus-imapd-2.3.16.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                 [ ok ]
 * CPV:  net-mail/cyrus-imap-admin-2.3.16                                                                                                                                                    
 * REPO: gentoo                                                                                                                                                                              
 * USE:  amd64 elibc_glibc kerberos kernel_linux multilib ssl userland_GNU                                                                                                                   
>>> Unpacking source...                                                                                                                                                                      
>>> Unpacking cyrus-imapd-2.3.16.tar.gz to /tmp/portage/net-mail/cyrus-imap-admin-2.3.16/work                                                                                                
 * Applying cyrus-imap-admin-2.2-fPIC.patch ...                                                                                                                                         [ ok ]
 * Running eautoreconf in '/tmp/portage/net-mail/cyrus-imap-admin-2.3.16/work/cyrus-imapd-2.3.16' ...                                                                                         
 * Running aclocal ...                                                                                                                                                                  [ ok ]
 * Running autoconf ...                                                                                                                                                                 [ !! ]

 * Failed Running autoconf !
 * Include in your bugreport the contents of:
 *   /tmp/portage/net-mail/cyrus-imap-admin-2.3.16/temp/autoconf.out

 * ERROR: net-mail/cyrus-imap-admin-2.3.16 failed:
 *   Failed Running autoconf !                    
 * Call stack:                                    
 *, line   54:  Called src_unpack   
 *   environment, line 3211:  Called eautoreconf  
 *   environment, line 1025:  Called eautoconf    
 *   environment, line  963:  Called autotools_run_tool 'autoconf'
 *   environment, line  410:  Called die                          
 * The specific snippet of code:                                  
 *           die "Failed Running $1 !";                           
 * If you need support, post the output of 'emerge --info =net-mail/cyrus-imap-admin-2.3.16',
 * the complete build log and the output of 'emerge -pqv =net-mail/cyrus-imap-admin-2.3.16'. 
 * The complete build log is located at '/tmp/portage/net-mail/cyrus-imap-admin-2.3.16/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/net-mail/cyrus-imap-admin-2.3.16/temp/environment'.
 * S: '/tmp/portage/net-mail/cyrus-imap-admin-2.3.16/work/cyrus-imapd-2.3.16' 

autoconf.out contains:
***** autoconf *****
***** PWD: /tmp/portage/net-mail/cyrus-imap-admin-2.3.16/work/cyrus-imapd-2.3.16
***** autoconf

ac-wrapper: warning: invalid WANT_AUTOCONF '2.6'; ignoring. error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

emerge --info
Portage (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.30-gentoo-r4 x86_64)
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-1.12.13
Timestamp of tree: Tue, 16 Feb 2010 02:05:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
CFLAGS="-O2 -march=k8 -msse3 -mfpmath=sse -pipe"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -msse3 -mfpmath=sse -pipe"
FEATURES="assume-digests buildsyspkg ccache distlocks news nodoc parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow acl acpi amd64 apache2 avahi bash-completion berkdb bzip2 caps cli cracklib crypt cxx dbus dri dvd fam fortran gdbm hal iconv idn kerberos ldap lzma mailwrapper mbox mmx modules mudflap multilib ncurses nfs nls nonfsv4 nptl nptlonly openmp pam pcre perl postgres pppd python readline reflection samba sasl session snmp spl sqlite sqlite3 sse sse2 ssl sysfs tcpd threads udev unicode vim-syntax xattr xml xorg zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-18 03:57:36 UTC
Quoting you:

 * Failed Running autoconf !
 * Include in your bugreport the contents of:
 *   /tmp/portage/net-mail/cyrus-imap-admin-2.3.16/temp/autoconf.out
Comment 2 Richard Foltyn 2010-02-18 20:04:08 UTC
(In reply to comment #1)
> Quoting you:
>  * Failed Running autoconf !
>  *                          
>  * Include in your bugreport the contents of:
>  *                                           
>  *   /tmp/portage/net-mail/cyrus-imap-admin-2.3.16/temp/autoconf.out

Actually I did, but obviously it was hard to spot between all the other output.
So here we go again:

# cat /tmp/portage/net-mail/cyrus-imap-admin-2.3.16/temp/autoconf.out
***** autoconf *****
***** PWD: /tmp/portage/net-mail/cyrus-imap-admin-2.3.16/work/cyrus-imapd-2.3.16
***** autoconf error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
Comment 3 Eray Aslan gentoo-dev 2011-06-21 06:30:10 UTC
cyrus-imap-admin-2.3.16 is no longer in the tree.  Fixed in newer versions.