Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418287 - sys-boot/grub-0.97-r11 - Failed Running autoconf ! - configure.ac:59: error: possibly undefined macro: AM_PROG_AS
Summary: sys-boot/grub-0.97-r11 - Failed Running autoconf ! - configure.ac:59: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 437490 523248 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-30 18:35 UTC by Mark Nowiasz
Modified: 2014-10-20 17:33 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,4.67 KB, text/plain)
2012-06-01 10:00 UTC, Arvydas Sidorenko
Details
/var/tmp/portage/sys-boot/grub-0.97-r12/temp/build.log (build.log,6.61 KB, text/plain)
2012-06-01 10:00 UTC, Arvydas Sidorenko
Details
/var/tmp/portage/sys-boot/grub-0.97-r12/temp/autoconf.out (autoconf.log,278 bytes, text/plain)
2012-06-01 10:01 UTC, Arvydas Sidorenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Nowiasz 2012-05-30 18:35:20 UTC
When trying to upgrade grub to 0.97-r11, grub fails to compile with a autoconf error

Reproducible: Always

Steps to Reproduce:
1. emerge -uDN @world @system
2.
3.
Actual Results:  
pplying various patches (bugfixes/updates) ...
 *   001_all_grub-0.95.20040823-splash.patch ...                         [ ok ]
 *   002_all_grub-0.97-splashimage-safety.patch ...                      [ ok ]
 *   003_all_grub-0.97-example-rescue-shell.patch ...                    [ ok ]
 *   005_all_grub-0.96-PIC.patch ...                                     [ ok ]
 *   008_all_grub-0.97-AM_PROG_AS.patch ...                              [ ok ]
 *   010_all_grub-0.96-bounced-checks.patch ...                          [ ok ]
 *   011_all_grub-0.97-varargs.patch ...                                 [ ok ]
 *   012_all_grub-0.97-gcc46.patch ...                                   [ ok ]
 *   015_all_grub-0.96-unsigned-addresses.patch ...                      [ ok ]
 *   016_all_grub-0.97-multiboot-memory-amount.patch ...                 [ ok ]
 *   018_all_grub-0.97-config-file-chk.patch ...                         [ ok ]
 *   040_all_grub-0.96-nxstack.patch ...                                 [ ok ]
 *   060_all_grub-0.96-netboot-pic.patch ...                             [ ok ]
 *   070_all_grub-0.97-initrd_max_address.patch ...                      [ ok ]
 *   090_all_grub-0.97-intelmac.patch ...                                [ ok ]
 *   100_all_grub-0.97-splashimage-example.patch ...                     [ ok ]
 *   110_all_grub-0.97-ptable-fix.patch ...                              [ ok ]
 *   300_all_grub-0.97-pie-safety.patch ...                              [ ok ]
 *   410_all_grub-0.97-dhcp-vendorclass.patch ...                        [ ok ]
 *   420_all_grub-0.97-chainload-logical.patch ...                       [ ok ]
 *   550_all_grub-0.97-long-commandline.patch ...                        [ ok ]
 *   600_all_grub-0.97-gpt-partition-table.patch ...                     [ ok ]
 *   700_all_grub-0.97-grub-install_addsyncs.patch ...                   [ ok ]
 *   710_all_grub-0.97-grub-install_regexp.patch ...                     [ ok ]
 *   720_all_grub-0.97-grub-install_aoe_support.patch ...                [ ok ]
 *   800_all_grub-0.97-crossreference_manpages.patch ...                 [ ok ]
 *   810_all_grub-0.97-ext3_256byte_inode.patch ...                      [ ok ]
 *   820_all_grub-0.97-cvs-sync.patch ...                                [ ok ]
 *   821_all_grub-0.97-grub-special_device_names.patch ...               [ ok ]
 *   822_all_grub-0.97-geometry-26kernel.patch ...                       [ ok ]
 *   825_all_grub-0.97-automake-pkglib.patch ...                         [ ok ]
 *   830_all_grub-0.97-raid_cciss.patch ...                              [ ok ]
 *   840_all_grub-0.97_kvm_vda.patch ...                                 [ ok ]
 *   850_all_grub-0.97_ext4.patch ...                                    [ ok ]
 *   860_all_grub-0.97-pie.patch ...                                     [ ok ]
 *   900_all_grub-0.97-no-strict-aliasing.patch ...                      [ ok ]
 *   901_all_grub-0.97-fix-gcc46-reboot-issue.patch ...                  [ ok ]
 * Done with patching
 * Running eautoreconf in '/var/tmp/portage/sys-boot/grub-0.97-r11/work/grub-0.97' ...
 * Running aclocal ...                                                   [ ok ]
 * Running autoconf ...                                                  [ !! ]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:

