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 727253 - parse: Bison generated file included in the release tarballs causes compile errors
parse: Bison generated file included in the release tarballs causes compile e...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 1.2.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-28 15:22 UTC by Branko Subasic
Modified: 2014-04-07 10:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Branko Subasic 2014-03-28 15:22:24 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.
Comment 1 Sebastian Dröge (slomo) 2014-04-07 09:37:43 UTC
commit 191ca95fd9eaaa6598fc4b2f1b8aeceef3331f2e
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Mon Apr 7 11:36:58 2014 +0200

    parse: Don't dist the bison and flex generated headers
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727253