Bug 46815

Summary: Build fails with byacc and configuration script succeeds
Product: Mesa Reporter: Eric Wolf <eric>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
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
%error-verbose

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.