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 600718 - autoconf fails with gobject-introspection
autoconf fails with gobject-introspection
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal blocker
: 0.10.29
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 600796
Blocks:
 
 
Reported: 2009-11-04 18:48 UTC by Michael Smith
Modified: 2010-04-07 18:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Log of running autogen.sh (8.04 KB, text/x-log)
2009-11-04 18:48 UTC, Michael Smith
Details

Description Michael Smith 2009-11-04 18:48:37 UTC
Created attachment 146937 [details]
Log of running autogen.sh

Running autogen.sh on gstreamer core with:
 - automake 1.9.6
 - autoconf 2.52
 - libtool 1.5.0

fails due to gobject-introspection stuff.

Replacing:
 GOBJECT_INTROSPECTION_CHECK([0.6.3])
with 
 AM_CONDITIONAL(HAVE_INTROSPECTION, false)

makes it work correctly.

I guess the introspection macros are broken in some way, and need fixing for
(probably) autoconf 2.52

A log is attached.
Comment 1 Jan Schmidt 2009-11-05 00:31:07 UTC
It looks from the log as if AS_CASE (which should expand to the shell case/esac construct) is not expanded by that version of autoconf. Unfortunately, autoconf doesn't document their manuals to tell you which versions various things were introduced in, so it's hard to know what the minimum autoconf version now is.

Fixing the gobject-introspection macro in common/m4 is probably the best thing to do.
Comment 2 Michael Smith 2009-11-05 01:58:26 UTC
From groveling through the autoconf changelog, AS_CASE wasn't introduced until 2.60.

We should replace use of it in introspection.m4 rather than increasing the build requirements needlessly.
Comment 3 Sebastian Dröge (slomo) 2009-11-05 10:07:03 UTC
Also see bug #600796
Comment 4 Tim-Philipp Müller 2010-03-27 14:04:11 UTC
We should either fix this in our local copy (which one will take precedence if there's on in common/m4 and a system installed one?), or WONTFIX/DUPLICATE it and up the requirement.

autoconf 2.60 was released on 26-Jun-2006 according to http://ftp.gnu.org/gnu/autoconf/, so it doesn't seem completely unreasonable to up the requirement to 2.60, especially given that we already require newer versions of other tools (gettext).
Comment 5 Tim-Philipp Müller 2010-04-07 18:33:11 UTC
Ok, bumped autoconf requirement to 2.60. Hopefully that's enough, otherwise it'll have to be 2.62 I guess.

Core:

commit 6ab962bd5164874296f17e282950c723f8638074
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Wed Apr 7 19:05:04 2010 +0100

    build: bump autoconf requirement to 2.60 for gobject-introspection.m4
    
    Require autoconf 2.60 (which was released in June 2006).
    
    Fixes #600718.

Base:

commit 037898a2ced56361227c7aaf81689f6e0daa7b91
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Wed Apr 7 19:07:29 2010 +0100

    build: bump autoconf requirement to 2.60 for gobject-introspection.m4
    
    Require autoconf 2.60 (which was released in June 2006).
    
    Fixes #600718.