Bug 46815 - Build fails with byacc and configuration script succeeds
Summary: Build fails with byacc and configuration script succeeds
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
Depends on:
Reported: 2012-03-01 04:13 UTC by Eric Wolf
Modified: 2013-01-22 22:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Eric Wolf 2012-03-01 04:13:29 UTC
I did

$ git clone git://anongit.freedesktop.org/mesa/mesa

$ cd mesa

$ ./autogen.sh --prefix=$WLD --enable-gles2 --disable-gallium-egl \
    --with-egl-platforms=x11,wayland,drm --enable-gbm --enable-shared-glapi

$ echo $?
-> 0

$ make
yacc -v -o "glcpp/glcpp-parse.c" --defines=glcpp/glcpp-parse.h glcpp/glcpp-parse.y
yacc: e - line 144 of "glcpp/glcpp-parse.y", syntax error

I then purged byacc and installed bison and everything went fine.

So the configuration script should fail with byacc, shouldn't it?
Comment 1 Kenneth Graunke 2012-03-06 09:53:33 UTC
Bison is definitely required, so yes, configure ought to detect that and fail.  We should fix that.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.