[meta-freescale] core-image-weston build error

Fabio Berton fabio.berton at ossystems.com.br
Mon Oct 23 03:48:28 PDT 2017


Yes, x11 + wayland is xwayland.

Please, see this directory in meta-freescale-distro to see all available
distros:

https://github.com/Freescale/meta-freescale-distro/tree/master/conf/distro

You can you one of fslc-* distros instead of removing DISTRO_FEATURES.

On Sat, Oct 21, 2017 at 8:49 AM, Eliecer Nepumok <eliecer.nepumok at gmail.com>
wrote:

> Thanks Fabio,
>
> Maybe related, I also don't seem able to build core-image-sato for the
> wandboard unless I remove "wayland" from the DISTRO_FEATURES.
>
> The error is:
>
> ERROR: cairo-1.14.10-r0 do_prepare_recipe_sysroot: The file
> /usr/lib/pkgconfig/wayland-egl.pc is installed by both mesa and
> imx-gpu-viv
> , aborting
> ERROR: cairo-1.14.10-r0 do_prepare_recipe_sysroot: Function failed:
> extend_recipe_sysroot
> ERROR: Logfile of failure stored in: /usr/local/ssd/fsl-community-
> bsp/wandboard/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/cair
> o/1.14.10-r0/temp/log.do_prepare_recipe_sysroot.28341
> ERROR: Task (/usr/local/ssd/fsl-community-bsp/sources/poky/meta/recipes-
> graphics/cairo/cairo_1.14.10.bb:do_prepare_recipe_sysroot) fail
> ed with exit code '1'
> ERROR: libepoxy-1.4.3-r0 do_prepare_recipe_sysroot: The file
> /usr/lib/pkgconfig/wayland-egl.pc is installed by both mesa and imx-gpu-vi
> v, aborting
> ERROR: libepoxy-1.4.3-r0 do_prepare_recipe_sysroot: Function failed:
> extend_recipe_sysroot
> ERROR: Logfile of failure stored in: /usr/local/ssd/fsl-community-
> bsp/wandboard/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/libe
> poxy/1.4.3-r0/temp/log.do_prepare_recipe_sysroot.29249
> ERROR: Task (/usr/local/ssd/fsl-community-bsp/sources/poky/meta/recipes-
> graphics/libepoxy/libepoxy_1.4.3.bb:do_prepare_recipe_sysroot)
> failed with exit code '1'
>
> It seems that if both x11 and wayland are distro features, the image is
> set to use xwayland.
>
> Does it ring a  bell?
>
> Thanks,
>
> On 20 October 2017 at 18:50, Fabio Berton <fabio.berton at ossystems.com.br>
> wrote:
>
>> Hi,
>>
>> I can confirm that this image is broken on rocko branch. Tom sent some
>> patches to fix these issues, you can see this patches on mailing list. I
>> need to test these patches and see if it fix core-image-weston build.
>>
>> On Fri, Oct 20, 2017 at 2:27 PM, Eliecer Nepumok <
>> eliecer.nepumok at gmail.com> wrote:
>>
>>> Anyone, maybe with build server results?
>>>
>>> I just would like to know whether to spend time debugging this or I am
>>> missing something obvious.
>>>
>>> On 18 October 2017 at 13:48, Eliecer Nepumok <eliecer.nepumok at gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am using the Rocko branch and seeing a build error for
>>>> core-image-weston for both the imx6qdlsabresd and wandboard machines.
>>>>
>>>> The only modification I did was remove directfb and x11 from
>>>> DISTRO_FEATURES.
>>>>
>>>> Am I the only one seeing this?
>>>>
>>>> Thanks,
>>>> Eliecer
>>>>
>>>> GL_API_FB -DEGL_API_WL  -Wall -c -o gdkselection-wayland.lo
>>>> ../../../gtk+-3.22.17/gdk/wayland/gdkselection-wayland.c
>>>> | In file included from /usr/local/ssd/fsl-community-b
>>>> sp/imx6qdlsabresd/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux
>>>> -gnueabi/gtk+3/3.22.17-r0/recipe-sysroot/usr/include/epoxy/egl.h:46:0,
>>>> |                  from ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.h:32,
>>>>
>>>> |                  from ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:24:
>>>>
>>>> | ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c: In
>>>> function 'gdk_wayland_gl_context_realize':
>>>> | ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:179:43:
>>>> error: expected expression before 'EGLContext'
>>>> |                                          : EGL_NO_CONTEXT,
>>>> |                                            ^
>>>> | ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:200:47:
>>>> error: expected expression before 'EGLContext'
>>>> |                                              : EGL_NO_CONTEXT,
>>>> |                                                ^
>>>> | ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c: In
>>>> function 'gdk_x11_gl_context_dispose':
>>>> | ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:510:54:
>>>> error: expected expression before 'EGLSurface'
>>>> |          eglMakeCurrent(display_wayland->egl_display,
>>>> EGL_NO_SURFACE, EGL_NO_SURFACE,
>>>> |                                                       ^
>>>> | ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:510:70:
>>>> error: expected expression before 'EGLSurface'
>>>> |          eglMakeCurrent(display_wayland->egl_display,
>>>> EGL_NO_SURFACE, EGL_NO_SURFACE,
>>>> |                                                                       ^
>>>>
>>>> | ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:511:24:
>>>> error: expected expression before 'EGLContext'
>>>> |                         EGL_NO_CONTEXT);
>>>> |                         ^
>>>> | ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c: In
>>>> function 'gdk_wayland_display_make_gl_context_current':
>>>> | ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:534:52:
>>>> error: expected expression before 'EGLSurface'
>>>> |        eglMakeCurrent(display_wayland->egl_display, EGL_NO_SURFACE,
>>>> EGL_NO_SURFACE,
>>>> |                                                     ^
>>>> | ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:534:68:
>>>> error: expected expression before 'EGLSurface'
>>>> |        eglMakeCurrent(display_wayland->egl_display, EGL_NO_SURFACE,
>>>> EGL_NO_SURFACE,
>>>> |                                                                     ^
>>>>
>>>> | ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:535:22:
>>>> error: expected expression before 'EGLContext'
>>>> |                       EGL_NO_CONTEXT);
>>>> |                       ^
>>>> | ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:547:16:
>>>> error: expected expression before 'EGLSurface'
>>>> |   egl_surface = EGL_NO_SURFACE;
>>>>
>>>>
>>>
>>> --
>>> _______________________________________________
>>> meta-freescale mailing list
>>> meta-freescale at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20171023/726dba23/attachment.html>


More information about the meta-freescale mailing list