From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id EAD9FE0088A; Mon, 13 Oct 2014 04:12:59 -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 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] X-Greylist: delayed 482 seconds by postgrey-1.32 at yocto-www; Mon, 13 Oct 2014 04:12:47 PDT Received: from mailext0.televes.com (mailext0.televes.com [212.163.42.140]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 09ADAE00896 for ; Mon, 13 Oct 2014 04:12:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mailext0.televes.com (Postfix) with ESMTP id 6A1259A3F20 for ; Mon, 13 Oct 2014 13:04:43 +0200 (CEST) X-Virus-Scanned: by amavisd-new at mailext0.televes.com Received: from mailext0.televes.com ([127.0.0.1]) by localhost (mailext0.televes.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2fksJFY4u0mX for ; Mon, 13 Oct 2014 13:04:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailext0.televes.com (Postfix) with ESMTP id 2745F9A3F3C for ; Mon, 13 Oct 2014 13:04:43 +0200 (CEST) Received: from tves0.televes.com (tvesbackup0 [212.163.42.137]) by mailext0.televes.com (Postfix) with ESMTP id 160BD9A3F20 for ; Mon, 13 Oct 2014 13:04:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by tves0.televes.com (Postfix) with ESMTP id 47912F021C94F for ; Mon, 13 Oct 2014 13:04:42 +0200 (CEST) Received: from arantia1.arantia.com (ARANTIA0.televes.com [192.168.178.2]) by tves0.televes.com (Postfix) with ESMTP id 41000F021C94E for ; Mon, 13 Oct 2014 13:04:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by arantia1.arantia.com (Postfix) with ESMTP id 19AB5161A37F for ; Mon, 13 Oct 2014 13:04:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by arantia1.arantia.com (Postfix) with ESMTP id E7CB7161DB2A for ; Mon, 13 Oct 2014 13:04:41 +0200 (CEST) Received: from arantia1.arantia.com ([127.0.0.1]) by localhost (arantia0 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24624-03 for ; Mon, 13 Oct 2014 13:04:41 +0200 (CEST) Received: from [192.168.178.218] (unknown [192.168.178.1]) by arantia1.arantia.com (Postfix) with ESMTP id EA30B161A37F for ; Mon, 13 Oct 2014 13:04:40 +0200 (CEST) Message-ID: <543BB1C9.1040205@arantia.com> Date: Mon, 13 Oct 2014 13:04:41 +0200 From: Ruben Morgade User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org Subject: 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: Mon, 13 Oct 2014 11:13:00 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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? Kind Regards, Ruben