[meta-freescale] core-image-weston on Rocko for imx6qdlsabresd

Eliecer Nepumok eliecer.nepumok at gmail.com
Mon Nov 20 13:12:50 PST 2017


Replying to myself, I was now able to build core-image-weston after
applying a few patches that appeared recently on the list.

I was trying to run both QT5 and GTK3 applications with little success.

QT5 applications run fine with xwayland, but qtwayland fails to build with:

eglvivante.h:266:2: error: #error "Platform not recognized"

This is probably the same error as reported in:
https://www.mail-archive.com/meta-freescale@yoctoproject.org/msg20579.html

GTK applications don't run either under Wayland or Xwayland. Under Wayland
it's probably the same as:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842001

But I was expecting it to work under Xwayland. The weston.log file states
that xwayland is listening on display :0, and the DISPLAY variable is
correctly set on the Weston terminal, but applications always fails with:

Cannot open display :0

Any clue?

Thanks,

On 11 November 2017 at 18:27, Eliecer Nepumok <eliecer.nepumok at gmail.com>
wrote:

> Hi,
>
> Is Wayland and core-image-weston supported/tested in Rocko?
>
> I am struggling to build it. I tried imx6qdlsabresd and wandboard and both
> fail.
>
> Regards,
> Eliecer
>
> Details:
>
> source setup-environment imx6qdlsabresd
> MACHINE=imx6qdlsabresd DISTRO=fslc-wayland source setup-environment
> imx6qdlsabresd
> bitbake core-image-weston
>
> Build Configuration:
> BB_VERSION        = "1.36.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "ubuntu-16.04"
> TARGET_SYS        = "arm-fslc-linux-gnueabi"
> MACHINE           = "imx6qdlsabresd"
> DISTRO            = "fslc-wayland"
> DISTRO_VERSION    = "2.3-snapshot-20171111"
> TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard"
> TARGET_FPU        = "hard"
> meta
> meta-poky         = "HEAD:f7b90ab3eaf832bd81f3efc1dab4dcf6863ac284"
> meta-oe
> meta-multimedia   = "rocko:f951d30c933bf26d59e27f8bff2db0b299a86346"
> meta-freescale    = "rocko:3e27bd71605502fce20a00e5a4f29a35ed51e487"
> meta-freescale-3rdparty = "rocko:1a3fb4e0c726429dfa48f1ef4c01bcf5bef15c66"
> meta-freescale-distro = "rocko:7250d0d2c3d552dfdb1b7dcc414ee55169bec1c8"
>
> Initialising tasks: 100% |#############################
> #################################################################| Time:
> 0:00:08
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: cogl-1.0-1.22.2-r0 do_prepare_recipe_sysroot: The file
> /usr/lib/pkgconfig/wayland-egl.pc is installed by both imx-gpu-viv and
> mesa, aborting
> ERROR: cogl-1.0-1.22.2-r0 do_prepare_recipe_sysroot: Function failed:
> extend_recipe_sysroot
> ERROR: Logfile of failure stored in: /opt/yocto/fsl-community-bsp/
> imx6qdlsabresd/tmp/work/armv7at2hf-neon-mx6qdl-fslc-
> linux-gnueabi/cogl-1.0/1.22.2-r0/temp/log.do_prepare_recipe_sysroot.1048
> ERROR: Task (/opt/yocto/fsl-community-bsp/sources/poky/meta/recipes-
> graphics/cogl/cogl-1.0_1.22.2.bb:do_prepare_recipe_sysroot) failed with
> exit code '1'
> NOTE: Tasks Summary: Attempted 3007 tasks of which 0 didn't need to be
> rerun and 1 failed.
> NOTE: Writing buildhistory
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20171120/c4533b8e/attachment.html>


More information about the meta-freescale mailing list