Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224575 - sys-apps/hal-0.5.9.1-r3 - autoconf has undefined macro AM_PROG_LIBTOOL along with a few others causing errors when emerging
Summary: sys-apps/hal-0.5.9.1-r3 - autoconf has undefined macro AM_PROG_LIBTOOL along ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-02 07:17 UTC by jim
Modified: 2008-09-04 03:48 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 jim 2008-06-02 07:17:37 UTC
I have tried to emerge sys-apps/hal-0.5.9.1-r3 and I get the following error:


* Running autoconf ...                                                                                                                   [ !! ]

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-apps/hal-0.5.9.1-r3/temp/autoconf-30429.out

 *
 * ERROR: sys-apps/hal-0.5.9.1-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3730:  Called eautoreconf
 *             environment, line 1313:  Called eautoconf
 *             environment, line 1256:  Called autotools_run_tool 'src_unpack'
 *             environment, line  566:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running autoconf !
 *
 * 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/sys-apps/hal-0.5.9.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/hal-0.5.9.1-r3/temp/environment'.
 *

 * Messages for package sys-apps/hal-0.5.9.1-r3:

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-apps/hal-0.5.9.1-r3/temp/autoconf-30429.out
 *
 * ERROR: sys-apps/hal-0.5.9.1-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3730:  Called eautoreconf
 *             environment, line 1313:  Called eautoconf
 *             environment, line 1256:  Called autotools_run_tool 'src_unpack'
 *             environment, line  566:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running autoconf !
 *
 * 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/sys-apps/hal-0.5.9.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/hal-0.5.9.1-r3/temp/environment'.
 *


The file /var/tmp/portage/sys-apps/hal-0.5.9.1-r3/temp/autoconf-30429.out looks like this:


***** autoconf *****
***** autoconf

configure.in:36: error: possibly undefined macro: AM_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:45: error: possibly undefined macro: AM_CONDITIONAL
configure.in:86: error: possibly undefined macro: AC_DEFINE
configure.in:651: error: possibly undefined macro: AC_PROG_INTLTOOL
configure.in:652: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT


emerge --info looks like this:


Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 Intel(R) Pentium(R) 4 CPU 3.40GHz
Timestamp of tree: Sun, 01 Jun 2008 20:18:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1
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.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -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/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo "
MAKEOPTS="-j3"
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.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 arts berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog java jpeg kde kerberos ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 sse3 ssl startup-notification svg tcpd tiff truetype unicode vorbis xml xorg xv 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


I have tried to re-emerge libtools several times but none would fix this issue.  Googled around a bit and read that possibily the m4 file was not found.  This might be an issue with 64bit autoconf or m4 as I have seen a number of people talking about this issue within the past few months and they all seemed to have the amd64 arch.   



Reproducible: Always

Steps to Reproduce:
1.emerge sys-apps/hal-0.5.9.1-r3
2.
3.

Actual Results:  
failed to compile with autoconf saying that it cannot find the macros specified above.

Expected Results:  
hal should be compiled on my machine
Comment 1 jim 2008-06-02 22:33:10 UTC
I am also getting a similar issue when trying to emerge media-sound/esound-0.2.38-r1

same error as before only autoconf spits out a different file with these contents:


/var/tmp/portage/media-sound/esound-0.2.38-r1/temp/autoconf-6602.out

***** autoconf *****
***** autoconf

configure.ac:31: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:32: error: possibly undefined macro: AM_PROG_LIBTOOL




Could this possibly be an issue with my autoconf/automake ? I have tried to re-emerge autoconf but this does not fix the issue.
Comment 2 Saleem Abdulrasool (RETIRED) gentoo-dev 2008-09-04 03:48:37 UTC
Its caused by too new a version of libtool.  Marking as wont fix as HAL 0.5.11-r1 is stable, which contains a fix for this.