All of lore.kernel.org
 help / color / mirror / Atom feed
* Sumo webkitgtk fails to compile
@ 2018-06-26 18:55 Michael Gloff
  2018-06-26 19:24 ` Alexander Kanavin
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Gloff @ 2018-06-26 18:55 UTC (permalink / raw)
  To: OE Core

[-- Attachment #1: Type: text/plain, Size: 5017 bytes --]

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;

[-- Attachment #2: Type: text/html, Size: 5589 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Sumo webkitgtk fails to compile
  2018-06-26 18:55 Sumo webkitgtk fails to compile Michael Gloff
@ 2018-06-26 19:24 ` Alexander Kanavin
  2018-06-27 17:27   ` Michael Gloff
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Kanavin @ 2018-06-26 19:24 UTC (permalink / raw)
  To: Michael Gloff; +Cc: OE Core

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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Sumo webkitgtk fails to compile
  2018-06-26 19:24 ` Alexander Kanavin
@ 2018-06-27 17:27   ` Michael Gloff
  2018-06-27 22:55     ` Alexander Kanavin
  2018-06-28  2:28     ` Carlos Alberto Lopez Perez
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Gloff @ 2018-06-27 17:27 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE Core

[-- Attachment #1: Type: text/plain, Size: 6754 bytes --]

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@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@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/MediaPlayerPrivateGStreamerBas
> e.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/MediaPlayerPrivateGStreamerBas
> e.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/MediaPlayerPrivateGStreamerBas
> e.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/MediaPlayerPrivateGStreamerBas
> e.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@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >
>

[-- Attachment #2: Type: text/html, Size: 8809 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Sumo webkitgtk fails to compile
  2018-06-27 17:27   ` Michael Gloff
@ 2018-06-27 22:55     ` Alexander Kanavin
  2018-06-28  2:28     ` Carlos Alberto Lopez Perez
  1 sibling, 0 replies; 7+ messages in thread
From: Alexander Kanavin @ 2018-06-27 22:55 UTC (permalink / raw)
  To: Michael Gloff; +Cc: OE Core

Sure, yes. Remember the [sumo] prefix.

Alex

2018-06-27 19:27 GMT+02:00 Michael Gloff <mgloff@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@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@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@lists.openembedded.org
>> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
>> >
>
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Sumo webkitgtk fails to compile
  2018-06-27 17:27   ` Michael Gloff
  2018-06-27 22:55     ` Alexander Kanavin
@ 2018-06-28  2:28     ` Carlos Alberto Lopez Perez
  2018-06-28 11:14       ` Alexander Kanavin
  1 sibling, 1 reply; 7+ messages in thread
From: Carlos Alberto Lopez Perez @ 2018-06-28  2:28 UTC (permalink / raw)
  To: Michael Gloff, Alexander Kanavin; +Cc: OE Core


[-- Attachment #1.1: Type: text/plain, Size: 768 bytes --]

On 27/06/18 19:27, Michael Gloff wrote:
> # 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.

USE_GSTREAMER_GL is a feature of WebKitGTK+ that allows it to leverage
hardware-accelerated video decoding (for example: on i.MX6).

I think is acceptable to disable this for ARMv5 (because, AFAIK, there
isn't any ARMv5 hardware that can leverage this in any case), but this
should remain enabled for other architectures.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 914 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Sumo webkitgtk fails to compile
  2018-06-28  2:28     ` Carlos Alberto Lopez Perez
@ 2018-06-28 11:14       ` Alexander Kanavin
  2018-06-29 17:41         ` Michael Gloff
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Kanavin @ 2018-06-28 11:14 UTC (permalink / raw)
  To: Michael Gloff, OE Core, clopez

TBH, I'm not sure why Michael is seeing this failure either. Sumo does
get built on the AB against several qemu targets, and the failure does
not happen there.

Alex

2018-06-28 4:28 GMT+02:00 Carlos Alberto Lopez Perez <clopez@igalia.com>:
> On 27/06/18 19:27, Michael Gloff wrote:
>> # 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.
>
> USE_GSTREAMER_GL is a feature of WebKitGTK+ that allows it to leverage
> hardware-accelerated video decoding (for example: on i.MX6).
>
> I think is acceptable to disable this for ARMv5 (because, AFAIK, there
> isn't any ARMv5 hardware that can leverage this in any case), but this
> should remain enabled for other architectures.
>
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Sumo webkitgtk fails to compile
  2018-06-28 11:14       ` Alexander Kanavin
@ 2018-06-29 17:41         ` Michael Gloff
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Gloff @ 2018-06-29 17:41 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE Core

[-- Attachment #1: Type: text/plain, Size: 1446 bytes --]

I'm not sure either why I am seeing this and thought that this would have
been also seen on the autobuilder. Is there some configuration on the AB
that does not trigger the clash? Can anyone else validate the clash with a
fresh checkout of Sumo?

Michael

On Thu, Jun 28, 2018 at 6:14 AM, Alexander Kanavin <alex.kanavin@gmail.com>
wrote:

> TBH, I'm not sure why Michael is seeing this failure either. Sumo does
> get built on the AB against several qemu targets, and the failure does
> not happen there.
>
> Alex
>
> 2018-06-28 4:28 GMT+02:00 Carlos Alberto Lopez Perez <clopez@igalia.com>:
> > On 27/06/18 19:27, Michael Gloff wrote:
> >> # 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.
> >
> > USE_GSTREAMER_GL is a feature of WebKitGTK+ that allows it to leverage
> > hardware-accelerated video decoding (for example: on i.MX6).
> >
> > I think is acceptable to disable this for ARMv5 (because, AFAIK, there
> > isn't any ARMv5 hardware that can leverage this in any case), but this
> > should remain enabled for other architectures.
> >
> >
>

[-- Attachment #2: Type: text/html, Size: 1974 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-29 17:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-26 18:55 Sumo webkitgtk fails to compile Michael Gloff
2018-06-26 19:24 ` Alexander Kanavin
2018-06-27 17:27   ` Michael Gloff
2018-06-27 22:55     ` Alexander Kanavin
2018-06-28  2:28     ` Carlos Alberto Lopez Perez
2018-06-28 11:14       ` Alexander Kanavin
2018-06-29 17:41         ` Michael Gloff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.