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 348354 - failure in bison version detection breaks build
failure in bison version detection breaks build
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-22 18:36 UTC by Frederic Peters
Modified: 2006-07-24 12:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frederic Peters 2006-07-22 18:36:44 UTC
See http://jhbuild.bxlug.be/builds/2006-07-21-0005/logs/gstreamer/#configure

Debian Sarge bison version is labelled '1.875d', the trailing 'd' makes the new
bison version check die.

A possible fix is to add `| tr -d '[:alpha:]` (common/m4/gst-parser.m4, line 12).
Comment 1 Elijah Newren 2006-07-23 02:01:57 UTC
Same bug here, except that the version I have is '1.875c' (on RHEL4).
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2006-07-23 09:31:02 UTC
2006-07-23  Stefan Kost  <ensonic@users.sf.net>

        Patch by: Frederic Peters <fpeters@entrouvert.com>

        * m4/gst-parser.m4:
          Fix bison detection (#348354)
Comment 3 Frederic Peters 2006-07-23 21:53:41 UTC
Oops, sorry about the wrong comment, brackets need to be doubled in M4 files,

bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^.*) //' | tr -d '[[:alpha:]]' | cut -d' ' -f1`
Comment 4 Tim-Philipp Müller 2006-07-24 12:12:26 UTC
Thanks, committed:

 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>

        Patch by: Frederic Peters <fpeters at entrouvert com>

        * m4/gst-parser.m4:
          Need to double square brackets in .m4 files. Should fix bison
          version detection with version numbers like 1.23a (#348354).