GNOME Bugzilla – Bug 781155
meson.build needs to verify the bison version to be >= 2.4
Last modified: 2017-04-11 16:25:21 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.
Created attachment 349673 [details] [review] meson: Check bison and flex are recent enough
Attachment 349673 [details] pushed as 57fd614 - meson: Check bison and flex are recent enough
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)
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?
Review of attachment 349687 [details] [review]: > Meson doesn't have regexes? Nop, this is a hard design choice.