From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 17993E008EC; Thu, 9 Apr 2015 10:39:02 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, MIME_QP_LONG_LINE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.0 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars X-Greylist: delayed 1804 seconds by postgrey-1.32 at yocto-www; Thu, 09 Apr 2015 10:38:57 PDT Received: from mx1.basyskom.com (groupware.basyskom.com [144.76.148.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 10B08E0049A for ; Thu, 9 Apr 2015 10:38:56 -0700 (PDT) X-Footer: YmFzeXNrb20uY29t Received: from [193.158.222.106] ([193.158.222.106]) by mx1.basyskom.com (Kerio Connect 8.4.2) for meta-freescale@yoctoproject.org; Thu, 9 Apr 2015 19:08:47 +0200 Date: Thu, 9 Apr 2015 19:08:47 +0200 X-Mailer: Kerio Connect 8.4.2/Kerio Connect client X-User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:37.0) Gecko/20100101 Firefox/37.0 Message-ID: <2669906156-8923@mx1.basyskom.com> X-Priority: 3 Importance: Normal In-Reply-To: <543BB1C9.1040205@arantia.com> MIME-Version: 1.0 From: Benjamin Federau To: meta-freescale@yoctoproject.org Subject: Re: Problem compiling QtWayland X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2015 17:39:02 -0000 Content-Type: multipart/alternative; boundary="=-SH9XxrbXrEgRE7Nuc5kD" --=-SH9XxrbXrEgRE7Nuc5kD Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, Ruben Morgade , 13.10.2014 13:14: Dear all,=20 =20 We are trying to test Qt5+wayland on a wandboard quad. We are using:=20 =20 fsl-community-bsp in master branch=20 meta-qt5 in master branch=20 =20 Everything up-to-date.=20 =20 We are able to generate the core-image-weston with some extra features =20 as per the following local.conf file:=20 =20 MACHINE ??=3D 'wandboard-quad'=20 DISTRO ?=3D 'poky'=20 PACKAGE_CLASSES ?=3D "package_rpm"=20 EXTRA_IMAGE_FEATURES =3D "debug-tweaks"=20 USER_CLASSES ?=3D "buildstats image-mklibs image-prelink"=20 PATCHRESOLVE =3D "noop"=20 BB_DISKMON_DIRS =3D "\=20 =C2=A0 =C2=A0 STOPTASKS,${TMPDIR},1G,100K \=20 =C2=A0 =C2=A0 STOPTASKS,${DL_DIR},1G,100K \=20 =C2=A0 =C2=A0 STOPTASKS,${SSTATE_DIR},1G,100K \=20 =C2=A0 =C2=A0 ABORT,${TMPDIR},100M,1K \=20 =C2=A0 =C2=A0 ABORT,${DL_DIR},100M,1K \=20 =C2=A0 =C2=A0 ABORT,${SSTATE_DIR},100M,1K"=20 PACKAGECONFIG_append_pn-qemu-native =3D " sdl"=20 PACKAGECONFIG_append_pn-nativesdk-qemu =3D " sdl"=20 ASSUME_PROVIDED +=3D "libsdl-native"=20 CONF_VERSION =3D "1"=20 =20 BB_NUMBER_THREADS =3D '16'=20 PARALLEL_MAKE =3D '-j 16'=20 =20 DL_DIR ?=3D "${BSPDIR}/downloads/"=20 ACCEPT_FSL_EULA =3D ""=20 =20 LICENSE_FLAGS_WHITELIST +=3D "commercial"=20 =20 DISTRO_FEATURES_append =3D " wayland opengl"=20 DISTRO_FEATURES_remove =3D " x11 directfb"=20 =20 IMAGE_INSTALL_append =3D " \=20 firmware-imx-vpu-imx6q \=20 firmware-imx-vpu-imx6d \=20 "=20 IMAGE_INSTALL_append =3D " \=20 cpufrequtils \=20 nano \=20 packagegroup-fsl-gstreamer-full \=20 packagegroup-fsl-tools-testapps \=20 packagegroup-fsl-tools-benchmark \=20 gstreamer \=20 packagegroup-fslc-gstreamer1.0-full \=20 python-smartpm \=20 gst-plugins-base-app \=20 gst-plugins-base \=20 gst-plugins-good \=20 gst-plugins-good-rtsp \=20 gst-plugins-good-udp \=20 gst-plugins-good-rtpmanager \=20 gst-plugins-good-rtp \=20 gst-plugins-good-video4linux2 \=20 qtbase-fonts \=20 qtbase-plugins \=20 qtbase-tools \=20 qtbase-examples \=20 qtdeclarative \=20 qtdeclarative-plugins \=20 qtdeclarative-tools \=20 qtdeclarative-examples \=20 qtdeclarative-qmlplugins \=20 qtmultimedia \=20 qtmultimedia-plugins \=20 qtmultimedia-examples \=20 qtmultimedia-qmlplugins \=20 qtsvg \=20 qtsvg-plugins \=20 qtsensors \=20 qtimageformats-plugins \=20 qtsystems \=20 qtsystems-tools \=20 qtsystems-examples \=20 qtsystems-qmlplugins \=20 qtscript \=20 qt3d \=20 qt3d-examples \=20 qt3d-qmlplugins \=20 qt3d-tools \=20 qtwebkit \=20 qtwebkit-examples-examples \=20 qtwebkit-qmlplugins \=20 chromium \=20 cinematicexperience \=20 "=20 =20 Everything compiles ok, but if we add or try to compile separately =20 qtWayland, we get this error:=20 =20 | compiling =20 /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-g= nueabi/qtwayland/5.3.2-r0/git/src/plugins/platforms/qwayland-xcomposite-egl= /main.cpp=20 | =20 /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-g= nueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl= /qwaylandxcompositeeglwindow.cpp: =20 In member function 'void QWaylandXCompositeEGLWindow::createEglSurface()':=20 | =20 /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-g= nueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl= /qwaylandxcompositeeglwindow.cpp:125:93: =20 error: invalid conversion from 'Window {aka long unsigned int}' to =20 'EGLNativeWindowType {aka _FBWindow*}' [-fpermissive]=20 | =C2=A0 =C2=A0 =C2=A0m_surface =3D =20 eglCreateWindowSurface(m_glxIntegration->eglDisplay(), m_config, =20 m_xWindow,0);=20 | ^=20 | In file included from =20 /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-g= nueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl= /qwaylandxcompositeeglclientbufferintegration.h:59:0,=20 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from =20 /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-g= nueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl= /qwaylandxcompositeeglwindow.h:48,=20 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from =20 /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-g= nueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl= /qwaylandxcompositeeglwindow.cpp:42:=20 | =20 /opt/Freescale/yocto-master/build/tmp/sysroots/wandboard-quad/usr/include/E= GL/egl.h:264:31: =20 note: initializing argument 3 of 'void* =20 eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const =20 EGLint*)'=20 | =C2=A0EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy= , =20 EGLConfig config,=20 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^=20 | =20 /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-g= nueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl= /qwaylandxcompositeeglclientbufferintegration.cpp: =20 In static member function 'static void =20 QWaylandXCompositeEGLClientBufferIntegration::rootInformation(void*, =20 qt_xcomposite*, const char*, uint32_t)':=20 | =20 /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-g= nueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl= /qwaylandxcompositeeglclientbufferintegration.cpp:137:67: =20 error: cannot convert 'Display* {aka _XDisplay*}' to =20 'EGLNativeDisplayType {aka _FBDisplay*}' for argument '1' to 'void* =20 eglGetDisplay(EGLNativeDisplayType)'=20 | =C2=A0 =C2=A0 =C2=A0integration->mEglDisplay =3D eglGetDisplay(integratio= n->mDisplay);=20 | ^=20 | make[4]: *** [.obj/qwaylandxcompositeeglclientbufferintegration.o] Error = 1=20 | make[4]: *** Waiting for unfinished jobs....=20 | make[4]: *** [.obj/qwaylandxcompositeeglwindow.o] Error 1=20 | make[4]: Leaving directory =20 `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-= gnueabi/qtwayland/5.3.2-r0/build/src/plugins/platforms/qwayland-xcomposite-= egl'=20 | make[3]: *** [sub-qwayland-xcomposite-egl-make_first-ordered] Error 2=20 | make[3]: Leaving directory =20 `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-= gnueabi/qtwayland/5.3.2-r0/build/src/plugins/platforms'=20 | make[2]: *** [sub-platforms-make_first] Error 2=20 | make[2]: *** Waiting for unfinished jobs....=20 | make[5]: Leaving directory =20 `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-= gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration/compositor= /xcomposite-egl'=20 | make[4]: *** [sub-xcomposite-egl-make_first] Error 2=20 | make[4]: Leaving directory =20 `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-= gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration/compositor= '=20 | make[3]: *** [sub-compositor-make_first] Error 2=20 | make[3]: Leaving directory =20 `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-= gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration'=20 | make[2]: *** [sub-hardwareintegration-make_first] Error 2=20 | make[2]: Leaving directory =20 `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-= gnueabi/qtwayland/5.3.2-r0/build/src/plugins'=20 | make[1]: *** [sub-plugins-make_first-ordered] Error 2=20 | make[1]: Leaving directory =20 `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-= gnueabi/qtwayland/5.3.2-r0/build/src'=20 | make: *** [sub-src-make_first] Error 2=20 | ERROR: oe_runmake failed=20 | WARNING: exit code 1 from a shell command.=20 | ERROR: Function failed: do_compile (log file is located at =20 /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-g= nueabi/qtwayland/5.3.2-r0/temp/log.do_compile.28308)=20 =20 =20 Anybody who has faced this issue?=20 I have this error with Qt 5.4.1 (meta-qt5 layer master branch with Yocto di= zzy) right now. Could you solve this build issue? Cheers - Benjamin Federau = --=-SH9XxrbXrEgRE7Nuc5kD Content-Type: text/html; charset="utf-8" Hi,

Ruben Morgade <rmorgade@arantia.com> , 13.10.2014 13:14:
Dear all,

We are trying to test Qt5+wayland on a wandboard quad. We are using:

fsl-community-bsp in master branch
meta-qt5 in master branch

Everything up-to-date.

We are able to generate the core-image-weston with some extra features
as per the following local.conf file:

MACHINE ??= 'wandboard-quad'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"

BB_NUMBER_THREADS = '16'
PARALLEL_MAKE = '-j 16'

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = ""

LICENSE_FLAGS_WHITELIST += "commercial"

DISTRO_FEATURES_append = " wayland opengl"
DISTRO_FEATURES_remove = " x11 directfb"

IMAGE_INSTALL_append = " \
firmware-imx-vpu-imx6q \
firmware-imx-vpu-imx6d \
"
IMAGE_INSTALL_append = " \
cpufrequtils \
nano \
packagegroup-fsl-gstreamer-full \
packagegroup-fsl-tools-testapps \
packagegroup-fsl-tools-benchmark \
gstreamer \
packagegroup-fslc-gstreamer1.0-full \
python-smartpm \
gst-plugins-base-app \
gst-plugins-base \
gst-plugins-good \
gst-plugins-good-rtsp \
gst-plugins-good-udp \
gst-plugins-good-rtpmanager \
gst-plugins-good-rtp \
gst-plugins-good-video4linux2 \
qtbase-fonts \
qtbase-plugins \
qtbase-tools \
qtbase-examples \
qtdeclarative \
qtdeclarative-plugins \
qtdeclarative-tools \
qtdeclarative-examples \
qtdeclarative-qmlplugins \
qtmultimedia \
qtmultimedia-plugins \
qtmultimedia-examples \
qtmultimedia-qmlplugins \
qtsvg \
qtsvg-plugins \
qtsensors \
qtimageformats-plugins \
qtsystems \
qtsystems-tools \
qtsystems-examples \
qtsystems-qmlplugins \
qtscript \
qt3d \
qt3d-examples \
qt3d-qmlplugins \
qt3d-tools \
qtwebkit \
qtwebkit-examples-examples \
qtwebkit-qmlplugins \
chromium \
cinematicexperience \
"

Everything compiles ok, but if we add or try to compile separately
qtWayland, we get this error:

| compiling
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/plugins/platforms/qwayland-xcomposite-egl/main.cpp
|
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:
In member function 'void QWaylandXCompositeEGLWindow::createEglSurface()':
|
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:125:93:
error: invalid conversion from 'Window {aka long unsigned int}' to
'EGLNativeWindowType {aka _FBWindow*}' [-fpermissive]
|      m_surface =
eglCreateWindowSurface(m_glxIntegration->eglDisplay(), m_config,
m_xWindow,0);
| ^
| In file included from
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.h:59:0,
|                  from
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.h:48,
|                  from
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:42:
|
/opt/Freescale/yocto-master/build/tmp/sysroots/wandboard-quad/usr/include/EGL/egl.h:264:31:
note: initializing argument 3 of 'void*
eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const
EGLint*)'
|  EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy,
EGLConfig config,
|                                ^
|
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp:
In static member function 'static void
QWaylandXCompositeEGLClientBufferIntegration::rootInformation(void*,
qt_xcomposite*, const char*, uint32_t)':
|
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp:137:67:
error: cannot convert 'Display* {aka _XDisplay*}' to
'EGLNativeDisplayType {aka _FBDisplay*}' for argument '1' to 'void*
eglGetDisplay(EGLNativeDisplayType)'
|      integration->mEglDisplay = eglGetDisplay(integration->mDisplay);
| ^
| make[4]: *** [.obj/qwaylandxcompositeeglclientbufferintegration.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| make[4]: *** [.obj/qwaylandxcompositeeglwindow.o] Error 1
| make[4]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/platforms/qwayland-xcomposite-egl'
| make[3]: *** [sub-qwayland-xcomposite-egl-make_first-ordered] Error 2
| make[3]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/platforms'
| make[2]: *** [sub-platforms-make_first] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[5]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration/compositor/xcomposite-egl'
| make[4]: *** [sub-xcomposite-egl-make_first] Error 2
| make[4]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration/compositor'
| make[3]: *** [sub-compositor-make_first] Error 2
| make[3]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration'
| make[2]: *** [sub-hardwareintegration-make_first] Error 2
| make[2]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins'
| make[1]: *** [sub-plugins-make_first-ordered] Error 2
| make[1]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src'
| make: *** [sub-src-make_first] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/temp/log.do_compile.28308)


Anybody who has faced this issue?

I have this error with Qt 5.4.1 (meta-qt5 layer master branch with Yocto dizzy) right now.

Could you solve this build issue?


Cheers
-
Benjamin Federau

--=-SH9XxrbXrEgRE7Nuc5kD--