Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220177 - net-fs/am-utils: aclocal failed (broken autotools handling)
Summary: net-fs/am-utils: aclocal failed (broken autotools handling)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords: PMASKED
: 222593 240754 (view as bug list)
Depends on:
Blocks: bad-autotools
  Show dependency tree
 
Reported: 2008-05-04 00:19 UTC by Lee Chen
Modified: 2011-04-06 23:14 UTC (History)
2 users (show)

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 Lee Chen 2008-05-04 00:19:23 UTC
tried m4 versions: 1.4.11 and 1.4.10-r3 on two different amd64 systems and one x86 system resulted in the same error:

# cat /var/tmp/portage/net-fs/am-utils-6.1.5/temp/aclocal-8440.out
***** aclocal *****
***** aclocal

acinclude.m4:3971: the serial number must appear before any macro definition
acinclude.m4:10530: error: m4_defn: undefined macro: _m4_divert_diversion
acinclude.m4:10530: the top level
autom4te-2.62: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1

emerge --info:

Portage 2.1.5_rc6 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.23-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r9 x86_64 AMD Athlon(tm) 64 FX-60 Dual Core Processor
Timestamp of tree: Sat, 03 May 2008 23:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r11, 2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.3
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/n/mali/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/n/mali/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="X acl alsa amd64 berkdb cli cracklib crypt cups dbus dri fortran gdbm gpm hal iconv ipv6 isdnlog kde midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt readline reflection session spl sse sse2 ssl tcpd unicode xorg zlib" ALSA_CARDS="via82xx" 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 kbd mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-05-18 14:26:34 UTC
*** Bug 222593 has been marked as a duplicate of this bug. ***
Comment 2 Steffen Wolf 2008-06-04 12:16:36 UTC
I've had the same problem here on Gentoo/FreeBSD. I noticed that aclocal-1.7 runs fine, but there will be problems with autoconf later.

It seems to work fine though when you revert to autoconf-2.61-r1. There seems to be a misconfiguration in the m4 code of autoconf-2.62.

Here is a more detailled list of the autotools used:

sys-devel/autoconf-2.61-r1
sys-devel/automake-1.10.1-r1
sys-devel/automake-1.10.1 also works (this one on Gentoo/Linux)
sys-devel/automake-wrapper-3-r1
sys-devel/autoconf-wrapper-4-r3

also installed but not used:
sys-devel/automake-1.7.9-r1

Hope that helps.
Comment 3 Lee Chen 2008-07-24 19:29:19 UTC
(In reply to comment #0)
autoconf-2.61-r2 also works suggesting that there is some definite incompatibility with 2.62* (thus far).

Keep in mind that if you use autoconf-2.61* you will also need to revert libtool also or the am-utils make will fail further inwards.  (I successfully used libtool-1.5.26)
Comment 4 Lee Chen 2008-08-02 21:59:55 UTC
PLEASE BE ADVISED:

courier-authlib 0.61.0

suffers from the exact same autoconf and libtool problems during compilation

*both* autoconf _and_ libtool need to be reverted to earlier versions for the compile to complete successfully without onerous and disgusting user intervention

I used autoconf 2.61-r2 and libtool 1.5.26
Comment 5 Nick Andrade 2009-03-21 19:03:53 UTC
(In reply to comment #4)
> ...
> *both* autoconf _and_ libtool need to be reverted to earlier versions for the
> compile to complete successfully without onerous and disgusting user
> intervention
> 
> I used autoconf 2.61-r2 and libtool 1.5.26

I can confirm that downgrading to those versions works for Gentoo/Linux; using both sys-devel/autoconf-2.63 & sys-devel/libtool-2.2.6a still fail.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-09 16:00:52 UTC
The acinclude.m4 file should be removed, and m4 should be added to AT_M4_DIR,
instead, possibly removing libtool files, otherwise it fails with a message
about serials.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-09 16:01:12 UTC
*** Bug 240754 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2011-04-06 23:14:35 UTC
no longer in the tree ... it was pmasked + punted