Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530984 - =media-video/totem-3.12.2 failed: Failed Running aclocal
Summary: =media-video/totem-3.12.2 failed: Failed Running aclocal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 531870 (view as bug list)
Depends on:
Blocks: gnome-3.14
  Show dependency tree
 
Reported: 2014-11-28 12:49 UTC by Vladimir B. Vinogradov
Modified: 2014-12-07 12:03 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge.info.txt,5.35 KB, text/plain)
2014-11-28 12:49 UTC, Vladimir B. Vinogradov
Details
appstream-glib-0.3.2-totem.patch (appstream-glib-0.3.2-totem.patch,1.37 KB, patch)
2014-12-01 06:37 UTC, Vladimir B. Vinogradov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir B. Vinogradov 2014-11-28 12:49:06 UTC
Created attachment 390492 [details]
emerge --info

I can't reemerge media-video/totem

* Package:    media-video/totem-3.12.2
 * Repository: gentoo
 * Maintainer: gnome@gentoo.org media-video@gentoo.org,gstreamer@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc introspection kernel_linux nautilus nsplugin python python_targets_python2_7 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking totem-3.12.2.tar.xz to /var/tmp/portage/media-video/totem-3.12.2/work
>>> Source unpacked in /var/tmp/portage/media-video/totem-3.12.2/work
>>> Preparing source in /var/tmp/portage/media-video/totem-3.12.2/work/totem-3.12.2 ...
 * Running eautoreconf in '/var/tmp/portage/media-video/totem-3.12.2/work/totem-3.12.2' ...
 * Running intltoolize --automake --copy --force ...
 [ ok ]
 * Running gtkdocize --copy ...
 [ ok ]
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 -I libgd ...
 [ !! ]

 * Failed Running aclocal !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/media-video/totem-3.12.2/temp/aclocal.out

 * ERROR: media-video/totem-3.12.2::gentoo failed (prepare phase):
 *   Failed Running aclocal !
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 4014:  Called eautoreconf
 *   environment, line 1081:  Called eaclocal
 *   environment, line  976:  Called autotools_run_tool '--at-m4flags' 'aclocal' '-I' 'm4' '-I' 'libgd'
 *   environment, line  837:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *
 * If you need support, post the output of `emerge --info '=media-video/totem-3.12.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/totem-3.12.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/totem-3.12.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/totem-3.12.2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/totem-3.12.2/work/totem-3.12.2'
 * S: '/var/tmp/portage/media-video/totem-3.12.2/work/totem-3.12.2'

The same error with all portage versions of totem.
Comment 1 Pacho Ramos gentoo-dev 2014-11-28 12:53:29 UTC
Provide /var/tmp/portage/media-video/totem-3.12.2/temp/aclocal.out please
Comment 2 Vladimir B. Vinogradov 2014-11-28 13:08:41 UTC
(In reply to Pacho Ramos from comment #1)
> Provide /var/tmp/portage/media-video/totem-3.12.2/temp/aclocal.out please

/var/tmp/portage/media-video/totem-3.12.2/temp/aclocal.out

***** aclocal *****
***** PWD: /var/tmp/portage/media-video/totem-3.12.2/work/totem-3.12.2
***** aclocal -I m4 -I libgd

sh: line 1: 12754 Killed                  /usr/bin/m4 --nesting-limit=1024 --gnu --include=/usr/share/autoconf-2.69 --debug=aflq --fatal-warning --debugfile=autom4te.cache/traces.1t --trace=AC_CHECK_LIBM --trace=AC_CONFIG_MACRO_DIR --trace=AC_CONFIG_MACRO_DIR_TRACE --trace=AC_DEFUN --trace=AC_DEFUN_ONCE --trace=AC_DEPLIBS_CHECK_METHOD --trace=AC_DISABLE_FAST_INSTALL --trace=AC_DISABLE_SHARED --trace=AC_DISABLE_STATIC --trace=AC_ENABLE_FAST_INSTALL --trace=AC_ENABLE_SHARED --trace=AC_ENABLE_STATIC --trace=AC_LIBLTDL_CONVENIENCE --trace=AC_LIBLTDL_INSTALLABLE --trace=AC_LIBTOOL_COMPILER_OPTION --trace=AC_LIBTOOL_CONFIG --trace=AC_LIBTOOL_CXX --trace=AC_LIBTOOL_DLOPEN --trace=AC_LIBTOOL_DLOPEN_SELF --trace=AC_LIBTOOL_F77 --trace=AC_LIBTOOL_FC --trace=AC_LIBTOOL_GCJ --trace=AC_LIBTOOL_LANG_CXX_CONFIG --trace=AC_LIBTOOL_LANG_C_CONFIG --trace=AC_LIBTOOL_LANG_F77_CONFIG --trace=AC_LIBTOOL_LANG_GCJ_CONFIG --trace=AC_LIBTOOL_LANG_RC_CONFIG --trace=AC_LIBTOOL_LINKER_OPTION --trace=AC_LIBTOOL_OBJDIR --trace=AC_LIBTOOL_PICMODE --trace=AC_LIBTOOL_POSTDEP_PREDEP --trace=AC_LIBTOOL_PROG_CC_C_O --trace=AC_LIBTOOL_PROG_COMPILER_NO_RTTI --trace=AC_LIBTOOL_PROG_COMPILER_PIC --trace=AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH --trace=AC_LIBTOOL_PROG_LD_SHLIBS --trace=AC_LIBTOOL_RC --trace=AC_LIBTOOL_SETUP --trace=AC_LIBTOOL_SYS_DYNAMIC_LINKER --trace=AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE --trace=AC_LIBTOOL_SYS_HARD_LINK_LOCKS --trace=AC_LIBTOOL_SYS_LIB_STRIP --trace=AC_LIBTOOL_SYS_MAX_CMD_LEN --trace=AC_LIBTOOL_SYS_OLD_ARCHIVE --trace=AC_LIBTOOL_WIN32_DLL --trace=AC_LIB_LTDL --trace=AC_LTDL_DLLIB --trace=AC_LTDL_DLSYM_USCORE --trace=AC_LTDL_ENABLE_INSTALL --trace=AC_LTDL_OBJDIR --trace=AC_LTDL_PREOPEN --trace=AC_LTDL_SHLIBEXT --trace=AC_LTDL_SHLIBPATH --trace=AC_LTDL_SYMBOL_USCORE --trace=AC_LTDL_SYSSEARCHPATH --trace=AC_LTDL_SYS_DLOPEN_DEPLIBS --trace=AC_PATH_MAGIC --trace=AC_PATH_TOOL_PREFIX --trace=AC_PROG_EGREP --trace=AC_PROG_INTLTOOL --trace=AC_PROG_LD --trace=AC_PROG_LD_GNU --trace=AC_PROG_LD_RELOAD_FLAG --trace=AC_PROG_LIBTOOL --trace=AC_PROG_NM --trace=AC_WITH_LTDL --trace=AM_AUTOMAKE_VERSION --trace=AM_AUX_DIR_EXPAND --trace=AM_CONDITIONAL --trace=AM_DEP_TRACK --trace=AM_DISABLE_SHARED --trace=AM_DISABLE_STATIC --trace=AM_ENABLE_SHARED --trace=AM_ENABLE_STATIC --trace=AM_INIT_AUTOMAKE --trace=AM_MAINTAINER_MODE --trace=AM_MAKE_INCLUDE --trace=AM_MISSING_HAS_RUN --trace=AM_MISSING_PROG --trace=AM_NLS --trace=AM_OUTPUT_DEPENDENCY_COMMANDS --trace=AM_PATH_GLIB_2_0 --trace=AM_PATH_PYTHON --trace=AM_PROG_CC_C_O --trace=AM_PROG_INSTALL_SH --trace=AM_PROG_INSTALL_STRIP --trace=AM_PROG_LD --trace=AM_PROG_LIBTOOL --trace=AM_PROG_NM --trace=AM_PROG_VALAC --trace=AM_PYTHON_CHECK_VERSION --trace=AM_RUN_LOG --trace=AM_SANITY_CHECK --trace=AM_SET_CURRENT_AUTOMAKE_VERSION --trace=AM_SET_DEPDIR --trace=AM_SET_LEADING_DOT --trace=AM_SILENT_RULES --trace=AM_SUBST_NOTMAKE --trace=APPDATA_XML --trace=APPSTREAM_XML --trace=AU_DEFUN --trace=GLIB_GSETTINGS --trace=GNOME_COMMON_INIT --trace=GNOME_COMPILE_WARNINGS --trace=GNOME_CXX_WARNINGS --trace=GNOME_DEBUG_CHECK --trace=GNOME_MAINTAINER_MODE_DEFINES --trace=GOBJECT_INTROSPECTION_CHECK --trace=GOBJECT_INTROSPECTION_REQUIRE --trace=GTK_DOC_CHECK --trace=IT_PO_SUBDIR --trace=IT_PROG_INTLTOOL --trace=LIBGD_INIT --trace=LTDL_CONVENIENCE --trace=LTDL_INIT --trace=LTDL_INSTALLABLE --trace=LTOBSOLETE_VERSION --trace=LTOPTIONS_VERSION --trace=LTSUGAR_VERSION --trace=LTVERSION_VERSION --trace=LT_AC_PROG_EGREP --trace=LT_AC_PROG_GCJ --trace=LT_AC_PROG_RC --trace=LT_AC_PROG_SED --trace=LT_CMD_MAX_LEN --trace=LT_CONFIG_LTDL_DIR --trace=LT_FUNC_DLSYM_USCORE --trace=LT_INIT --trace=LT_LANG --trace=LT_LIB_DLLOAD --trace=LT_LIB_M --trace=LT_OUTPUT --trace=LT_PATH_LD --trace=LT_PATH_NM --trace=LT_PROG_GCJ --trace=LT_PROG_GO --trace=LT_PROG_RC --trace=LT_SUPPORTED_TAG --trace=LT_SYS_DLOPEN_DEPLIBS --trace=LT_SYS_DLOPEN_SELF --trace=LT_SYS_DLSEARCH_PATH --trace=LT_SYS_MODULE_EXT --trace=LT_SYS_MODULE_PATH --trace=LT_SYS_SYMBOL_USCORE --trace=LT_WITH_LTDL --trace=PKG_CHECK_EXISTS --trace=PKG_CHECK_MODULES --trace=PKG_CHECK_VAR --trace=PKG_INSTALLDIR --trace=PKG_NOARCH_INSTALLDIR --trace=PKG_PROG_PKG_CONFIG --trace=TOTEM_FULLPATH --trace=YELP_HELP_INIT --trace=_AC_AM_CONFIG_HEADER_HOOK --trace=_AC_PROG_LIBTOOL --trace=_AM_AUTOCONF_VERSION --trace=_AM_CONFIG_MACRO_DIRS --trace=_AM_DEPENDENCIES --trace=_AM_IF_OPTION --trace=_AM_MANGLE_OPTION --trace=_AM_OUTPUT_DEPENDENCY_COMMANDS --trace=_AM_PROG_CC_C_O --trace=_AM_PROG_TAR --trace=_AM_SET_OPTION --trace=_AM_SET_OPTIONS --trace=_AM_SUBST_NOTMAKE --trace=_APPDATA_XML_SUBST --trace=_APPSTREAM_XML_SUBST --trace=_GSETTINGS_SUBST --trace=_IT_SUBST --trace=_LIBGD_IF_OPTION_SET --trace=_LIBGD_MANGLE_OPTION --trace=_LIBGD_SET_OPTION --trace=_LIBGD_SET_OPTIONS --trace=_LTDL_SETUP --trace=_LT_AC_CHECK_DLFCN --trace=_LT_AC_FILE_LTDLL_C --trace=_LT_AC_LANG_CXX --trace=_LT_AC_LANG_CXX_CONFIG --trace=_LT_AC_LANG_C_CONFIG --trace=_LT_AC_LANG_F77 --trace=_LT_AC_LANG_F77_CONFIG --trace=_LT_AC_LANG_GCJ --trace=_LT_AC_LANG_GCJ_CONFIG --trace=_LT_AC_LANG_RC_CONFIG --trace=_LT_AC_LOCK --trace=_LT_AC_PROG_CXXCPP --trace=_LT_AC_PROG_ECHO_BACKSLASH --trace=_LT_AC_SHELL_INIT --trace=_LT_AC_SYS_COMPILER --trace=_LT_AC_SYS_LIBPATH_AIX --trace=_LT_AC_TAGCONFIG --trace=_LT_AC_TAGVAR --trace=_LT_AC_TRY_DLOPEN_SELF --trace=_LT_CC_BASENAME --trace=_LT_COMPILER_BOILERPLATE --trace=_LT_COMPILER_OPTION --trace=_LT_DLL_DEF_P --trace=_LT_LIBOBJ --trace=_LT_LINKER_BOILERPLATE --trace=_LT_LINKER_OPTION --trace=_LT_PATH_TOOL_PREFIX --trace=_LT_PREPARE_SED_QUOTE_VARS --trace=_LT_PROG_CXX --trace=_LT_PROG_ECHO_BACKSLASH --trace=_LT_PROG_F77 --trace=_LT_PROG_FC --trace=_LT_PROG_LTMAIN --trace=_LT_REQUIRED_DARWIN_CHECKS --trace=_LT_WITH_SYSROOT --trace=_PKG_SHORT_ERRORS_SUPPORTED --trace=_m4_warn --trace=gl_FUNC_ARGZ --trace=gl_PREREQ_ARGZ --trace=include --trace=m4_include --trace=m4_pattern_allow --trace=m4_pattern_forbid --reload-state=/usr/share/autoconf-2.69/autoconf/autoconf.m4f --undefine=__m4_version__ - /usr/share/aclocal-1.14/internal/ac-config-macro-dirs.m4 /usr/share/aclocal/appdata-xml.m4 /usr/share/aclocal/appstream-xml.m4 /usr/share/aclocal/argz.m4 /usr/share/aclocal/glib-2.0.m4 /usr/share/aclocal/gnome-common.m4 /usr/share/aclocal/gnome-compiler-flags.m4 /usr/share/aclocal/gsettings.m4 /usr/share/aclocal/introspection.m4 /usr/share/aclocal/ltdl.m4 /usr/share/aclocal/nls.m4 /usr/share/aclocal/pkg.m4 /usr/share/aclocal/yelp.m4 /usr/share/aclocal-1.14/amversion.m4 /usr/share/aclocal-1.14/auxdir.m4 /usr/share/aclocal-1.14/cond.m4 /usr/share/aclocal-1.14/depend.m4 /usr/share/aclocal-1.14/depout.m4 /usr/share/aclocal-1.14/init.m4 /usr/share/aclocal-1.14/install-sh.m4 /usr/share/aclocal-1.14/lead-dot.m4 /usr/share/aclocal-1.14/maintainer.m4 /usr/share/aclocal-1.14/make.m4 /usr/share/aclocal-1.14/missing.m4 /usr/share/aclocal-1.14/options.m4 /usr/share/aclocal-1.14/prog-cc-c-o.m4 /usr/share/aclocal-1.14/python.m4 /usr/share/aclocal-1.14/runlog.m4 /usr/share/aclocal-1.14/sanity.m4 /usr/share/aclocal-1.14/silent.m4 /usr/share/aclocal-1.14/strip.m4 /usr/share/aclocal-1.14/substnot.m4 /usr/share/aclocal-1.14/tar.m4 /usr/share/aclocal-1.14/vala.m4 libgd/libgd.m4 m4/gtk-doc.m4 m4/intltool.m4 m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 'm4/lt~obsolete.m4' configure.ac > autom4te.cache/output.1t
autom4te-2.69: /usr/bin/m4 failed with exit status: 137
aclocal-1.14: error: echo failed with exit status: 137
Comment 3 Vladimir B. Vinogradov 2014-11-28 13:38:41 UTC
(In reply to Pacho Ramos from comment #1)
> Provide /var/tmp/portage/media-video/totem-3.12.2/temp/aclocal.out please

If this will help:

Error appears only after emerge command completely fully loaded my memory including swap. Computer freezes for about 30 seconds and error appears after emerge failed. Maybe the reason is not in aclocal. I re-emerged @world with this versions of GCC, glibc and binutils. This error is only with totem package. Maybe this is specific aclocal bug. I've tested emergeing totem without X-Gnome. The result is the same.
Comment 4 Fernando Cunha 2014-11-29 21:03:38 UTC
very same happens with me - 24Gb gone in a few minutes...
Comment 5 Alexander Tsoy 2014-11-29 22:11:50 UTC
Is there something interesting in the strace of that process which "eats" all memory? And what's happening with aclocal.m4?
Comment 6 Alexander Tsoy 2014-11-29 22:33:22 UTC
Well, I successfuly reproduced this bug after updating the following packages:

vm3020 ~ # cat /etc/portage/package.accept_keywords/test-totem 
dev-util/appdata-tools ~amd64
=dev-util/gtk-doc-1.21 ~amd64
=dev-util/gtk-doc-am-1.21 ~amd64
=dev-libs/appstream-glib-0.3.2 ~amd64
Comment 7 Alexander Tsoy 2014-11-29 22:50:29 UTC
appdata-xml.m4 from appstream-glib causes infinite loop in m4:

vm3020 totem-3.12.2 # tail -n10 autom4te.cache/traces.1t 
m4trace:configure.ac:600: -1- APPDATA_XML
m4trace:configure.ac:600: -1- m4_pattern_allow([AM_V_GEN])
m4trace:configure.ac:600: -1- APPDATA_XML
m4trace:configure.ac:600: -1- m4_pattern_allow([AM_V_GEN])
m4trace:configure.ac:600: -1- APPDATA_XML
m4trace:configure.ac:600: -1- m4_pattern_allow([AM_V_GEN])
m4trace:configure.ac:600: -1- APPDATA_XML
m4trace:configure.ac:600: -1- m4_pattern_allow([AM_V_GEN])
m4trace:configure.ac:600: -1- APPDATA_XML
m4trace:c


Probably APPDATA_XML is not properly quoted and causes recursion. The following workaround fixes the issue:

vm3020 ~ # diff -u /usr/share/aclocal/appdata-xml.m4{.orig,}--- /usr/share/aclocal/appdata-xml.m4.orig	2014-11-30 01:28:18.583335010 +0300
+++ /usr/share/aclocal/appdata-xml.m4	2014-11-30 01:46:53.466267141 +0300
@@ -22,9 +22,6 @@
                 [AS_HELP_STRING([--disable-appdata-validate],
                                 [Disable validating AppData XML files during check phase])])
 
-  # big fat warning
-  AC_MSG_WARN([APPDATA_XML is deprecated, use APPSTREAM_XML instead.])
-
   AS_IF([test "x$enable_appdata_validate" != "xno"],
         [AC_PATH_PROG([APPSTREAM_UTIL], [appstream-util])
          AS_IF([test "x$APPSTREAM_UTIL" = "x"],
Comment 8 Alexander Tsoy 2014-11-29 23:05:29 UTC
And probably the correct fix:

-  AC_MSG_WARN([APPDATA_XML is deprecated, use APPSTREAM_XML instead.])
+  AC_MSG_WARN([[APPDATA_XML] is deprecated, use [APPSTREAM_XML] instead.])
Comment 9 Alexander Tsoy 2014-11-29 23:17:33 UTC
The following upstream commit also fixes this bug:

https://github.com/hughsie/appstream-glib/commit/8c0c9ec747bc6d1e8ca232d0068018b5157fd914
Comment 10 Vladimir B. Vinogradov 2014-11-30 19:22:47 UTC
(In reply to Alexander Tsoy from comment #9)
> The following upstream commit also fixes this bug:
> 
> https://github.com/hughsie/appstream-glib/commit/
> 8c0c9ec747bc6d1e8ca232d0068018b5157fd914

This commit helped me to recompile totem. Bug fixed.
Comment 11 Vladimir B. Vinogradov 2014-12-01 06:37:52 UTC
Created attachment 390682 [details, diff]
appstream-glib-0.3.2-totem.patch
Comment 12 Alexander Tsoy 2014-12-01 06:44:52 UTC
Why you marked this bug as fixed?
Comment 13 Vladimir B. Vinogradov 2014-12-01 07:00:50 UTC
(In reply to Alexander Tsoy from comment #12)
> Why you marked this bug as fixed?

Upstream commit helped. I created patch to appstream-glib-0.3.2 and marked it as fixed.
I unmarked it for you. As I understood, when problem patched, it should be marker as "fixed". Or someone else should confirm and fix it?
Comment 14 Alexander Tsoy 2014-12-01 08:40:56 UTC
(In reply to Vladimir B. Vinogradov from comment #13)
> As I understood, when problem patched, it should be marker as "fixed".

Only after a fix is commited to the portage tree.
Comment 15 Pacho Ramos gentoo-dev 2014-12-05 12:25:52 UTC
0.3.3 version was added to the tree and it looks to fix this problem
Comment 16 Pacho Ramos gentoo-dev 2014-12-07 12:03:41 UTC
*** Bug 531870 has been marked as a duplicate of this bug. ***