I was trying to create sdk for Weston wayland image but iam facing these errors
as shown below:
bitbake -c populate_sdk core-image-weston-pdm3
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-pdm3-linux"
MACHINE = "pdm3-rev-b-zynqmp"
DISTRO = "pdm3-linux"
DISTRO_VERSION = "0.2.0.0"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky
meta-selftest
meta-skeleton
meta-yocto-bsp = "rocko:2731fd35d5570263bc004ab16acf4acb0d94422b"
meta-xilinx-bsp
meta-xilinx-contrib = "rel-v2018.1:e7a6531bd8fc9ce5797be082c8478a2701c3766a"
meta-xilinx-tools = "rel-v2018.1:93d6b87bdc451ee81d6d716809e0d7e9bc3b7021"
meta-oe
meta-perl
meta-python
meta-multimedia
meta-networking
meta-filesystems
meta-webserver = "rocko:352531015014d1957d6444d114f4451e241c4d23"
meta-ifm-pdm3-bsp
meta-ifm-pdm3 =
"rocko-2.4-xlnx2018.1+wayland:8008e389aeda83088c57577471bf040221255887"
meta-qt5 = "rocko:682ad61c071a9710e9f9d8a32ab1b5f3c14953d1"
meta-codesys = "master:08029b5f9add1c414e6341bcea52fe532fb3c6b7"
Initialising tasks: 100%
|###############################################################################################################################################################################################|
Time: 0:00:06
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: qtwayland-5.9.6+gitAUTOINC+8c5999644c-r0 do_configure: Error calling
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/recipe-sysroot-native/usr/bin/qt5/qmake
-makefile -o Makefile
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/git/qtwayland.pro
-- -no-feature-drm-egl-server -no-feature-libhybris-egl-server
-no-feature-wayland-brcm -feature-wayland-client -feature-wayland-egl
-feature-wayland-server -feature-xcomposite-egl -feature-xcomposite-glx
ERROR: qtwayland-5.9.6+gitAUTOINC+8c5999644c-r0 do_configure: Function failed:
do_configure (log file is located at
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/temp/log.do_configure.3215)
ERROR: Logfile of failure stored in:
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/temp/log.do_configure.3215
Log data follows:
| DEBUG: Executing shell function qmake5_base_preconfigure
| Previously configured separate build directory detected, cleaning
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/build
| DEBUG: Shell function qmake5_base_preconfigure finished
| DEBUG: Executing shell function do_configure
| NOTE: qmake prevar substitution: ' '
| NOTE: qmake configure substitution: ' -no-feature-drm-egl-server
-no-feature-libhybris-egl-server -no-feature-wayland-brcm
-feature-wayland-client -feature-wayland-egl -feature-wayland-server
-feature-xcomposite-egl -feature-xcomposite-glx'
| Info: creating stash file
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/build/.qmake.stash
| Info: creating cache file
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/build/.qmake.cache
|
| Running configuration tests...
| Checking for Wayland client library... yes
| Checking for Wayland cursor library... yes
| Checking for wayland-scanner... yes
| Checking for Wayland EGL library... yes
| Checking for XComposite... yes
| Checking for wayland-server... yes
| Done running configuration tests.
|
| Configure summary:
|
| Qt Wayland Drivers:
| EGL .................................... yes
| Raspberry Pi ........................... no
| XComposite EGL ......................... yes
| XComposite GLX ......................... no
| DRM EGL ................................ no
| libhybris EGL .......................... no
| Qt Wayland Client ........................ yes
| Qt Wayland Compositor .................... yes
|
| ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition
'features.wayland-client && features.opengl && !features.opengles2 &&
features.xlib && libs.xcomposite && libs.glx' failed.
|
| ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition
'features.wayland-server && features.opengl && !features.opengles2 &&
libs.xcomposite && libs.glx' failed.
|
| Check config.log for details.
| ERROR: Error calling
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/recipe-sysroot-native/usr/bin/qt5/qmake
-makefile -o Makefile
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/git/qtwayland.pro
-- -no-feature-drm-egl-server -no-feature-libhybris-egl-server
-no-feature-wayland-brcm -feature-wayland-client -feature-wayland-egl
-feature-wayland-server -feature-xcomposite-egl -feature-xcomposite-glx
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/temp/log.do_configure.3215)
ERROR: Task
(/home/iepl/work/yocto_build/poky/../meta-qt5/recipes-qt/qt5/qtwayland_git.bb:do_configure)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 6246 tasks of which 6228 didn't need to be rerun
and 1 failed.
NOTE: No commit since BUILDHISTORY_COMMIT != '1'
Summary: 1 task failed:
/home/iepl/work/yocto_build/poky/../meta-qt5/recipes-qt/qt5/qtwayland_git.bb:do_configure
Summary: There were 5 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
The log file is shown below :
DEBUG: Executing shell function qmake5_base_preconfigure
Previously configured separate build directory detected, cleaning
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/build
DEBUG: Shell function qmake5_base_preconfigure finished
DEBUG: Executing shell function do_configure
NOTE: qmake prevar substitution: ' '
NOTE: qmake configure substitution: ' -no-feature-drm-egl-server
-no-feature-libhybris-egl-server -no-feature-wayland-brcm
-feature-wayland-client -feature-wayland-egl -feature-wayland-server
-feature-xcomposite-egl -feature-xcomp$
Info: creating stash file
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/build/.qmake.stash
Info: creating cache file
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/build/.qmake.cache
Running configuration tests...
Checking for Wayland client library... yes
Checking for Wayland cursor library... yes
Checking for wayland-scanner... yes
Checking for Wayland EGL library... yes
Checking for XComposite... yes
Checking for wayland-server... yes
Done running configuration tests.
Configure summary:
Qt Wayland Drivers:
EGL .................................... yes
Raspberry Pi ........................... no
XComposite EGL ......................... yes
XComposite GLX ......................... no
DRM EGL ................................ no
libhybris EGL .......................... no
Qt Wayland Client ........................ yes
Qt Wayland Compositor .................... yes
ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition
'features.wayland-client && features.opengl && !features.opengles2 &&
features.xlib && libs.xcomposite && libs.glx' failed.
ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition
'features.wayland-server && features.opengl && !features.opengles2 &&
libs.xcomposite && libs.glx' failed.
Check config.log for details.
ERROR: Error calling
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/recipe-sysroot-native/usr/bin/qt5/qmake
-makefile -o Makefile /home/iepl/work/yocto_build$
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_configure (log file is located at
/home/iepl/work/yocto_build/poky/build-weston/tmp/work/aarch64-pdm3-linux/qtwayland/5.9.6+gitAUTOINC+8c5999644c-r0/temp/log.do_configure.3215)
I am guessing my layer has qtbase_git.bb append file which includes :
PACKAGECONFIG_remove = " gl"
PACKAGECONFIG_append_pn-qtbase = " accessibility"
PACKAGECONFIG_append = " fontconfig freetype linuxfb"
PACKAGECONFIG_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl',
'gles2', '', d)} "
Now I found in some other yocto mailing list that if qtbase_git .bbappend has
DISTRO_FEATURES ''gles2" both xcomposite-glx and xcomposite-egl cannot be
enabled in qtwayland.bb file
So which xcomposite should be removed.
I tried removing xcomposite-glx and was able to create sdk but while testing
my qt application after compiling that sdk it gave some errors as follows:
This application failed to start because it could not find or load the Qt
platform plugin "wayland" in ".
available platform plugins are: linuxfd, minimal, offscreen, vnc, scb.
Reinstalling the application may fix this problem.
So what configuration should I use to build a successful Weston wayland image
for QT.
Or what changes do I need to do in sdk to successfully launch wayland
-----Original Message-----
From: [email protected] <[email protected]> On Behalf
Of [email protected]
Sent: 29 August 2018 02:56
To: [email protected]
Subject: yocto Digest, Vol 95, Issue 86
Send yocto mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_listinfo_yocto&d=DwICAg&c=riR7jviByh3sGm7GIiSlHkFN0_aSATB6A8x0nHa2EM0&r=B4t2KSJ3IM1b9sK9gvCmTFe5JX-rxgD15fYh5lG11MM&m=mns8g05cUibniMeGPSlqnU99Sp7kr-xPEowhK_JQg84&s=bTHU9SeOPtfI3FO8vPqbkrvR4ArVcNC4VuZy6ry5gfc&e=
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific than "Re:
Contents of yocto digest..."
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto