<div dir="ltr"><div>Alex,</div><div>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:</div><div><br></div><div># GL/GLES header clash: both define the same thing, differently, on 32 bit x86<br>EXTRA_OECMAKE_append_x86 = " -DUSE_GSTREAMER_GL=OFF "<br>EXTRA_OECMAKE_append_x86-x32 = " -DUSE_GSTREAMER_GL=OFF "</div><div><br></div><div>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.</div><div><br></div><div>Thanks,<br></div><div><br></div><div>Michael Gloff</div><div><br></div><div>[1] <a href="https://bug784779.bugzilla-attachments.gnome.org/attachment.cgi?id=357732">https://bug784779.bugzilla-attachments.gnome.org/attachment.cgi?id=357732</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 26, 2018 at 2:24 PM, Alexander Kanavin <span dir="ltr"><<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The bug refers to a gstreamer bug with patches, which you should probably apply:<br>
<a href="https://bugzilla.gnome.org/show_bug.cgi?id=784779" rel="noreferrer" target="_blank">https://bugzilla.gnome.org/<wbr>show_bug.cgi?id=784779</a><br>
<br>
Alex<br>
<br>
2018-06-26 20:55 GMT+02:00 Michael Gloff <<a href="mailto:mgloff@emacinc.com">mgloff@emacinc.com</a>>:<br>
> I'm seeing the below errors when trying to build webkitgtk. I am using base<br>
> poky distro on sumo branch without any extra layers with qemuarm machine. It<br>
> looks similar to:<br>
> <a href="https://bugs.webkit.org/show_bug.cgi?id=175127" rel="noreferrer" target="_blank">https://bugs.webkit.org/show_<wbr>bug.cgi?id=175127</a><br>
> which reports that this was fixed upstream, but obviously not in 2.18.6.<br>
> Does anyone know what the proper fix for this is or at least a work around?<br>
> Thanks,<br>
><br>
> Michael Gloff<br>
><br>
> In file included from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/GL/<wbr>gl.h:2055:0,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>webkitgtk-2.18.6/Source/<wbr>WebCore/platform/graphics/<wbr>OpenGLShims.h:23,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>webkitgtk-2.18.6/Source/<wbr>WebCore/platform/graphics/<wbr>ANGLEWebKitBridge.h:50,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>webkitgtk-2.18.6/Source/<wbr>WebCore/platform/graphics/<wbr>GraphicsContext3D.h:28,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>webkitgtk-2.18.6/Source/<wbr>WebCore/platform/graphics/<wbr>GLContext.h:23,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>webkitgtk-2.18.6/Source/<wbr>WebCore/platform/graphics/<wbr>gstreamer/<wbr>MediaPlayerPrivateGStreamerBas<wbr>e.cpp:72:<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/GL/<wbr>glext.h:<br>
> At global scope:<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/GL/<wbr>glext.h:468:19:<br>
> error: conflicting declaration 'typedef ptrdiff_t GLsizeiptr'<br>
> typedef ptrdiff_t GLsizeiptr;<br>
> ^~~~~~~~~~<br>
> In file included from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/<wbr>gstreamer-1.0/gst/gl/gstglapi.<wbr>h:40:0,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/<wbr>gstreamer-1.0/gst/gl/gstgl_<wbr>fwd.h:26,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/<wbr>gstreamer-1.0/gst/gl/gl.h:29,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>webkitgtk-2.18.6/Source/<wbr>WebCore/platform/graphics/<wbr>gstreamer/<wbr>MediaPlayerPrivateGStreamerBas<wbr>e.cpp:69:<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/<wbr>GLES3/gl3.h:75:25:<br>
> note: previous declaration as 'typedef khronos_ssize_t GLsizeiptr'<br>
> typedef khronos_ssize_t GLsizeiptr;<br>
> ^~~~~~~~~~<br>
> In file included from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/GL/<wbr>gl.h:2055:0,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>webkitgtk-2.18.6/Source/<wbr>WebCore/platform/graphics/<wbr>OpenGLShims.h:23,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>webkitgtk-2.18.6/Source/<wbr>WebCore/platform/graphics/<wbr>ANGLEWebKitBridge.h:50,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>webkitgtk-2.18.6/Source/<wbr>WebCore/platform/graphics/<wbr>GraphicsContext3D.h:28,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>webkitgtk-2.18.6/Source/<wbr>WebCore/platform/graphics/<wbr>GLContext.h:23,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>webkitgtk-2.18.6/Source/<wbr>WebCore/platform/graphics/<wbr>gstreamer/<wbr>MediaPlayerPrivateGStreamerBas<wbr>e.cpp:72:<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/GL/<wbr>glext.h:469:19:<br>
> error: conflicting declaration 'typedef ptrdiff_t GLintptr'<br>
> typedef ptrdiff_t GLintptr;<br>
> ^~~~~~~~<br>
> In file included from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/<wbr>gstreamer-1.0/gst/gl/gstglapi.<wbr>h:40:0,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/<wbr>gstreamer-1.0/gst/gl/gstgl_<wbr>fwd.h:26,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/<wbr>gstreamer-1.0/gst/gl/gl.h:29,<br>
> from<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>webkitgtk-2.18.6/Source/<wbr>WebCore/platform/graphics/<wbr>gstreamer/<wbr>MediaPlayerPrivateGStreamerBas<wbr>e.cpp:69:<br>
> /home/mgloff/poky/build/tmp/<wbr>work/armv5e-poky-linux-<wbr>gnueabi/webkitgtk/2.18.6-r0/<wbr>recipe-sysroot/usr/include/<wbr>GLES3/gl3.h:76:26:<br>
> note: previous declaration as 'typedef khronos_intptr_t GLintptr'<br>
> typedef khronos_intptr_t GLintptr;<br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> ______________________________<wbr>_________________<br>
> Openembedded-core mailing list<br>
> <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
> <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
><br>
</font></span></blockquote></div><br></div>