JDK-8141345 : Cannot build WebKit with bison3
• Type: Bug
• Component: javafx
• Sub-Component: web
• Affected Version: 8u60,9
• Priority: P3
• Status: Resolved
• Resolution: Fixed
• Submitted: 2015-11-03
• Updated: 2015-11-13
• Resolved: 2015-11-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

JDK 8 JDK 9
8u92Fixed 9Fixed
Description
Compiling the current 8u-dev or 9-dev WebKit sources with bison3 produces the following error:

...
...
PlugInsResourcesData.cpp
XPathGrammar.cpp
generated/XPathGrammar.tab.c(1100) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1106) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1112) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1118) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1124) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1130) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1136) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1142) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1148) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1154) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1160) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1166) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1172) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1178) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1184) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1190) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1196) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1202) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1208) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1214) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1220) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1226) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1232) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1238) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1244) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1250) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1256) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1262) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1268) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1274) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
generated/XPathGrammar.tab.c(1280) : error C2153: hex constants must have at least one hex digit (generated\XPathGrammar.cpp)
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '(' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
Process 'command 'perl'' finished with exit value 2 (state: FAILED)
:web:compileNativeWin FAILED
:web:compileNativeWin (Thread[main,5,main]) completed. Took 22 mins 31.528 secs.