Bug#751259: webkitgtk FTBFS on armel/armhf

Riku Voipio riku.voipio at iki.fi
Wed Jun 11 13:57:42 UTC 2014

Package: webkitgtk
Version: 2.4.3-2
Severity: serious
Justification: FTBFS


It seems libgl1-mesa-dev will be pulled in regardless:

dd-schroot-cmd -c sid_armhf-dchroot-7101d185-7aa9-42e0-a68c-0bbf3271b410 apt-get build-dep webkitgtk
  libgirepository-1.0-1 libgirepository1.0-dev libgl1-mesa-dev libgl1-mesa-glx
  libglapi-mesa libgles2-mesa libgles2-mesa-dev libglib2.0-0 libglib2.0-bin

So a build-conflicts: libgl1-mesa-dev [armel armhf] would be needed, or the sources
need to accomodate the possibility of both installed. Since with freeadreno and nouveau
drivers coming to arm, there are also full opengl drivers for arm, this kind of arch based
detection is a bit frowned upon.

If armel/armhf go gles, please check that all packages building upon webkitgkt still work
on arm after the change.

See http://people.debian.org/~public_html/webkitgtk_armhf.log for build log:

In file included from ../Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:32:0:
../Source/ThirdParty/ANGLE/include/GLES2/gl2.h:39:26: error: 'GLsizeiptr' has a previous declaration as 'typedef khronos_ssize_t GLsizeiptr'
 typedef khronos_ssize_t  GLsizeiptr;
In file included from /usr/include/GL/gl.h:2059:0,
                 from /usr/include/GL/glx.h:32,
                 from /usr/include/cairo/cairo-gl.h:96,
                 from ../Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:39:
/usr/include/GL/glext.h:469:19: error: conflicting declaration 'typedef ptrdiff_t GLintptr'
 typedef ptrdiff_t GLintptr;
In file included from ../Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:32:0:
../Source/ThirdParty/ANGLE/include/GLES2/gl2.h:38:26: error: 'GLintptr' has a previous declaration as 'typedef khronos_intptr_t GLintptr'
 typedef khronos_intptr_t GLintptr;
GNUmakefile:64748: recipe for target 'Source/WebCore/platform/graphics/egl/libWebCoreGtk_la-GLContextEGL.lo' failed
make[2]: *** [Source/WebCore/platform/graphics/egl/libWebCoreGtk_la-GLContextEGL.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f Source/WebCore/plugins/gtk/.deps/libWebCoreGtk_la-PluginViewGtk.Tpo Source/WebCore/plugins/gtk/.deps/libWebCoreGtk_la-PluginViewGtk.Plo
make[2]: Leaving directory '/home/riku/webkitgtk-2.4.3/build-2.0'

More information about the Pkg-webkit-maintainers mailing list