Today I tried to upgrade Webkit in our tree to revision newer then 30762 which we used. Build of 31457 rev failed so I tried 31450 and 31400 to check does it happen in older versions too - it was.
On IRC Julien Chaffraix told me that error is due to wrong use of ENABLE(SVG) ENABLE(SVG_FONTS) flags in SVGAltGlyphElement.h and JSVGAltGlyphElement.h header files.
Configure flags used was "--enable-svg --enable-debug=no --enable-icon-database=yes". I tried to cross compile for ARM architecture using Poky Linux buildsystem.
Created attachment 20238 [details]
build error log
The issue here is that we try to compile files that need SVG_FONTS even if we do not have specified it.
Switching the platform to Gtk (I thought first that the problem was cross-platform but after a second thought it may not be).
NOTE: package webkit-gtk-0.1+svnr31467-r4: task do_build: completed
adding "--enable-svg-fonts" helped
Created attachment 20508 [details]
Add SVG_FONTS in SVGAltGlyphElement.idl
The patch adds SVG_FONTS in the Conditional section of SVGAltGlyphElement.idl to prevent the generated source files from being compiled.
Landed in r31855.