After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641588 - configure should honor aclocal flags ACLOCAL_FLAGS
configure should honor aclocal flags ACLOCAL_FLAGS
Status: RESOLVED OBSOLETE
Product: gnome-backgrounds
Classification: Core
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Thomas Wood
Thomas Wood
Depends on:
Blocks: 641445
 
 
Reported: 2011-02-05 07:15 UTC by Craig Keogh
Modified: 2014-03-13 14:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Honor aclocal flags (542 bytes, patch)
2011-02-05 07:16 UTC, Craig Keogh
none Details | Review

Description Craig Keogh 2011-02-05 07:15:19 UTC
I'm building gnome-backgrounds via JHBuild. gnome-backgrounds builds
successfully. If upstream then updates configure.ac, 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/gnome-backgrounds/missing --run aclocal-1.11 
configure.ac:19: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
configure.ac:1: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/browse.cgi?product=gnome-backgrounds
 cd . && /bin/sh /home/Oxyde/gnome/gnome-backgrounds/missing --run automake-1.11 --gnu
configure.ac:1: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/browse.cgi?product=gnome-backgrounds
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/Oxyde/gnome/gnome-backgrounds/missing --run autoconf
configure.ac:1: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/browse.cgi?product=gnome-backgrounds
configure.ac:19: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
make: *** [configure] Error 1
Comment 1 Craig Keogh 2011-02-05 07:16:43 UTC
Created attachment 180160 [details] [review]
Honor aclocal flags
Comment 2 Allison Karlitskaya (desrt) 2014-03-13 14:18:57 UTC
jhbuild sets ACLOCAL_PATH for some time now, so no additional effort is
required here.