***** aclocal ***** ***** aclocal -I m4 m4/ltversion.m4:4: warning: ill-formed serial number `@MACRO_SERIAL@', expecting a version string with only digits and dots /usr/bin/m4:configure.ac:1240: recursion limit of 1024 exceeded, use -L<N> to change it autom4te-2.61: /usr/bin/m4 failed with exit status: 1 aclocal-1.10: autom4te failed with exit status: 1 Reproducible: Always
According to bug 165577, correct fix is to use autotools.eclass.
1.Update sys-devel/automake from 1.10 to 1.10.1 2. emerge quagga Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) net-misc/quagga-0.98.6-r4 to / * quagga-0.98.6.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * quagga-0.98.6-patches-20070912.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking quagga-0.98.6.tar.gz ;-) ... [ ok ] * checking quagga-0.98.6-patches-20070912.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking quagga-0.98.6.tar.gz to /var/tmp/portage/net-misc/quagga-0.98.6-r4/work >>> Unpacking quagga-0.98.6-patches-20070912.tar.gz to /var/tmp/portage/net-misc/quagga-0.98.6-r4/work * Applying bgpd-bug-355.diff ... [ ok ] * Applying ripd-show-ifaces.diff ... [ ok ] * Applying quagga-0.98.6-backports.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-misc/quagga-0.98.6-r4/work/quagga-0.98.6' ... * Running aclocal -I m4 ... [ !! ] * Failed Running aclocal ! * * Include in your bugreport the contents of: * * /var/tmp/portage/net-misc/quagga-0.98.6-r4/temp/aclocal-21222.out * * ERROR: net-misc/quagga-0.98.6-r4 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2625: Called eautoreconf * environment, line 845: Called eaclocal * environment, line 784: Called autotools_run_tool 'src_unpack' 'src_unpack' 'aclocal' * environment, line 335: Called die * The specific snippet of code: * die "Failed Running $1 !"; * The die message: * Failed Running aclocal ! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-misc/quagga-0.98.6-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/quagga-0.98.6-r4/temp/environment'. 3. emerge --info Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.22-gentoo-r9 x86_64) ================================================================= System uname: 2.6.22-gentoo-r9 x86_64 Genuine Intel(R) CPU 2160 @ 1.80GHz Timestamp of tree: Wed, 07 May 2008 10:30:02 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/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/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirrors.ludost.net/gentoo/ http://distfiles.gentoo.bg/ http://ftp.gentoo.bg/ " PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl amd64 apache2 berkdb bzip2 cgi cli cracklib crypt cups curl dbus dri extensions fortran ftp gd gdbm gpm iconv ipv6 isdnlog jpeg l7filter latin1 midi mmx mudflap mysql ncurses nls nptl nptlonly odbc openmp pam pcre perl php png postgres pppd python readline reflection samba sendmail session snmp spell spl sse sse2 ssl tcpd truetype xml xorg zip 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I had the exact same problem, however I really need a router daemon now, so I took the ~x86 "risk": net-misc/quagga-0.99.9-r1 installs OK
Fixed in cvs, w/o revision bump.