Summary: | sys-boot/grub-0.97-r11 - Failed Running autoconf ! - configure.ac:59: error: possibly undefined macro: AM_PROG_AS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark Nowiasz <mark+gentoobugs> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | baracoder, bertrand, eXt, holger, patrick, ryao, smkbot |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
/var/tmp/portage/sys-boot/grub-0.97-r12/temp/build.log /var/tmp/portage/sys-boot/grub-0.97-r12/temp/autoconf.out |
Description
Mark Nowiasz
2012-05-30 18:35:20 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 Would you please attach build.log and config.log? Created attachment 313801 [details]
emerge --info
Created attachment 313803 [details]
/var/tmp/portage/sys-boot/grub-0.97-r12/temp/build.log
Created attachment 313805 [details]
/var/tmp/portage/sys-boot/grub-0.97-r12/temp/autoconf.out
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 I cannot reproduce anymore. I didn't sync, but the second try went through and re-emerging grub separately doesn't break as well. (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. (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. (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. 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. *** Bug 437490 has been marked as a duplicate of this bug. *** 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... 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. 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. *** Bug 523248 has been marked as a duplicate of this bug. *** 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. |