Automake fails when emerging gtk+ 2.8.18. Reproducible: Always Notes: I have received the error of unable to find config.sub or config.guess before, I'm wondering what might cause this problem. Also, I am not currently using my portage overlay for any packages. (It was only intermittently being used to test out a kernel patch, I'm currently using stock ck sources.) Attached are the following. The error, the output of /var/tmp/portage/gtk+-2.8.18/temp/automake-1495.out, the entire build message, and finally emerge --info. ------------------------------Here's the error: * Running automake --add-missing --copy ... [ !! ] * Failed Running automake ! * * Include in your bugreport the contents of: * * /var/tmp/portage/gtk+-2.8.18/temp/automake-1495.out !!! ERROR: x11-libs/gtk+-2.8.18 failed. !!! Function autotools_run_tool, Line 198, Exitcode 0 !!! Failed Running automake ! !!! If you need support, post the topmost build error, NOT this status message. -----------------------# cat /var/tmp/portage/gtk+-2.8.18/temp/automake-1495.out ***** automake ***** configure.in:114: required file `./config.guess' not found configure.in:114: required file `./config.sub' not found ----------------The entire build message: # emerge --newuse --deep -v world >>> --newuse implies --update... adding --update to options. Calculating world dependencies ...done! >>> emerge (1 of 123) x11-libs/gtk+-2.8.18 to / >>> md5 files ;-) gtk+-1.2.10-r11.ebuild >>> md5 files ;-) gtk+-2.8.17.ebuild >>> md5 files ;-) gtk+-2.8.12.ebuild >>> md5 files ;-) gtk+-1.2.10-r10.ebuild >>> md5 files ;-) gtk+-2.6.10-r1.ebuild >>> md5 files ;-) gtk+-2.8.18.ebuild >>> md5 files ;-) gtk+-2.8.8.ebuild >>> md5 files ;-) files/digest-gtk+-2.8.8 >>> md5 files ;-) files/digest-gtk+-2.6.10-r1 >>> md5 files ;-) files/gtk+-2.8.0-multilib.patch >>> md5 files ;-) files/digest-gtk+-1.2.10-r10 >>> md5 files ;-) files/digest-gtk+-1.2.10-r11 >>> md5 files ;-) files/gtkrc >>> md5 files ;-) files/gtk+-2.8.10-xinerama.patch >>> md5 files ;-) files/gtk+-1.2-locale_fix.patch >>> md5 files ;-) files/gtk+-1.2.10-m4.patch >>> md5 files ;-) files/gtk+-2-xpm_loader.patch >>> md5 files ;-) files/digest-gtk+-2.8.12 >>> md5 files ;-) files/digest-gtk+-2.8.17 >>> md5 files ;-) files/digest-gtk+-2.8.18 >>> md5 files ;-) files/gtk+-2.2.1-disable_icons_smooth_alpha.patch >>> md5 files ;-) files/gtk+-2.4.9-ppc64.patch >>> md5 files ;-) files/gtk+-gdk-pixbuf-testfix.patch >>> md5 src_uri ;-) gtk+-2.8.18.tar.bz2 >>> Unpacking source... >>> Unpacking gtk+-2.8.18.tar.bz2 to /var/tmp/portage/gtk+-2.8.18/work * Applying gtk+-2.8.10-xinerama.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/gtk+-2.8.18/work/gtk+-2.8.18' ... * Running aclocal -I . ... [ ok ] * Running libtoolize --copy --force --automake ... [ ok ] * Running aclocal -I . ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy ... [ !! ] * Failed Running automake ! * * Include in your bugreport the contents of: * * /var/tmp/portage/gtk+-2.8.18/temp/automake-1495.out !!! ERROR: x11-libs/gtk+-2.8.18 failed. !!! Function autotools_run_tool, Line 198, Exitcode 0 !!! Failed Running automake ! !!! If you need support, post the topmost build error, NOT this status message. -----------------------# emerge --info Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-ck11 i686) ================================================================= System uname: 2.6.16-ck11 i686 Mobile AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi adns aim alsa apache2 apm arts audiofile avi berkdb bidi bitmap-fonts bzip2 calendar cdparanoia cdr cli crypt cups curl dbus doc dri dv dvd dvdread eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 guile hal howl icq idn ieee1394 imagemagick imap imlib isdnlog jack javascript jpeg jpeg2k kde kdeenablefinal ladcca lcms ldap libg++ libwww mad mikmod mime mng motif mp3 mpeg msn nas ncurses nls nptl nsplugin offensive ogg opengl oscar oss pam pcre pdflib perl png postgres pppd python qt quicktime readline reflection ruby samba sdl session spell spl ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xine xml xml2 xmms xorg xv yahoo zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Post the output of emerge -pv coreutils, please.
(In reply to comment #1) > Post the output of emerge -pv coreutils, please. > # emerge -pv coreutils These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-apps/coreutils-5.94-r1 -acl -build +nls (-selinux) -static 0 kB Total size of downloads: 0 kB
Also, I would like to note that I have the same exact automake error when trying to emerge gtk+ 2.8.12.
There's no need to CC yourself if you reported the bug.
The output from autoheader seems to give a warning. Even though I think this warning is unrelated to my error I will post it. I did not find any more log information in this folder. # cat /var/tmp/portage/gtk+-2.8.18/temp/autoheader-13742.out ***** autoheader ***** autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.59: WARNING: is deprecated and discouraged. autoheader-2.59: autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader-2.59: WARNING: `acconfig.h': autoheader-2.59: autoheader-2.59: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.59: [Define if a function `main' is needed.]) autoheader-2.59: autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the autoheader-2.59: WARNING: documentation.
It appears that both /usr/share/gnuconfig/config.sub and /usr/share/gnuconfig/config.guess went missing. These are the files that libtoolize links or copies, so that they are available for automake. This disappearance is rather mysterious. I don't touch these files, except through emerge. Some ebuild must have done something to delete these files. I don't have any clue which at this point. These files seem to be owned by "sys-devel/gnuconfig", a re-emerge of gnuconfig fixed my problem. Whether this bug should be kept new and/or reassigned, so that the possible problem of some ebuild borking gnuconfig stays as a bug I'll leave to you gentoo guys. Otherwise, my problem is fixed.
local issue, marking resolved per users comments.