*   /var/tmp/portage/sys-boot/grub-0.97-r11/temp/autoconf.out

cat /var/tmp/portage/sys-boot/grub-0.97-r11/temp/autoconf.out
***** autoconf *****
***** PWD: /var/tmp/portage/sys-boot/grub-0.97-r11/work/grub-0.97
***** autoconf

configure.ac:59: error: possibly undefined macro: AM_PROG_AS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.




 emerge --info
Portage 2.1.10.63 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.15-r2, 3.4.0-gentoo x86_64)
=================================================================
System uname: Linux-3.4.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Wed, 30 May 2012 17:45:01 +0000
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 apng audiofile bash-completion bcmath berkdb blas bluetooth branding bzip2 cairo calendar cdb cdda cddb cdinstall cdparanoia cdr chromium cli consolekit cracklib crypt css cups curl curlwrappers cvs cxx dbus djvu dri dts dv dvb dvd dvdr eds encode enscript evo exif expat fam ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm gdu geoip gif gimp git glut gmp gnome gnome-keyring gnome-online-accounts gnuplot gnutls gphoto2 gpm graphviz gsl gsm gstreamer gtk gtk3 gtkhtml gudev gzip handbook hbci hddtemp hdf5 iconv icq icu idn imagemagick imap imlib ipv6 jabber jack java java6 javascript jbig jingle joystick jpeg jpeg2k kde lame lapack lash latex lcms ldap libcaca libedit libffi libnotify libsamplerate libwww lm_sensors lua lzma lzo mad maildir matroska memlimit mercurial mhash mikmod milter mime mmap mms mmx mng modplug modules mp3 mp4 mpeg mpi mplayer msn mtp mudflap multilib musepack musicbrainz mysql mysqli nas ncurses netcdf nls nntp nocd nptl nsplugin ocr odbc offensive ofx ogg openal openexr opengl openmp osc oscar pam pcntl pcre pda pdf php plasma plotutils png policykit postgres ppds pppd pulseaudio python qt3support qt4 quicktime raw rdesktop readline recode rss samba sasl scanner sdl semantic-desktop session sharedmem shorten slang slp smp sndfile snmp soap sockets sound sox speex spell sqlite sqlite3 sse sse2 sse3 ssl startup-notification subversion suid svg syslog szip taglib tcl tcpd themes theora threads tiff timidity tk tokenizer tracker truetype unicode usb v4l vala vcd videos vim-syntax vnc vorbis vpn vpnc wavpack webkit wmf wxwidgets x264 xattr xcb xcomposite xface xft xine xinerama xml xmlrpc xmp xmpp xorg xosd xpm xscreensaver xsl xulrunner xv xvid yahoo yaz zeitgeist zeroconf 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 mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Yu Yuwei 2012-05-31 00:47:09 UTC
Same here. 


emerge --info

