In file included from /var/tmp/portage/net-libs/webkit-gtk-2.8.3/work/webkitgtk-2.8.3/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:50:0: /usr/include/cairo/cairo-gl.h:95:5: warning: "CAIRO_HAS_GLX_FUNCTIONS" is not defined [-Wundef] #if CAIRO_HAS_GLX_FUNCTIONS ^ /usr/include/cairo/cairo-gl.h:113:5: warning: "CAIRO_HAS_WGL_FUNCTIONS" is not defined [-Wundef] #if CAIRO_HAS_WGL_FUNCTIONS ^ /var/tmp/portage/net-libs/webkit-gtk-2.8.3/work/webkitgtk-2.8.3/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp: In function ‘void* WebCore::sharedEGLDisplay()’: /var/tmp/portage/net-libs/webkit-gtk-2.8.3/work/webkitgtk-2.8.3/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:70:90: error: cannot convert ‘wl_display*’ to ‘EGLNativeDisplayType {aka _XDisplay*}’ for argument ‘1’ to ‘void* eglGetDisplay(EGLNativeDisplayType)’ gSharedEGLDisplay = eglGetDisplay(WaylandDisplay::instance()->nativeDisplay()); ^ In file included from /var/tmp/portage/net-libs/webkit-gtk-2.8.3/work/webkitgtk-2.8.3/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp:30:0: /usr/include/cairo/cairo-gl.h:113:5: warning: "CAIRO_HAS_WGL_FUNCTIONS" is not defined [-Wundef] #if CAIRO_HAS_WGL_FUNCTIONS ^ ninja: build stopped: subcommand failed. Reproducible: Always Steps to Reproduce: 1. emerge webkit-gtk:4 # emerge -pvt1 webkit-gtk These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild NS ~] net-libs/webkit-gtk-2.8.3:4/37::gentoo [2.4.9:3/25::gentoo] USE="(X) egl gstreamer introspection jit libsecret opengl spell wayland webgl -coverage -doc -geoloc -gles2 {-test}" 0 KiB $ emerge -vpt1 cairo These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ] x11-libs/cairo-1.14.2::gentoo USE="X glib opengl svg xcb (-aqua) -debug (-directfb) (-gles2) -static-libs -valgrind -xlib-xcb" ABI_X86="(64) -32 (-x32)
Does this still happen with webkit-gtk-2.8.5?
(In reply to Alexandre Rostovtsev from comment #1) > Does this still happen with webkit-gtk-2.8.5? yes
Ah, I see, USE=wayland. Then yes, this doesn't work in 2.8.5, and it seems won't be fixed in 2.8.x at all. Maybe 2.10 will finally support wayland properly. Which is why the wayland USE flag has been package.use.masked for webkit-gtk for a long time (probably you manually unmasked it?) *** This bug has been marked as a duplicate of bug 549228 ***