Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500454 - net-libs/webkit-gtk-2.2.4 with sys-devel/bison-1.875d - ?
Summary: net-libs/webkit-gtk-2.2.4 with sys-devel/bison-1.875d - ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-06 01:31 UTC by Dennis Nezic
Modified: 2014-02-06 19:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Nezic 2014-02-06 01:31:40 UTC
After hours of compiling, webkit-gtk-2.2.4 fails at:

/usr/bin/bison --no-lines --defines="DerivedSources/ANGLE/glslang_tab.h" --skeleton=yacc.c -- output="DerivedSources/ANGLE/glslang_tab.cpp" Source/ThirdParty/ANGLE/src/compiler/glslang.y
Source/ThirdParty/ANGLE/src/compiler/glslang.y:52.1-5: invalid directive: `%code'
Source/ThirdParty/ANGLE/src/compiler/glslang.y:52.7-14: syntax error, unexpected "identifier"
make[1]: *** [DerivedSources/ANGLE/glslang_tab.cpp] Error 1

Upgrading my bison from 1.875d to 2.7.1 fixed this. I'm not exactly sure what the minimum bison version should be.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-06 02:26:13 UTC
1) Please post your `emerge --info net-libs/webkit-gtk' output in a comment
2) Please attach the entire build log to this bug report.
Comment 2 Pacho Ramos gentoo-dev 2014-02-06 07:10:31 UTC
Looks like code directive was added in bison-2:
https://sourceforge.net/apps/mediawiki/swobjects/index.php?title=Compilation#bison_code_directive
Comment 3 Pacho Ramos gentoo-dev 2014-02-06 19:14:46 UTC
+  06 Feb 2014; Pacho Ramos <pacho@gentoo.org> -webkit-gtk-2.2.2.ebuild,
+  webkit-gtk-2.2.4-r200.ebuild, webkit-gtk-2.2.4.ebuild:
+  Newer bison is needed due 'code' usage (#500454 by Dennis New), drop old
+