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

Bug 201146

Summary: autoconf failed in cyrus-imapd
Product: Gentoo Linux Reporter: werner
Component: New packagesAssignee: Gunnar Wrobel (RETIRED) <wrobel>
Status: RESOLVED FIXED    
Severity: normal CC: werner
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description werner 2007-12-03 21:04:53 UTC
/var/tmp/portage/cyrus-imapd-2.3.9-r20/temp/autoconf-3275.out:

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

Reproducible: Always

Steps to Reproduce:
1.emerge kolabd
2.
3.

Actual Results:  
 * Running eautoreconf in '/var/tmp/portage/cyrus-imapd-2.3.9-r20/work/cyrus-imapd-2.3.9' ...
 * Running aclocal ...                                                    [ ok 
 * Running autoconf ...                                                   [ !! ]

 * Failed Running autoconf !
Comment 1 Gunnar Wrobel (RETIRED) gentoo-dev 2007-12-06 08:58:44 UTC
Can you post your emerge --info?
Comment 2 werner 2007-12-06 09:46:35 UTC
Portage 2.0.54 (hardened/amd64/multilib, gcc-3.4.4, glibc-2.3.5-r2, 2.6.22-hardened-r8grsec x86_64)
=================================================================
System uname: 2.6.22-hardened-r8grsec x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Gentoo Base System release 1.12.9
app-admin/eselect-compiler: [Not Present]
app-shells/bash:     3.2_p17
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.10
sys-devel/binutils:  2.16.1
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kolab"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 berkdb bzip2 cracklib crypt expat gmp hardened imap justify ldap midi ncurses nls nptl nptlonly pam pcre perl php pic postgres python readline sqlite ssl tcpd urandom xml2 xorg zlib apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias video_cards_apm video_cards_ark video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_nv video_cards_r128 video_cards_radeon video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo input_devices_mouse input_devices_keyboard userland_GNU kernel_linux elibc_glibc alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 3 werner 2007-12-11 21:59:57 UTC
After adding the AT_M4DIR var to 
    net-mail/cyrus-imap-admin/cyrus-imap-admin-2.3.9-r20.ebuild
it worked.

41c41
<       AT_M4DIR="cmulocal" eautoreconf
---
>       eautoreconf
(In reply to comment #1)
> Can you post your emerge --info?
> 

Comment 4 Marius Mauch (RETIRED) gentoo-dev 2008-03-07 18:21:32 UTC
Same error (and solution as in comment #3) with 2.3.9-r1 in the main tree.
Comment 5 Tobias Scherbaum (RETIRED) gentoo-dev 2008-03-08 20:00:09 UTC
(In reply to comment #4)
> Same error (and solution as in comment #3) with 2.3.9-r1 in the main tree.
> 

fixed in 2.3.11 in the main tree. Thanks for testing and providing the fix!
Comment 6 Gunnar Wrobel (RETIRED) gentoo-dev 2008-04-18 12:46:07 UTC
Fix included in the kolab overlay in cyrus-imapd-2.3.11-r20.

Thanks for the fix.