Steps to reproduce:
$ mkdir openstlinux-4.19-thud-mp1-19-10-09
$ cd openstlinux-4.19-thud-mp1-19-10-09
$ repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-4.19-thud-mp1-19-10-09
$ repo sync
$ DISTRO=openstlinux-x11 MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh
Accept the Eula Terms then:
$ bitbake-layers layerindex-fetch meta-qt5-extra
$ bitbake-layers show-layers
This should look like this::
NOTE: Starting bitbake server...
layer path priority
==========================================================================
meta-python /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-openembedded/meta-python 7
meta-oe /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-openembedded/meta-oe 6
meta-oe /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-openembedded/meta-oe 6
meta-gnome /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-openembedded/meta-gnome 7
meta-xfce /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-openembedded/meta-xfce 7
meta-initramfs /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-openembedded/meta-initramfs 8
meta-multimedia /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-openembedded/meta-multimedia 6
meta-networking /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-openembedded/meta-networking 5
meta-webserver /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-openembedded/meta-webserver 6
meta-filesystems /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-openembedded/meta-filesystems 6
meta-perl /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-openembedded/meta-perl 6
meta-python /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-openembedded/meta-python 7
meta-st-stm32mp /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-st/meta-st-stm32mp 6
meta-qt5 /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-qt5 7
meta-st-openstlinux /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-st/meta-st-openstlinux 5
meta /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/openembedded-core/meta 5
meta-qt5-extra /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/openembedded-core/meta-qt5-extra 20
Make sure the repos are checked out with <refs/tags/openstlinux-4.19-thud-mp1-19-10-09> if possible.
Branches:
project layers/openembedded-core/meta-qt5-extra/ branch origin/master
project layers/meta-qt5/ branch github/master
project layers/meta-st/meta-st-openstlinux/ branch refs/tags/openstlinux-4.19-thud-mp1-19-10-09
project layers/meta-openembedded/ branch refs/tags/openstlinux-4.19-thud-mp1-19-10-09
project layers/meta-st/meta-st-stm32mp/ branch refs/tags/openstlinux-4.19-thud-mp1-19-10-09
project layers/meta-st/scripts/ branch refs/tags/openstlinux-4.19-thud-mp1-19-10-09
project layers/openembedded-core/ branch refs/tags/openstlinux-4.19-thud-mp1-19-10-09
project layers/meta-timesys/ branch refs/tags/openstlinux-4.19-thud-mp1-19-10-09
project layers/openembedded-core/bitbake/ branch refs/tags/openstlinux-4.19-thud-mp1-19-10-09
I configured the plasma-mobile into <VIRTUAL-RUNTIME_graphical_init_manager>
$ vi ../layers/meta-st/meta-st-openstlinux/conf/distro/openstlinux-x11.conf
require include/st-default-distro-rules.inc
require include/st-default-distro-providers.inc
require include/openstlinux.inc
DISTRO = "openstlinux-x11"
DISTRO_NAME = "ST OpenSTLinux - X11 - (A Yocto Project Based Distro)"
TARGET_VENDOR = "-openstlinux_x11"
SDK_VENDOR = "-openstlinux_x11_sdk"
DISTRO_FEATURES_append = " opengl"
DISTRO_FEATURES_append = " gplv3 qt5 kde"
VIRTUAL-RUNTIME_graphical_init_manager = "plasma-mobile"
I launch my build with:
$ bitbake -k st-example-image-x11
I endup having 7 errors witch 6 are from the layer meta-qt-extra that is compatible with thud:
Summary: 7 tasks failed:
/home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/openembedded-core/meta-qt5-extra/recipes-kde/plasma/tier1/kdecoration/kdecoration.bb:do_configure
/home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/openembedded-core/meta-qt5-extra/recipes-kde/kf5/tier1/kplotting/kplotting.bb:do_configure
/home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/openembedded-core/meta-qt5-extra/recipes-kde/kf5/tier1/kitemviews/kitemviews.bb:do_configure
/home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/openembedded-core/meta-qt5-extra/recipes-kde/kf5/tier1/sonnet/sonnet.bb:do_configure
/home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/openembedded-core/meta-qt5-extra/recipes-kde/plasma/untier/libkscreen/libkscreen.bb:do_configure
/home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/meta-qt5/recipes-qt/qt5/qtwayland_git.bb:do_configure
/home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/layers/openembedded-core/meta-qt5-extra/recipes-kde/kf5/tier2/kfilemetadata/kfilemetadata.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 8 ERROR messages shown, returning a non-zero exit code.
Some details:
- kdecoration.bb:do_configure log shows:
| The following configuration files were considered but not accepted:
|
| /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/build-openstlinuxx11-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_x11-linux-gnueabi/kdecoration/5.16.5-r0/recipe-sysroot/usr/lib/cmake/Qt5/Qt5Config.cmake, version: 5.11.3
| /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/build-openstlinuxx11-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_x11-linux-gnueabi/kdecoration/5.16.5-r0/recipe-sysroot-native/usr/lib/cmake/Qt5/Qt5Config.cmake, version: 5.11.3
- kplotting.bb log shows:
| -- The following REQUIRED packages have not been found:
|
| * Qt5UiPlugin
| Required to build Qt Designer plugins
- sonnet.bb log shows:
| -- The following REQUIRED packages have not been found:
|
| * Qt5UiPlugin
| Required to build Qt Designer plugins
- libkscreen.bb
| The following configuration files were considered but not accepted:
|
| /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/build-openstlinuxx11-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_x11-linux-gnueabi/libkscreen/5.16.5-r0/recipe-sysroot/usr/lib/cmake/Qt5/Qt5Config.cmake, version: 5.11.3
| /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/build-openstlinuxx11-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_x11-linux-gnueabi/libkscreen/5.16.5-r0/recipe-sysroot-native/usr/lib/cmake/Qt5/Qt5Config.cmake, version: 5.11.3
- qtwayland_git.bb:
| 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.
- kfilemetadata :
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/ns/Documents/stm32/distribution-package/openstlinux-4.19-thud-mp1-19-10-09/build-openstlinuxx11-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_x11-linux-gnueabi/kfilemetadata/5.62.0-r0/temp/log.do_compile.11046)
Anyone can help me? Thanks