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 697874 - autoconf wrong version checking failed
autoconf wrong version checking failed
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: common
git master
Other Linux
: Normal normal
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-12 13:22 UTC by Robert Jobbagy
Modified: 2013-04-14 16:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix autoconf checking (1.05 KB, patch)
2013-04-12 14:31 UTC, Robert Jobbagy
none Details | Review

Description Robert Jobbagy 2013-04-12 13:22:17 UTC
I cloned gst-plugins-bad from git repo and I gave this failed message : 

+ running aclocal -I m4 -I common/m4 ...
configure.ac:1: error: Autoconf version 2.68 or higher is required
configure.ac:1: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: autom4te failed with exit status: 63

but earlier checked autconf and said it's ok 

checking for autoconf >= 2.62 ... found 2.63, ok.
checking for automake >= 1.11 ... found 1.11.1, ok.
checking for autopoint >= 0.17 ... found 0.17, ok.
checking for libtoolize >= 2.2.6 ... found 2.2.6b, ok.
checking for pkg-config >= 0.8.0 ... found 0.23, ok.


I attached a simple patch for this.
Comment 1 Robert Jobbagy 2013-04-12 14:31:16 UTC
Created attachment 241356 [details] [review]
fix autoconf checking
Comment 2 Tim-Philipp Müller 2013-04-14 14:40:51 UTC
Thanks for the patch.

You're quite right, this needs fixing/changing.

However, it needs to be done in all modules really, and this whole version checking in autogen.sh is a bit of a mess anyway, so I don't know if we want to keep doing that at all. I'm tempted to remove it actually.

I'm currently playing around with an update-autogen script for the common module, so we can create all modules' autogen.sh from a common template, and only have to maintain/fix autogen.sh-related things in one place.
Comment 3 Tim-Philipp Müller 2013-04-14 16:55:00 UTC
Thanks, should be fix now (once common is updated in -bad)


commit 3cb3d3cbbf794c18a6f91866c6d7fa38880c1eb8
Author: Tim-Philipp Müller <tim@centricular.net>
Date:   Sun Apr 14 17:52:52 2013 +0100

    update-common: fix case statement

commit 27365926b86b772958bedc78e446545d0ea1f2e8
Author: Tim-Philipp Müller <tim@centricular.net>
Date:   Sun Apr 14 17:17:50 2013 +0100

    update-common: generate autogen.sh from template for selected modules

commit 032846aaebb0aca75920fb40b6ffe72d957b511b
Author: Robert Jobbagy <jobbagy.robert@gmail.com>
Date:   Fri Apr 12 15:10:18 2013 +0200

    autogen.sh.in: fix autoconf version check
    
    We require 2.68 in all main modules now, don't be content
    with 2.62 here just to have autoconf error out later.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=697874

commit 6ac0583d67c23405004cf6caab1464ed8c885b99
Author: Tim-Philipp Müller <tim@centricular.net>
Date:   Sun Apr 14 16:55:48 2013 +0100

    autogen.sh.in: remove workaround for prehistoric autopoint versions

commit bd4be3e188edf8d8ca619cee608e918bda5de627
Author: Tim-Philipp Müller <tim@centricular.net>
Date:   Sun Apr 14 16:52:12 2013 +0100

    autogen.sh.in: merge some changes from gst-plugins-base
    
    But drop the feature to automatically add --disable-xyz and
    --enable-xyz arguments when calling configure based on local
    files called enable/disable. We can always add it back if
    it turns out someone is actually using that.

commit ba02609254fa685e8269b535ff1f398083ed651e
Author: Tim-Philipp Müller <tim@centricular.net>
Date:   Sun Apr 14 16:11:24 2013 +0100

    autogen.sh.in: split out core-specific default configure options

commit 9fd75dfd5de2f4573b2cfe7844fe704aae314189
Author: Tim-Philipp Müller <tim@centricular.net>
Date:   Sun Apr 14 15:37:21 2013 +0100

    autogen.sh.in: only touch .pot file if there's a po directory

commit 35495dd48fb1d2c529b712ab01d47a8ee8989af8
Author: Tim-Philipp Müller <tim@centricular.net>
Date:   Sun Apr 14 15:17:12 2013 +0100

    update-autogen: new tool to generate module autogen.sh files from a common template
    
    Maybe one day an autogen.sh consisting of just 'autoreconf' will
    be enough. Until then, let's try to at least use consistent autogen.sh
    in the different modules. This tool will hopefully help with that.
    
    The autogen.sh.in template is currently based on the autogen.sh
    from core. There are changes in other modules which should probably
    be merged into that.
    
    One bug has already been fixed: touch gstreamer-1.0.pot not -0.10.pot