Portage 2.2.0_alpha107 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.15-r2, 3.3.4-gentoo x86_64)
=================================================================
System uname: Linux-3.3.4-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1230_V2_@_3.30GHz-with-gentoo-2.1
Timestamp of tree: Wed, 30 May 2012 23:45:01 +0000
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo acevery gentoo-zh desktop-effects gentoo-china sunrise
Installed sets: 
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.xmu.edu.cn/gentoo/"
LANG="zh_CN.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_CN en_US"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/acevery /usr/portage/local/layman/gentoo-zh /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/gentoo-china /usr/portage/local/layman/sunrise"
SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage"
USE="16Bit X Xaw3d a52 aac acl acpi aiglx alsa amd64 asf avahi bash-completion beagle berkdb branding browserplugin bzip2 bzr cairo caps cdda cddb cdr chm cjk cleartype cli colord consolekit cracklib crypt cups custom-optimization cxx dbus djvu dmx dri dts dv dvd dvdnav dvdr dvdread emboss evo exif expat faac faad fam fbcon fbcondecor fbsplash ffmpeg fifo flac fontconfig fontforge fortran fts3 fuse g3dvl gconf gdbm gif gimp git glib gmp gnome gnome-keyring gnome-online-accounts gnutls gphoto2 gpm gs gstreamer gtk gtk2 gtk3 gucharmap guile gzip-el hesiod i8x0 iconv icu id3 idle ieee1394 imap introspection iptc ipv6 jadetex java jpeg jpeg2k kerberos kpathsea lame latex lcms ldap libffi libmms libnotify libsamplerate lunar lzo mad midi mmap mmx mng modules mp3 mp4 mpeg msn mudflap multilib mysql nautilus ncurses networkmanager nls nntp nptl nptlonly nsplugin ofx ogg opengl openmp openssl pam pango pcmcia pcre pdf perl pic png policykit poppler ppds pppd pulseaudio python qq qt3support quicktime raw readline samba sdl session snmp socialweb sound spell sqlite sqlite3 srv sse sse2 ssl ssse3 startup-notification subversion svg system-sqlite taglib tcl tcltk tcpd tetex theora threads thumbnail tiff tk toolkit-scroll-bars trayicon truetype udev udisks unicode upower usb v4l v4l2 vaapi vdpau vim vim-syntax vim-with-x vmware_guest_windows vorbis vte wav webkit wifi winbind wma wmf wmp wxwidgets x264 xattr xcb xcomposite xft xine xinerama xml xorg xprint xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hpp1008" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="zh_CN en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Richard Yao (RETIRED) gentoo-dev 2012-05-31 05:04:41 UTC
Would you please attach build.log and config.log?
Comment 3 Arvydas Sidorenko 2012-06-01 10:00:03 UTC
Created attachment 313801 [details]
emerge --info
Comment 4 Arvydas Sidorenko 2012-06-01 10:00:42 UTC
Created attachment 313803 [details]
/var/tmp/portage/sys-boot/grub-0.97-r12/temp/build.log
Comment 5 Arvydas Sidorenko 2012-06-01 10:01:09 UTC
Created attachment 313805 [details]
/var/tmp/portage/sys-boot/grub-0.97-r12/temp/autoconf.out
Comment 6 SpanKY gentoo-dev 2012-06-02 07:42:17 UTC
AM_PROG_AS is provided by automake

