A build error occurs when using a very recent glib version (I think > 2.42; I'm using 2.43.91 to test GNOME 3.16), c.f. the URL. This error will hit people as soon as glib-2.44 lands in the tree. When using the attached patch, Webkit-GTK builds fine. It's a safe patch, as it only changes the name space usage in the webkit code. Reproducible: Always Steps to Reproduce: 1.install >= glib 2.43 2.emerge webkit-gtk
Created attachment 398740 [details, diff] change name space usage in webkit code It's basically the patch from the upstream bug report minus the changes to files, which don't exist.
Maybe you should wait a bit more as I guess webkit-gtk-2.8 will include that fix as both, webkit-gtk and glib versions, are meant to be in sync for the 3.16 cycle ;)
Hi I have a simmilar issue with webkit-gtk-2.4.8. I tried the posted patch but it does not apply on the 2.4.8 version.
Created attachment 400884 [details, diff] Patch for ver. 2.4.8 Tested and compiled succesfully with clang-3.6.0
Created attachment 400888 [details, diff] GCC patch, previous one does not work GCC patch, previous one does not work
webkit-gtk-2.6.6 is out and has: - Fix the build with recent versions of GLib that have GMutexLocker.
We should include upstream patch or bump to fixed versions.
+*webkit-gtk-2.6.6 (02 May 2015) + + 02 May 2015; Gilles Dartiguelongue <eva@gentoo.org> +webkit-gtk-2.6.6.ebuild: + Version bump. Fixes build with newer glib, bug #543066. Add support for + building with ruby 2.2, bug #534010. Add missing webgl? ( opengl ) + constraint, bug #533704. Fix build with older glibc releases, bug #533976. + Thanks for reporting.
I've got this issue with webkit-gtk 2.4.8, it's only one for slot 2 there should be limitation for glib < 2.44 or alike or patch...
* slot 2 and slot 3
also fails if I'm trying to build with clang 3.6.0