Bug 217318 - libsamplerate fails with autoconf-2.62
Bug#: 217318 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sound@gentoo.org Reported By: Karel.De-Vriendt@skynet.be
Component: Unspecified
URL: 
Summary: libsamplerate fails with autoconf-2.62
Keywords:  
Status Whiteboard: 
Opened: 2008-04-11 17:36 0000
Description:   Opened: 2008-04-11 17:36 0000
***** Compile error *****

Emerging (178 of 871) media-libs/libsamplerate-0.1.2-r1 to /
 * libsamplerate-0.1.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...                  
                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                                     [ ok ]
 * checking libsamplerate-0.1.2.tar.gz ;-) ...                                 
                                                                     [ ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking libsamplerate-0.1.2.tar.gz to /var/tmp/portage/media-libs/libsamplerate-0.1.2-r1/work
 * Applying libsamplerate-0.1.2-automagic.patch ...                            
                                                                     [ ok ]
 * Applying libsamplerate-0.1.2-dontbuild-tests-examples.patch ...             
                                                                     [ ok ]
 * Running eautoreconf in
'/var/tmp/portage/media-libs/libsamplerate-0.1.2-r1/work/libsamplerate-0.1.2'
...
 * Running aclocal ...                                                         
                                                                     [ ok ]
 * Running autoconf ...                                                        
                                                                     [ !! ]

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/media-libs/libsamplerate-0.1.2-r1/temp/autoconf-30239.out

 *
 * ERROR: media-libs/libsamplerate-0.1.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2513:  Called eautoreconf
 *             environment, line  837:  Called eautoconf
 *             environment, line  780:  Called autotools_run_tool 'src_unpack'
 *             environment, line  333:  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/media-libs/libsamplerate-0.1.2-r1/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/media-libs/libsamplerate-0.1.2-r1/temp/environment'.




Reproducible: Always

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

Actual Results:  
See above

***** The requested file *****

cat /var/tmp/portage/media-libs/libsamplerate-0.1.2-r1/temp/autoconf-30239.out
***** autoconf *****
***** autoconf

aclocal.m4:163: error: m4_defn: undefined macro: _m4_divert_diversion
aclocal.m4:163: the top level
autom4te-2.62: /usr/bin/m4 failed with exit status: 1



***** Emerge --info *****

emerge --info
Portage 2.1.5_rc2 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2,
2.6.24-gentoo-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 3500+
Timestamp of tree: Fri, 11 Apr 2008 00:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 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.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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
/etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo "
LANG="en_US.utf8"
LDFLAGS=""
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="   "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acpi alsa berkdb branding bzip2 cairo cddb cdparanoia cdr
clamav cli cracklib cups dbus directfb dri dts dvd dvdr dvdread encode exif fam
fbcon ffmpeg firefox flac foomaticdb ftp gif gimp glitz gphoto2 gtk hal hddtemp
id3tag imagemagick imlib java javascript jpeg kde lame libnotify libwww
lm_sensors mad midi mikmod mime mmx mp3 mpeg mplayer msn mudflap ncurses nls
nptl nptlonly nsplugin odbc ogg opengl openmp pam pcre pdf perl php png ppds
pppd python qt3 qt3support qt4 quicktime raw readline real reflection rss samba
scanner sdl semantic-desktop session spell spl sse sse2 ssl subversion svg svga
symlink syslog tcpd theora tiff tk tokenizer truetype tunepimp unicode usb
vorbis win32codecs wmf wxwindows x86 xcomposite xine xml xorg xscreensaver xv
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 mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Karel De Vriendt 2008-04-11 19:34:03 0000 -------
Apparently a problem with autoconf-2.62.  Reading a Planet Gentoo entry by
flameeyes, I decided to try to replace autoconf-2.62 with the older
autoconf-2.61-r1.  Problem then has gone away.

------- Comment #2 From Shoo 2008-04-11 20:07:23 0000 -------
(In reply to comment #1)
> Apparently a problem with autoconf-2.62.  Reading a Planet Gentoo entry by
> flameeyes, I decided to try to replace autoconf-2.62 with the older
> autoconf-2.61-r1.  Problem then has gone away.
> 

Works to me. Thanks for report.

------- Comment #3 From Paul Taylor 2008-04-14 05:42:31 0000 -------
libsndfile-1.0.17-r1 also fails to emerge due to the missing
"_m4_divert_diversion" macro with autoconf-2.62.

------- Comment #4 From Diego E. 'Flameeyes' Pettenò 2008-04-14 13:54:33 0000 -------
Fixed in libsamplerate 0.1.3 and libsndfile 1.0.17-r1.

------- Comment #5 From Peter Alfredsen 2009-04-21 10:31:17 0000 -------
*** Bug 266934 has been marked as a duplicate of this bug. ***