It appears there may be some significant problems with autoconf preparing the Makefiles for various packages. This causes ebuilds for rpm, lablgtk and evince to fail. It appears that this may be due to changes that have made autoconf and/or automake "stricter" with regard to the syntax of various .m4 files in /usr/share/aclocal. Red Hat seems to know about this and has documented it in: http://sources.redhat.com/automake/automake.html#Extending-aclocal For example, rpm failed to properly configure until "oaf.m4" and "progsreiserfs.m4" were removed from /usr/share/aclocal. The lablgtk ebuild/configure seems to have even more problems as complaints seem to arise with ao.m4, gconf-1.m4, gsl.m4, gtkextra.m4, gtkglextmm-1.0.m4, libglade.m4, libguppi.m4, nspr.m4, oaf.m4, pstoedit.m4 and pth.m4 (all in /usr/share/aclocal). The evince errors may or may not be the same problem, but they seem to involve many of the automake (.am) files in the evince source tree. The errors are of the form: backend/tiff/Makefile.am:26: `%'-style pattern rules are a GNU make extension backend/tiff/Makefile.am:26: wildcard $(top_srcdir: non-POSIX variable name backend/tiff/Makefile.am:26: (probably a GNU make extension) On my system, autoconf -v -- yields autoconf-2.61, installed Aug 23, 2007 automake -v -- yields automake-1.10, installed Jan 2, 2007 Reproducible: Always Steps to Reproduce: 1. Try emerging rpm, lablgtk or evince Actual Results: Emerge fails, sometimes with errors of the form: * Messages for package app-text/evince-2.22.0: * Failed Running automake ! * * Include in your bugreport the contents of: * * /root2/var/tmp/portage/app-text/evince-2.22.0/temp/automake-29875.out * * ERROR: app-text/evince-2.22.0 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2836: Called eautoreconf * environment, line 921: Called eautomake * environment, line 895: Called autotools_run_tool 'src_unpack' 'src_unpack' 'automake' * environment, line 415: Called die * The specific snippet of code: * die "Failed Running $1 !"; Expected Results: Emerge should work, and does work with many packages and libraries. This is a problem which appears to be specific to how these packages are configured. Contents of automake-29875.out are: ***** automake ***** ***** automake --add-missing --copy backend/comics/Makefile.am:26: `%'-style pattern rules are a GNU make extension backend/comics/Makefile.am:26: wildcard $(top_srcdir: non-POSIX variable name backend/comics/Makefile.am:26: (probably a GNU make extension) backend/djvu/Makefile.am:34: `%'-style pattern rules are a GNU make extension backend/djvu/Makefile.am:34: wildcard $(top_srcdir: non-POSIX variable name backend/djvu/Makefile.am:34: (probably a GNU make extension) backend/dvi/Makefile.am:37: `%'-style pattern rules are a GNU make extension backend/dvi/Makefile.am:37: wildcard $(top_srcdir: non-POSIX variable name backend/dvi/Makefile.am:37: (probably a GNU make extension) backend/impress/Makefile.am:51: `%'-style pattern rules are a GNU make extension backend/impress/Makefile.am:51: wildcard $(top_srcdir: non-POSIX variable name backend/impress/Makefile.am:51: (probably a GNU make extension) backend/pdf/Makefile.am:28: `%'-style pattern rules are a GNU make extension backend/pdf/Makefile.am:28: wildcard $(top_srcdir: non-POSIX variable name backend/pdf/Makefile.am:28: (probably a GNU make extension) backend/pixbuf/Makefile.am:24: `%'-style pattern rules are a GNU make extension backend/pixbuf/Makefile.am:24: wildcard $(top_srcdir: non-POSIX variable name backend/pixbuf/Makefile.am:24: (probably a GNU make extension) backend/ps/Makefile.am:47: `%'-style pattern rules are a GNU make extension backend/ps/Makefile.am:47: wildcard $(top_srcdir: non-POSIX variable name backend/ps/Makefile.am:47: (probably a GNU make extension) backend/tiff/Makefile.am:26: `%'-style pattern rules are a GNU make extension backend/tiff/Makefile.am:26: wildcard $(top_srcdir: non-POSIX variable name backend/tiff/Makefile.am:26: (probably a GNU make extension) gnome-doc-utils.make:74: if $(DOC_H_FILE: non-POSIX variable name gnome-doc-utils.make:74: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:77: if $(DOC_H_FILE: non-POSIX variable name gnome-doc-utils.make:77: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:110: if $(DOC_USER_FORMATS: non-POSIX variable name gnome-doc-utils.make:110: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:115: if $(filter environment,$(origin LINGUAS: non-POSIX variable name gnome-doc-utils.make:115: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:115: filter $(LINGUAS: non-POSIX variable name gnome-doc-utils.make:115: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:144: shell xmllint --format $(2: non-POSIX variable name gnome-doc-utils.make:144: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:144: notdir $(patsubst %/$(notdir $(2: non-POSIX variable name gnome-doc-utils.make:144: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:144: if $(_ENABLE_SK: non-POSIX variable name gnome-doc-utils.make:144: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:160: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:160: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:160: wildcard $(_DOC_ABS_SRCDIR: non-POSIX variable name gnome-doc-utils.make:160: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:164: if $(_DOC_OMF_IN: non-POSIX variable name gnome-doc-utils.make:164: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:164: foreach lc,C $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:164: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:173: call db2omf_args,$@,$<,'docbook': non-POSIX variable name gnome-doc-utils.make:173: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:177: if $(_DOC_OMF_IN: non-POSIX variable name gnome-doc-utils.make:177: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:177: foreach lc,C $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:177: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:188: call db2omf_args,$@,$<,'xhtml': non-POSIX variable name gnome-doc-utils.make:188: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:193: if $(filter docbook,$(_DOC_REAL_FORMATS: non-POSIX variable name gnome-doc-utils.make:193: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:193: if $(filter html HTML,$(_DOC_REAL_FORMATS: non-POSIX variable name gnome-doc-utils.make:193: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:206: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:206: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:210: foreach ent,$(DOC_ENTITIES: non-POSIX variable name gnome-doc-utils.make:210: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:214: foreach inc,$(DOC_INCLUDES: non-POSIX variable name gnome-doc-utils.make:214: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:230: if $(DOC_FIGURES: non-POSIX variable name gnome-doc-utils.make:230: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:230: foreach fig,$(DOC_FIGURES: non-POSIX variable name gnome-doc-utils.make:230: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:230: patsubst $(srcdir: non-POSIX variable name gnome-doc-utils.make:230: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:230: wildcard $(srcdir: non-POSIX variable name gnome-doc-utils.make:230: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:237: foreach f, \ gnome-doc-utils.make:237: $(shell xsltproc --xinclude \ gnome-doc-utils.make:237: --stringparam db.chunk.basename "$(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:237: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:248: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:248: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:248: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:248: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:256: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:256: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:256: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:256: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:261: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:261: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:261: foreach inc,$(_DOC_C_INCLUDES: non-POSIX variable name gnome-doc-utils.make:261: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:261: notdir $(inc: non-POSIX variable name gnome-doc-utils.make:261: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:268: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:268: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:268: foreach doc,$(_DOC_C_HTML: non-POSIX variable name gnome-doc-utils.make:268: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:268: notdir $(doc: non-POSIX variable name gnome-doc-utils.make:268: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:274: if $(filter html HTML,$(_DOC_REAL_FORMATS: non-POSIX variable name gnome-doc-utils.make:274: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:280: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:280: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:280: patsubst C/%,$(lc: non-POSIX variable name gnome-doc-utils.make:280: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:283: foreach fig,$(_DOC_C_FIGURES: non-POSIX variable name gnome-doc-utils.make:283: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:283: foreach lc,C $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:283: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:283: wildcard $(srcdir: non-POSIX variable name gnome-doc-utils.make:283: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:283: patsubst C/%,%,$(fig: non-POSIX variable name gnome-doc-utils.make:283: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:288: dir $@: non-POSIX variable name gnome-doc-utils.make:288: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:318: dir $@: non-POSIX variable name gnome-doc-utils.make:318: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:319: notdir $@: non-POSIX variable name gnome-doc-utils.make:319: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:328: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:328: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:340: if $(filter html HTML,$(_DOC_REAL_FORMATS: non-POSIX variable name gnome-doc-utils.make:340: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:343: foreach lc,C $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:343: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:346: patsubst %.xhtml,%.xml,$@: non-POSIX variable name gnome-doc-utils.make:346: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:385: if $(_DOC_OMF_IN: non-POSIX variable name gnome-doc-utils.make:385: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:386: if $(_DOC_DSK_IN: non-POSIX variable name gnome-doc-utils.make:386: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:387: if $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:387: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:388: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:388: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gnome-doc-utils.make:505: patsubst C/%,%,$(_DOC_C_FIGURES: non-POSIX variable name gnome-doc-utils.make:505: (probably a GNU make extension) help/Makefile.am:3: `gnome-doc-utils.make' included from here gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL help/reference/Makefile.am:116: `gtk-doc.make' included from here gtk-doc.make:43: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL help/reference/Makefile.am:116: `gtk-doc.make' included from here gtk-doc.make:136: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL help/reference/Makefile.am:116: `gtk-doc.make' included from here help/reference/Makefile.am:92: filter-out ../../shell/main.o,$(wildcard ../../shell/*.o: non-POSIX variable name help/reference/Makefile.am:92: (probably a GNU make extension)
that URL is just the homepage of automake ... it isnt redhat specific what you've shown are warnings, not errors evince unpacks fine for me ... are you sure the log you posted (which should be as an attachment, not inlined) is the one from the failure ?
Created attachment 148968 [details] build log I'm also having trouble emerging Evince 2.22.0, dies at automake stage: * Running automake --add-missing --copy ... [ !! ] * Failed Running automake ! * * Include in your bugreport the contents of: * * /var/tmp/portage/app-text/evince-2.22.0/temp/automake-25419.out * * ERROR: app-text/evince-2.22.0 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2799: Called eautoreconf * environment, line 884: Called eautomake * environment, line 858: Called autotools_run_tool 'src_unpack' 'src_unpack' 'automake' * environment, line 378: Called die * The specific snippet of code: * die "Failed Running $1 !"; * The die message: * Failed Running automake ! *
Created attachment 148969 [details] automake-*.out
Created attachment 148970 [details] emerge --info Nearly forgot ;-)
Created attachment 149005 [details] Logfile of example of failed aclocal. Attached is a trace of the failure of aclocal. Currently, I cannot reproduce this problem, after returning "oaf.m4" and "progsreiserfs.m4" to /usr/share/aclocal. It was the contents of: /root2/var/tmp/portage/app-arch/rpm-4.4.6-r3/temp/aclocal-22235.out that lead me to the conclusion that there were old ".m4" files that needed to be removed. The RedHat automake documentation, section 6.3.3 is what lead me to think that the ".m4" files contained underquoted definitions. But I am far from an expert on m4. The only thing I can think right now is that there may have been some inconsistancy between the ebuilds and the package upgrade sources because rpm seem to build correctly both with and without the troublesome .m4 files.
none of the logs you posted include underquoted warnings. also, what package does this "oaf.m4" file come from ? lets focus on one package at a time, presumably the ones that are still failing. if rpm is now working, ignore it. if evince is currently failing, we'll investigate that. go into the build directory and run automake by hand: automake --add-missing --copy echo $?