During emerge of mhwaveedit-1.4.16 autoconf fails to run with the message;configure.in:196: error: possibly undefined macro: AM_PATH_SDL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. Reproducible: Always Steps to Reproduce: 1.emerge mhwaveedit 2. 3. Actual Results: autoconf fails to run. Expected Results: Compilation and installation of mhwaveedit emerge --info Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.31-gentoo i686) ================================================================= System uname: Linux-2.6.31-gentoo-i686-Pentium_III_-Coppermine-with-gentoo-2.0.1 Timestamp of tree: Sat, 19 Sep 2009 18:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p33 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium3" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages nodoc noinfo parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/source/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ " LANG="C" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j2 --load-average=1.3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/usr/local/portage/layman/sunrise /usr/local/portage/layman/lxde" SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage" USE="X acl alsa bzip2 cli cracklib crypt dbus dri firefox flac fortran gdbm gpm hal iconv ipv6 jpeg mp3 mudflap ncurses nls nptl nptlonly openmp oss pam pcmcia pcre perl png pppd python readline reflection session spell spl ssl startup-notification suid symlink sysfs tcpd unicode usb wavpack win32codecs x86 xorg xscreensaver xulrunner zlib" ALSA_CARDS="cs46xx" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="ati radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
In a way, a valid bug. See, if changing eautoreconf to eautoconf helps.
(In reply to comment #1) > In a way, a valid bug. > See, if changing eautoreconf to eautoconf helps. > By changing eautoreconf to eautoconf, the autoconf step passed but instead the compilation failed because the macro AM_PATH_SDL is missing (configure.in:196) >>> Emerging (1 of 1) media-sound/mhwaveedit-1.4.16-r1 from local_overlay * mhwaveedit-1.4.16.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mhwaveedit-1.4.16.tar.bz2 to /var/tmp/portage/media-sound/mhwaveedit-1.4.16-r1/work >>> Source unpacked in /var/tmp/portage/media-sound/mhwaveedit-1.4.16-r1/work >>> Preparing source in /var/tmp/portage/media-sound/mhwaveedit-1.4.16-r1/work/mhwaveedit-1.4.16 ... * Applying mhwaveedit-1.4.16-gtk.patch ... [ ok ] * Applying mhwaveedit-1.4.16-pulse.patch ... [ ok ] * Running autoconf ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/mhwaveedit-1.4.16-r1/work/mhwaveedit-1.4.16 ... * econf: updating mhwaveedit-1.4.16/config.sub with /usr/share/gnuconfig/config.sub * econf: updating mhwaveedit-1.4.16/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-arts --without-portaudio --enable-nls --without-libsndfile --without-libsamplerate --without-sdl --with-alsalib --with-oss --without-jack --without-pulse --without-esound checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3 checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether i686-pc-linux-gnu-gcc needs -traditional... no checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for main in -libs... no checking for round in -lm... yes checking for pthread_create in -lpthread... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking portaudio.h usability... no checking portaudio.h presence... no checking for portaudio.h... no checking for snd_pcm_open in -lasound... yes checking alsa/asoundlib.h usability... yes checking alsa/asoundlib.h presence... yes checking for alsa/asoundlib.h... yes checking for _oss_ioctl in -lossaudio... no checking soundcard.h usability... no checking soundcard.h presence... no checking for soundcard.h... no checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking sys/audio.h usability... no checking sys/audio.h presence... no checking for sys/audio.h... no checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.0.0... yes (version 2.16.6) checking for GTHREAD... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking size of off_t... 8 checking for ANSI C header files... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking ladspa.h usability... no checking ladspa.h presence... no checking for ladspa.h... no checking for size_t... yes checking for off_t... yes checking for pid_t... yes checking return type of signal handlers... void checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking for an ANSI C-conforming const... yes checking for working volatile... yes checking whether unsetenv returns a value... yes checking for working memcmp... yes checking for gettimeofday... yes checking for mkdir... yes checking for strerror... yes checking for strtod... yes checking for strtol... yes checking for sched_yield... yes checking for ceill... yes checking for setlocale... yes checking for fseeko... yes checking for ftello... yes checking for lrint... yes checking for lrintf... yes checking for dup2... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for pow... yes checking for putenv... yes checking for select... yes checking for sqrt... yes checking for strchr... yes checking for strrchr... yes checking for strstr... yes checking for strtoul... yes checking whether closedir returns void... no checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for working strtod... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating m4/Makefile config.status: creating share/Makefile config.status: creating config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands ------------------------ mhWaveEdit configuration ------------------------ Version: 1.4.16 Libraries: GTK+ version: 2.x Libsndfile: no Libsamplerate: no Sound drivers: OSS: yes ALSA: yes JACK: no Sun: no PortAudio: no SDL: no EsounD: no aRts: no PulseAudio: no Other settings: Default sound driver: auto (detect at startup) LADSPA Support: no Floating-point samples: normal precision Type make (or gmake) to compile mhWaveEdit! >>> Source configured. >>> Compiling source in /var/tmp/portage/media-sound/mhwaveedit-1.4.16-r1/work/mhwaveedit-1.4.16 ... make -j2 --load-average=1.3 cd . && /bin/sh /var/tmp/portage/media-sound/mhwaveedit-1.4.16-r1/work/mhwaveedit-1.4.16/missing --run aclocal-1.10 -I m4 configure.in:196: warning: macro `AM_PATH_SDL' not found in library cd . && /bin/sh /var/tmp/portage/media-sound/mhwaveedit-1.4.16-r1/work/mhwaveedit-1.4.16/missing --run automake-1.10 --gnu cd . && /bin/sh /var/tmp/portage/media-sound/mhwaveedit-1.4.16-r1/work/mhwaveedit-1.4.16/missing --run autoconf configure.in:196: error: possibly undefined macro: AM_PATH_SDL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. make: *** [configure] Error 1 make: *** Waiting for unfinished jobs.... * * ERROR: media-sound/mhwaveedit-1.4.16-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2691: Called _eapi2_src_compile * ebuild.sh, line 634: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * 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-sound/mhwaveedit-1.4.16-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/mhwaveedit-1.4.16-r1/temp/environment'. * This ebuild is from an overlay named 'local_overlay': '/usr/local/portage/local/' * >>> Failed to emerge media-sound/mhwaveedit-1.4.16-r1, Log file: >>> '/var/tmp/portage/media-sound/mhwaveedit-1.4.16-r1/temp/build.log' * Messages for package media-sound/mhwaveedit-1.4.16-r1: * * ERROR: media-sound/mhwaveedit-1.4.16-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2691: Called _eapi2_src_compile * ebuild.sh, line 634: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * 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-sound/mhwaveedit-1.4.16-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/mhwaveedit-1.4.16-r1/temp/environment'. * This ebuild is from an overlay named 'local_overlay': '/usr/local/portage/local/'
Problem solved by installing libsdl and adding "media-sound/mhwaveedit sdl" to /etc/portage/package.use.
(In reply to comment #3) > Problem solved by installing libsdl and adding "media-sound/mhwaveedit sdl" to > /etc/portage/package.use. yeah you can do that but it shouldn't fail even if you don't.
Perhaps doing 'eautoconf; eautomake' won't trigger full eautoreconf, but the moment aclocal runs, presence of that macro is required. Unless you're planning a heavy hacking of configure.in.
(In reply to comment #5) > Perhaps doing 'eautoconf; eautomake' won't trigger > full eautoreconf, but the moment aclocal runs, > presence of that macro is required. > > Unless you're planning a heavy hacking of configure.in. the real fix would have been to include the missing m4; anyway, this version is gone and no version of mhwaveedit run eautoreconf anymore -> fixed