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 127838 - [PATCH] check bison version in configure.ac
[PATCH] check bison version in configure.ac
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: dont know
0.8.0
Other Linux
: High normal
: 0.8.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 127982 128192 131452 137470 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-11-24 20:29 UTC by Mike Castle
Modified: 2005-08-15 01:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch that adds bison version check (1.11 KB, patch)
2004-03-13 19:24 UTC, Tim-Philipp Müller
none Details | Review

Description Mike Castle 2003-11-24 20:29:52 UTC
Making all in parse
make[4]: Entering directory
`/usr/src/gstreamer/gstreamer-0.7.2-build/gst/parse'
/usr/bin/bison -d -v -p_gst_parse__yy
../../../gstreamer-0.7.2/gst/parse/grammar.y -o grammar.tab.c
../../../gstreamer-0.7.2/gst/parse/grammar.y: warning: 24 shift/reduce
conflicts and 3 reduce/reduce conflicts
/usr/bin/flex -P_gst_parse_yy ../../../gstreamer-0.7.2/gst/parse/parse.l
grammar.tab.h
source='lex._gst_parse_yy.c' object='libgstparse_la-lex._gst_parse_yy.lo'
libtool=yes \
depfile='.deps/libgstparse_la-lex._gst_parse_yy.Plo'
tmpdepfile='.deps/libgstparse_la-lex._gst_parse_yy.TPlo' \
depmode=gcc /bin/sh ../../../gstreamer-0.7.2/depcomp \
/bin/sh ../../libtool --mode=compile i386-linux-gcc -DHAVE_CONFIG_H -I.
-I../../../gstreamer-0.7.2/gst/parse -I../..    -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2   -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I../../../gstreamer-0.7.2  -Wall -DGST_DISABLE_DEPRECATED -g
-I../../../gstreamer-0.7.2/libs -I../../../gstreamer-0.7.2/include  -g -O2
-c -o libgstparse_la-lex._gst_parse_yy.lo `test -f 'lex._gst_parse_yy.c' ||
echo '../../../gstreamer-0.7.2/gst/parse/'`lex._gst_parse_yy.c
mkdir .libs
 i386-linux-gcc -DHAVE_CONFIG_H -I. -I../../../gstreamer-0.7.2/gst/parse
-I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I../../../gstreamer-0.7.2 -Wall -DGST_DISABLE_DEPRECATED -g
-I../../../gstreamer-0.7.2/libs -I../../../gstreamer-0.7.2/include -g -O2
-c lex._gst_parse_yy.c -Wp,-MD,.deps/libgstparse_la-lex._gst_parse_yy.TPlo
 -fPIC -DPIC -o .libs/libgstparse_la-lex._gst_parse_yy.o
../../../gstreamer-0.7.2/gst/parse/grammar.y:533: conflicting types for
`YYSTYPE'
./grammar.y:533: previous declaration of `YYSTYPE'
make[4]: *** [libgstparse_la-lex._gst_parse_yy.lo] Error 1
make[4]: Leaving directory `/usr/src/gstreamer/gstreamer-0.7.2-build/gst/parse'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gstreamer/gstreamer-0.7.2-build/gst'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/gstreamer/gstreamer-0.7.2-build/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gstreamer/gstreamer-0.7.2-build'
make: *** [all] Error 2

gcc version 2.95.4 20020723 (prerelease)
bison (GNU Bison) 1.75

Hmmm... I forgot why I haven't upgraded to bison-1.875b, but I see that I
tried and went back to 1.75.  But apparently forgot to note down the
reasons.  Maybe I'll give that a try again.
Comment 1 David Schleef 2003-12-02 04:17:38 UTC
*** Bug 128192 has been marked as a duplicate of this bug. ***
Comment 2 David Schleef 2003-12-02 04:57:18 UTC
*** Bug 127982 has been marked as a duplicate of this bug. ***
Comment 3 JJ 2003-12-15 19:05:04 UTC
I had the same problem running SuSE 7.2 with bison 1.28.
Upgrading bison to 1.875 fixed the problem.
Comment 4 Benjamin Otte (Company) 2004-02-17 20:51:42 UTC
*** Bug 131452 has been marked as a duplicate of this bug. ***
Comment 5 Benjamin Otte (Company) 2004-02-17 20:56:50 UTC
I can confirm that it works with bison >= 1.35, but not with 1.28.

According to Google other projects were able to fix similar problems,
so I'm not sure if we should invest time in a fix or just require
bison 1.35
Comment 6 David Schleef 2004-03-06 04:05:59 UTC
ok, bumped the requirement in REQUIREMENTS to 1.35.

Thomas, do you feel interested in writing a test to check the bison
version?
Comment 7 Tim-Philipp Müller 2004-03-13 19:24:26 UTC
Created attachment 25598 [details] [review]
proposed patch that adds bison version check
Comment 8 Balamurali Viswanathan 2004-03-17 07:14:00 UTC
*** Bug 137470 has been marked as a duplicate of this bug. ***
Comment 9 alexander.winston 2004-03-25 20:48:42 UTC
Adding the PATCH keyword and bumping priority to high.
Comment 10 Benjamin Otte (Company) 2004-03-30 02:51:36 UTC
This has been applied to cvs HEAD.