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 781155 - meson.build needs to verify the bison version to be >= 2.4
meson.build needs to verify the bison version to be >= 2.4
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-build
git master
Other Linux
: Normal normal
: 1.11.91
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-04-10 21:38 UTC by Olivier Crête
Modified: 2017-04-11 16:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
meson: Check bison and flex are recent enough (2.31 KB, patch)
2017-04-11 13:18 UTC, Thibault Saunier
committed Details | Review
patch to replace [-1] with [1] (906 bytes, patch)
2017-04-11 15:54 UTC, Olivier Crête
committed Details | Review

Description Olivier Crête 2017-04-10 21:38:23 UTC
macOS comes with bison 2.3, but we need 2.4 to build GStreamer. This is also the version required by the autoconf script.
Comment 1 Thibault Saunier 2017-04-11 13:18:24 UTC
Created attachment 349673 [details] [review]
meson: Check bison and flex are recent enough
Comment 2 Thibault Saunier 2017-04-11 14:08:57 UTC
Attachment 349673 [details] pushed as 57fd614 - meson: Check bison and flex are recent enough
Comment 3 Olivier Crête 2017-04-11 15:47:52 UTC
Apple adds an extra string in their version.

Meson encountered an error in file subprojects/gstreamer/gst/parse/meson.build, line 21, column 15:
Uncomparable version string 'Apple(flex-31)'.

$ flex --version
flex 2.5.35 Apple(flex-31)
Comment 4 Olivier Crête 2017-04-11 15:54:01 UTC
Created attachment 349687 [details] [review]
patch to replace [-1] with [1]

here is a patch that fixes it for me.

Meson doesn't have regexes?
Comment 5 Thibault Saunier 2017-04-11 16:23:46 UTC
Review of attachment 349687 [details] [review]:

> Meson doesn't have regexes?

Nop, this is a hard design choice.