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 641470 - configure should honor aclocal flags ACLOCAL_FLAGS
configure should honor aclocal flags ACLOCAL_FLAGS
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other All
: Normal enhancement
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks: 641445
 
 
Reported: 2011-02-04 10:20 UTC by Craig Keogh
Modified: 2011-12-03 10:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Honor aclocal flags (577 bytes, patch)
2011-02-04 10:20 UTC, Craig Keogh
committed Details | Review

Description Craig Keogh 2011-02-04 10:20:03 UTC
I'm building libsoup via JHBuild. libsoup 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/libsoup/missing --run aclocal-1.11 -I m4
configure.ac:75: warning: macro `AM_PATH_GLIB_2_0' not found in library
configure.ac:6: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup
 cd . && /bin/sh /home/Oxyde/gnome/libsoup/missing --run automake-1.11 --foreign
configure.ac:6: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/Oxyde/gnome/libsoup/missing --run autoconf
configure.ac:6: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup
configure.ac:75: 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.
make: *** [configure] Error 1
Comment 1 Craig Keogh 2011-02-04 10:20:50 UTC
Created attachment 180056 [details] [review]
Honor aclocal flags
Comment 2 Dan Winship 2011-12-03 10:37:27 UTC
very belatedly commit. thanks for the patch, sorry for the delay