GNOME Bugzilla – Bug 727253
parse: Bison generated file included in the release tarballs causes compile errors
Last modified: 2014-04-07 10:01:25 UTC
The file gstreamer/gst/parse/grammar.tab.h is included in gstreamer's release tarballs. The file is generated by bison and thus is not necessarily portable.
Furthermore, all the generated files in gstreamer/gst/parse were removed from the dist (commit 0259155e088fecf8523fd4bf946e04fd52c9c6cf), and from the tarballs, starting from release 0.7.2. Unfortunately grammar.tab.h continued to be included in the tarballs.
I discovered this when I cherry picked a number of parse-related commits to my 1.2.3 base build. I rebuilt everything and it worked just fine. Committed to our repo, and then checked it out and tried to compile on a Debian Squeeze machine, with bison 2.4.1. That however did not compile.
Deleting gstreamer/gst/parse/grammar.tab.h and having it regenerated fixed the problem.
I should mention that we import the release tarballs and commit the code to our local repository as is, generated Makfile.in's and all.
Author: Sebastian Dröge <firstname.lastname@example.org>
Date: Mon Apr 7 11:36:58 2014 +0200
parse: Don't dist the bison and flex generated headers