[OE-core] Sumo webkitgtk fails to compile

Alexander Kanavin alex.kanavin at gmail.com
Wed Jun 27 22:55:26 UTC 2018


Sure, yes. Remember the [sumo] prefix.

Alex

2018-06-27 19:27 GMT+02:00 Michael Gloff <mgloff at emacinc.com>:
> Alex,
> Thanks. I looked into the patch [1], but it does not apply to gstreamer
> 1.12.x. After refreshing the patch, gstreamer1.0-plugins-bad does not build
> because of the move of some header files to plugins-base in 1.13. I noticed
> in the recipe:
>
> # GL/GLES header clash: both define the same thing, differently, on 32 bit
> x86
> EXTRA_OECMAKE_append_x86 = " -DUSE_GSTREAMER_GL=OFF "
> EXTRA_OECMAKE_append_x86-x32 = " -DUSE_GSTREAMER_GL=OFF "
>
> I think the best thing to do it to turn off USE_GSTREAMER_GL for all
> architectures. Would a patch doing so be acceptable? I've verified that it
> will build with the _armv5 case.
>
> Thanks,
>
> Michael Gloff
>
> [1]
> https://bug784779.bugzilla-attachments.gnome.org/attachment.cgi?id=357732
>
> On Tue, Jun 26, 2018 at 2:24 PM, Alexander Kanavin <alex.kanavin at gmail.com>
> wrote:
>>
>> The bug refers to a gstreamer bug with patches, which you should probably
>> apply:
>> https://bugzilla.gnome.org/show_bug.cgi?id=784779
>>
>> Alex
>>
>> 2018-06-26 20:55 GMT+02:00 Michael Gloff <mgloff at emacinc.com>:
>> > I'm seeing the below errors when trying to build webkitgtk. I am using
>> > base
>> > poky distro on sumo branch without any extra layers with qemuarm
>> > machine. It
>> > looks similar to:
>> > https://bugs.webkit.org/show_bug.cgi?id=175127
>> > which reports that this was fixed upstream, but obviously not in 2.18.6.
>> > Does anyone know what the proper fix for this is or at least a work
>> > around?
>> > Thanks,
>> >
>> > Michael Gloff
>> >
>> > In file included from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/GL/gl.h:2055:0,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/webkitgtk-2.18.6/Source/WebCore/platform/graphics/OpenGLShims.h:23,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/webkitgtk-2.18.6/Source/WebCore/platform/graphics/ANGLEWebKitBridge.h:50,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/webkitgtk-2.18.6/Source/WebCore/platform/graphics/GraphicsContext3D.h:28,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/webkitgtk-2.18.6/Source/WebCore/platform/graphics/GLContext.h:23,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/webkitgtk-2.18.6/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:72:
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/GL/glext.h:
>> > At global scope:
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/GL/glext.h:468:19:
>> > error: conflicting declaration 'typedef ptrdiff_t GLsizeiptr'
>> >  typedef ptrdiff_t GLsizeiptr;
>> >                    ^~~~~~~~~~
>> > In file included from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/gstreamer-1.0/gst/gl/gstglapi.h:40:0,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/gstreamer-1.0/gst/gl/gstgl_fwd.h:26,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/gstreamer-1.0/gst/gl/gl.h:29,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/webkitgtk-2.18.6/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:69:
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/GLES3/gl3.h:75:25:
>> > note: previous declaration as 'typedef khronos_ssize_t GLsizeiptr'
>> >  typedef khronos_ssize_t GLsizeiptr;
>> >                          ^~~~~~~~~~
>> > In file included from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/GL/gl.h:2055:0,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/webkitgtk-2.18.6/Source/WebCore/platform/graphics/OpenGLShims.h:23,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/webkitgtk-2.18.6/Source/WebCore/platform/graphics/ANGLEWebKitBridge.h:50,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/webkitgtk-2.18.6/Source/WebCore/platform/graphics/GraphicsContext3D.h:28,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/webkitgtk-2.18.6/Source/WebCore/platform/graphics/GLContext.h:23,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/webkitgtk-2.18.6/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:72:
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/GL/glext.h:469:19:
>> > error: conflicting declaration 'typedef ptrdiff_t GLintptr'
>> >  typedef ptrdiff_t GLintptr;
>> >                    ^~~~~~~~
>> > In file included from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/gstreamer-1.0/gst/gl/gstglapi.h:40:0,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/gstreamer-1.0/gst/gl/gstgl_fwd.h:26,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/gstreamer-1.0/gst/gl/gl.h:29,
>> >                  from
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/webkitgtk-2.18.6/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:69:
>> >
>> > /home/mgloff/poky/build/tmp/work/armv5e-poky-linux-gnueabi/webkitgtk/2.18.6-r0/recipe-sysroot/usr/include/GLES3/gl3.h:76:26:
>> > note: previous declaration as 'typedef khronos_intptr_t GLintptr'
>> >  typedef khronos_intptr_t GLintptr;
>> >
>> > --
>> > _______________________________________________
>> > Openembedded-core mailing list
>> > Openembedded-core at lists.openembedded.org
>> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
>> >
>
>



More information about the Openembedded-core mailing list