GNOME Bugzilla – Bug 641650
configure should honor aclocal flags ACLOCAL_FLAGS
Last modified: 2011-10-21 06:48:39 UTC
I'm building brasero via JHBuild. brasero builds successfully. If upstream then updates configure.in, then I run 'make', which attempts a reconfigure, but fails. This is because JHBuild sets ACLOCAL_FLAGS to include the sandbox (e.g. -I /opt/gnome/share/aclocal). One may argue it is silly for JHBuild to require every module to support ACLOCAL_FLAGS, but there isn't a way around it until automake-1.12 is out - which includes support for ACLOCAL_PATH. Further details in the JHBuild bug 634617. The build failure is: make V=1 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/Oxyde/gnome/brasero/missing --run aclocal-1.11 configure.in:286: warning: macro `AM_GLIB_DEFINE_LOCALEDIR' not found in library configure.in:584: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library cd . && /bin/sh /home/Oxyde/gnome/brasero/missing --run automake-1.11 --foreign gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL docs/reference/libbrasero-burn/Makefile.am:120: `gtk-doc.make' included from here gtk-doc.make:51: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL docs/reference/libbrasero-burn/Makefile.am:120: `gtk-doc.make' included from here gtk-doc.make:52: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL docs/reference/libbrasero-burn/Makefile.am:120: `gtk-doc.make' included from here gtk-doc.make:57: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL docs/reference/libbrasero-burn/Makefile.am:120: `gtk-doc.make' included from here gtk-doc.make:226: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL docs/reference/libbrasero-burn/Makefile.am:120: `gtk-doc.make' included from here gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL docs/reference/libbrasero-media/Makefile.am:117: `gtk-doc.make' included from here gtk-doc.make:51: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL docs/reference/libbrasero-media/Makefile.am:117: `gtk-doc.make' included from here gtk-doc.make:52: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL docs/reference/libbrasero-media/Makefile.am:117: `gtk-doc.make' included from here gtk-doc.make:57: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL docs/reference/libbrasero-media/Makefile.am:117: `gtk-doc.make' included from here gtk-doc.make:226: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL docs/reference/libbrasero-media/Makefile.am:117: `gtk-doc.make' included from here gnome-doc-utils.make:63: HAVE_GNOME_DOC_UTILS does not appear in AM_CONDITIONAL help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:143: ENABLE_SK does not appear in AM_CONDITIONAL help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:192: ENABLE_SK does not appear in AM_CONDITIONAL help/Makefile.am:1: `gnome-doc-utils.make' included from here make: *** [Makefile.in] Error 1
Created attachment 180210 [details] [review] Honor aclocal flags
I can reproduce this bug but i think we should wait for automake 1.12 to fix this issue... this isn't that related to brasero.
Approximately 79 GNOME modules have this same fix. It is very low risk. The fix prevents new developers saying 'What is going brasero? It built fine before, now it suddenly stops'
Comment on attachment 180210 [details] [review] Honor aclocal flags Pushed a modified patch, with a comment that this workaround can be removed when Automake 1.12 is released, to master as commit 1f6c224d4d13b13e13b40781bd4b1d09495a16a2.