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 720316 - parse: Fails to compile on CentOS due to redefinition of yyscan_t
parse: Fails to compile on CentOS due to redefinition of yyscan_t
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-12-12 11:20 UTC by Thibault Saunier
Modified: 2013-12-14 18:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
full logs (9.17 KB, application/octet-stream)
2013-12-12 11:20 UTC, Thibault Saunier
Details

Description Thibault Saunier 2013-12-12 11:20:44 UTC
Created attachment 264052 [details]
full logs

The issue is:

libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -Wno-error -I../../libs -I../.. -I../../libs -I../.. -pthread -I/home/thiblahute/cerbero/dist/linux_x86_64/include/glib-2.0 -I/home/thiblahute/cerbero/dist/linux_x86_64/lib/glib-2.0/include -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -g -DGST_DISABLE_DEPRECATED -Werror -Wall -g -O2 -m64 -Wall -g -O2 -m64 -Wno-error -fPIC -DPIC -MT libgstparse_la-grammar.tab.lo -MD -MP -MF .deps/libgstparse_la-grammar.tab.Tpo -c grammar.tab.c -o libgstparse_la-grammar.tab.o
In file included from ./grammar.y:208:
parse_lex.h:116: error: redefinition of typedef 'yyscan_t'
./grammar.y:36: note: previous declaration of 'yyscan_t' was here
make[4]: *** [libgstparse_la-grammar.tab.lo] Error 1
make[4]: Leaving directory `/home/thiblahute/cerbero/sources/linux_x86_64/gstreamer-1.0-static-1.3/gst/parse'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/thiblahute/cerbero/sources/linux_x86_64/gstreamer-1.0-static-1.3/gst'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/thiblahute/cerbero/sources/linux_x86_64/gstreamer-1.0-static-1.3/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thiblahute/cerbero/sources/linux_x86_64/gstreamer-1.0-static-1.3'
make: *** [all] Error 2

The culpright commit is:

commit 56d74ddb644052dc76d97c22b9f284cc0c7fe35a
Author: Fabian Kirsch <derFakir@web.de>
Date:   Tue Nov 19 15:03:35 2013 +0100

    parse: fix segfaulting prototype-mismatch
    
    Now YYDEBUG is always set, so check it's value
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712679

I attach here the full log.
Comment 1 Sebastian Dröge (slomo) 2013-12-14 18:10:23 UTC
This should fix it

commit a400dd2f47730f45e2ea1a44e759ee5936f8cbda
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Sat Dec 14 19:08:35 2013 +0100

    parse: Don't define yyscan_t twice
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720316