go into the build dir and run:
$ grep AM_PROG_AS aclocal.m4
$ aclocal --version
$ aclocal
$ grep AM_PROG_AS aclocal.m4
Comment 7 Arvydas Sidorenko 2012-06-02 11:46:37 UTC
I cannot reproduce anymore. I didn't sync, but the second try went through and re-emerging grub separately doesn't break as well.
Comment 8 Holger Hoffstätte 2012-06-02 12:24:42 UTC
(In reply to comment #6)

This is a weird one. I can still reproduce this on one box, but it builds repeatably on two other almost-identical ~x86 boxes (all same toolchain, gcc 4.6.3, diffs are just desktop packages and such).

> AM_PROG_AS is provided by automake
> 
> go into the build dir and run:
> $ grep AM_PROG_AS aclocal.m4
> $ aclocal --version
> $ aclocal
> $ grep AM_PROG_AS aclocal.m4

After failed emerge:

root>cd /var/tmp/portage/sys-boot/grub-0.97-r12/work/grub-0.97
root>grep AM_PROG_AS aclocal.m4                               
# AM_PROG_AS
AC_DEFUN([AM_PROG_AS],
root>aclocal --version
aclocal (GNU automake) 1.11.5
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
 
Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
root>aclocal
root>grep AM_PROG_AS aclocal.m4
# AM_PROG_AS
AC_DEFUN([AM_PROG_AS],
root> 

On this box the failure started with -r12; -r11 emerged fine.
Comment 9 Holger Hoffstätte 2012-06-02 12:26:37 UTC
(In reply to comment #8)
> (In reply to comment #6)
> On this box the failure started with -r12; -r11 emerged fine.

..and still does: re-emerging -r11 worked without a hitch.
Comment 10 Holger Hoffstätte 2012-06-02 12:33:35 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #6)
> > On this box the failure started with -r12; -r11 emerged fine.
> 
> ..and still does: re-emerging -r11 worked without a hitch.

And to top it all off explicitly emerging -r12 (instead of -u world during previous attempts) worked too, and seems to do so repeatably. wat.
Comment 11 jcat 2012-07-14 15:42:10 UTC
This is also happening for me on x86_64, but with version 0.97-r10

The strange thing is, it seems to almost alternate between working ,then not working.  Sometimes it does, and sometimes it doesn't.
Comment 12 SpanKY gentoo-dev 2012-10-09 04:21:54 UTC
*** Bug 437490 has been marked as a duplicate of this bug. ***
Comment 13 Greg Turner 2013-09-13 22:32:30 UTC
Same here.  "Solved" by emerge --resume.

When the Eric Blake announced he would use /dev/urandom data to "supercharge" the core planning heuristics of the next-generation m4 parser, we should have realized something like this was possible!!!

Oh, well, 20/20 hindsight...
Comment 14 Greg Turner 2013-09-13 22:50:48 UTC
Some vital statistics:

grub-0.97-r13
amd64 on 8-core amd cpu
/var/tmp/portage is a ramdisk
MAKEOPTS="-j24 -l16"
portage-2.2.4 using python 3.2.5-r2
x86_64-pc-linux-gnu-4.7.3
binutils-2.23.2
m4 version is 1.4.16
dev-util/automoc-0.9.88
sys-devel/autoconf-2.13
sys-devel/autoconf-2.69
sys-devel/autoconf-wrapper-13
sys-devel/autogen-5.17.4
sys-devel/automake-1.10.3
sys-devel/automake-1.11.6
sys-devel/automake-1.12.6
sys-devel/automake-1.14
sys-devel/automake-1.4_p6-r1
sys-devel/automake-1.9.6-r3
sys-devel/automake-wrapper-9
FEATURES="assume-digests binpkg-logs buildsyspkg ccache compressdebug config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles installsources merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-filter unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr"
C{,XX}FLAGS="-O2 -pipe -g -mtune=native -march=native"

I have a non-prefix portage with a modified kde-sunset given eclass-override power.
Comment 15 Nick Leippe 2014-04-20 18:47:18 UTC
I just reproduced this on a fresh amd64 install from 20140410 stage3.

emerge --resume didn't help at all--it consistently failed the same way.

After emerging =autoconf-2.13 grub 0.97-r12 installed just fine.

Sounds like either autoconf 2.69 has a bug, or grub 0.97-r12 ebuild needs a different autoconf build dependency.
Comment 16 Ian Stakenvicius (RETIRED) gentoo-dev 2014-10-20 14:24:29 UTC
*** Bug 523248 has been marked as a duplicate of this bug. ***
Comment 17 Ian Stakenvicius (RETIRED) gentoo-dev 2014-10-20 17:33:40 UTC
it's a bit of a hack, but it seems that removing the existing aclocal.m4 before calling eautoreconf keeps this from occurring.  Fixed in grub-0.97-r14.

Please reopen this continues to occur.