All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Berton <fabio.berton@ossystems.com.br>
To: Eliecer Nepumok <eliecer.nepumok@gmail.com>
Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: Re: core-image-weston build error
Date: Mon, 23 Oct 2017 08:48:28 -0200	[thread overview]
Message-ID: <CAAPZna1Ow9zWTp+8VB0qJb-fFCmokSc9bTnc3c_WCQY4vXT2Cg@mail.gmail.com> (raw)
In-Reply-To: <CAMt5ePY7T_S=vo-2M+AqLc4cYicusaoHn6=hn+J_PiEq6P4CJA@mail.gmail.com>

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

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@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@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@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@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@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>>
>>>
>>
>

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

      reply	other threads:[~2017-10-23 10:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-18 11:48 core-image-weston build error Eliecer Nepumok
2017-10-20 16:27 ` Eliecer Nepumok
2017-10-20 16:50   ` Fabio Berton
2017-10-21 10:49     ` Eliecer Nepumok
2017-10-23 10:48       ` Fabio Berton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAPZna1Ow9zWTp+8VB0qJb-fFCmokSc9bTnc3c_WCQY4vXT2Cg@mail.gmail.com \
    --to=fabio.berton@ossystems.com.br \
    --cc=eliecer.nepumok@gmail.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.