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 641651 - configure should honor aclocal flags ACLOCAL_FLAGS
configure should honor aclocal flags ACLOCAL_FLAGS
Status: RESOLVED NOTABUG
Product: empathy
Classification: Core
Component: General
2.91.x
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks: 641445
 
 
Reported: 2011-02-06 06:52 UTC by Craig Keogh
Modified: 2011-02-07 10:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Honor aclocal flags (594 bytes, patch)
2011-02-06 06:54 UTC, Craig Keogh
none Details | Review

Description Craig Keogh 2011-02-06 06:52:41 UTC
I'm building empathy via JHBuild. empathy 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/empathy/missing --run aclocal-1.11 -I m4
configure.ac:84: warning: macro `AM_PATH_GLIB_2_0' not found in library
configure.ac:202: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
configure.ac:22: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/browse.cgi?product=empathy
 cd . && /bin/sh /home/Oxyde/gnome/empathy/missing --run automake-1.11 --gnu
configure.ac:22: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/browse.cgi?product=empathy
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/Oxyde/gnome/empathy/missing --run autoconf
configure.ac:22: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/browse.cgi?product=empathy
configure.ac:84: error: possibly undefined macro: AM_PATH_GLIB_2_0
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:202: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
make: *** [configure] Error 1
Comment 1 Craig Keogh 2011-02-06 06:54:19 UTC
Created attachment 180211 [details] [review]
Honor aclocal flags
Comment 2 Frederic Peters 2011-02-07 09:38:40 UTC
Like Ryan wrote in bug 634617 I think the solution is to wait for automake 1.12, not to go and patch every GNOME modules.
Comment 3 Guillaume Desmottes 2011-02-07 10:02:16 UTC
Agreed; let's fix this properly.
Comment 4 Craig Keogh 2011-02-07 10:10:08 UTC
(In reply to comment #2)
> Like Ryan wrote in bug 634617 I think the solution is to wait for automake
> 1.12, not to go and patch every GNOME modules.

Yes, automake 1.12 is the way to go but... I think this is an unobtrusive patch that solves an annoying problem in JHBuild. One day JHBuild works fine, the next day it does not - and this frustrated me. The above error provided little clues to the problem and I was glad when I finally tracked the problem down. It took me a long time to solve. I want JHBuild to work first time, every time and helps towards my goal.