2024-08-12 03:47 AM - edited 2024-08-12 03:48 AM
Hi ST Community, @Erwan SZYMANSKI
I’ve been working on integrating a Qt example from ~/Qt/Examples/Qt-6.7.2/quickcontrols/imagine into my custom Yocto layer for an STM32 board. I created a recipe for this and updated my local.conf accordingly. After building the image and flashing it to my board, I encountered the following error when running the application. I have added my .bb recipe file and local.conf file. (I have qt5 layer installed too)
nesnes@nesnes-ABRA-A5-V19-2:~/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco$ bitbake automotive
NOTE: Started PRServer with DBfile: /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/cache/prserv.sqlite3, Address: 127.0.0.1:33289, PID: 89725
Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00
Loaded 4703 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-ostl-linux-gnueabi"
MACHINE = "stm32mp15-disco"
DISTRO = "openstlinux-weston"
DISTRO_VERSION = "4.2.4-snapshot-20240812"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
DISTRO_CODENAME = "mickledore"
ACCEPT_EULA_stm32mp15-disco = "1"
GCCVERSION = "12.%"
PREFERRED_PROVIDER_virtual/kernel = "linux-stm32mp"
meta-python
meta-oe
meta-gnome
meta-multimedia
meta-networking
meta-webserver = "HEAD:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626"
meta-st-stm32mp = "HEAD:1f152e07019dc06fd331b4926ec7e76ceae3d259"
meta-st-openstlinux = "HEAD:2636960b2bead3d1cb294e378e2b06ef8997189e"
meta = "HEAD:23b5141400b2c676c806df3308f023f7c04e34e0"
meta-my-layer = "<unknown>:<unknown>"
meta-st-x-linux-qt = "v1.0.0:1e51cb49240116fb512deccd8f6bad551918f866"
meta-qt5 = "scarthgap:eb828418264a49b8d00035cb3d7b12fcea3be801"
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 94 Local 94 Mirrors 0 Missed 0 Current 888 (100% match, 100% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 2633 tasks of which 2633 didn't need to be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds
automotive: error while loading shared libraries: libGLESv2.so.2: cannot open shared object file: No such file or directory
root@stm32mp15-disco:~# automotive
automotive: error while loading shared libraries: libGLESv2.so.2: cannot open shared object file: No such file or directory
root@stm32mp15-disco:~# apt-get install libGLESv2
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package libGLESv2
root@stm32mp15-disco:~# automotive
automotive: error while loading shared libraries: libGLESv2.so.2: cannot open shared object file: No such file or directory
root@stm32mp15-disco:~# apt-get install libGLESv2.so.2
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package libGLESv2.so.2
E: Couldn't find any package by glob 'libGLESv2.so.2'
E: Couldn't find any package by regex 'libGLESv2.so.2'
root@stm32mp15-disco:~# sudo apt-get install -y libgles2-mesa-dev
-sh: sudo: command not found
root@stm32mp15-disco:~# apt-get install -y libgles2-mesa-dev
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package libgles2-mesa-dev
root@stm32mp15-disco:~# sudo apt-get install libegl1-mesa
-sh: sudo: command not found
root@stm32mp15-disco:~# apt-get install libgles2-mesa
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package libgles2-mesa
root@stm32mp15-disco:~# apt-get update
Reading package lists... Done
root@stm32mp15-disco:~# apt-cache search libgles2
libgles2-gcnano - Vivante libraries OpenGL ES, OpenVG and EGL (multi backend)
root@stm32mp15-disco:~# apt-get install libgles2-mesa-dev
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package libgles2-mesa-dev
root@stm32mp15-disco:~# apt-get install libgles2-gcnano
Reading package lists... Done
Building dependency tree... Done
libgles2-gcnano is already the newest version (6.4.15+20240206-r0.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
IMAGE_INSTALL += " gettemp"
IMAGE_INSTALL += " automotive"
DISTRO_FEATURES += " wayland"
IMAGE_INSTALL += " opkg grep"
IMAGE_INSTALL += " libgles2"
IMAGE_INSTALL += " qtbase qtwayland qtquickcontrols2 qtdeclarative gcnano-userland-multi-binary-stm32mp "
CORE_IMAGE_EXTRA_INSTALL += " wayland weston"
SUMMARY = "QT automotive recipe"
DESCRIPTION = "Recipe to build and install automotive application using Qt"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
# Source files location
SRC_URI = "file://src"
# Define dependencies
DEPENDS += "qtbase qtdeclarative qtquickcontrols2 wayland gcnano-userland-multi-binary-stm32mp"
# Source directory
S = "${WORKDIR}/src"
# Inherit necessary classes
inherit qmake5
# Build steps
do_configure() {
# Change to the source directory where automotive.pro is located
cd ${S}
# Ensure that qmake is run on the correct .pro file
${OE_QMAKE_QMAKE} ${S}/automotive.pro
}
do_compile() {
# Run the build command in the source directory
cd ${S}
${MAKE}
}
# Install steps
do_install() {
# Create installation directory
install -d ${D}${bindir}
# Install the compiled binary
install -m 0755 ${S}/automotive ${D}${bindir}
}
# Specify installed files
FILES_${PN} += "${bindir}/automotive"
# Ensure the correct architecture for cross-compiling
TARGET_ARCH = "arm"
Solved! Go to Solution.
2024-08-15 07:01 AM - edited 2024-08-15 07:16 AM
@Erwan SZYMANSKI Yes of course
Add X-LINUX-QT layer or not ?
Yes , it was added in my layers until half an hour ago (before I realized X-LINUX-QT layer may not be supported for my board and only supported for mp2 series https://wiki.st.com/stm32mpu/wiki/X-LINUX-QT_Expansion_Package but in the githup page sad that my STM32MP157F-DK2 board is supported ) so I removed it and left only with meta-qt5 layer for now.
You DISTRO and MACHINE, as well as the image you build (I saw st-image-qt )
The main image I built is st-image-weston and I flashed this image with the added layers. DISTRO = "openstlinux-weston" MACHINE = "stm32mp15-disco"
Your personal things added into the config (local.conf modification, personal layer etc...)
In the beginning there was my layer added but after I restarted from scratch I removed them to test only the meta-qt5 layer and X-LINUX-QT layer.
my bblayer.conf was modified with the layer lines
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "7"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
OEROOT := "${@os.path.abspath(os.path.dirname(d.getVar('FILE')) + '/../..')}"
#--------------------------
# Layers var definition for buildsystem
#
OPENEMBEDDED = "${OPENEMBEDDED_NON_REMOVABLE}"
OPENEMBEDDED_NON_REMOVABLE = "${OEROOT}/layers/openembedded-core/meta"
POKY = "${POKY_NON_REMOVABLE}"
POKY += "${OEROOT}/layers/poky/meta-yocto-bsp"
POKY_NON_REMOVABLE = "${OEROOT}/layers/poky/meta"
#--------------------------
#
BASELAYERS ?= " \
${OEROOT}/layers/meta-openembedded/meta-gnome \
${OEROOT}/layers/meta-openembedded/meta-multimedia \
${OEROOT}/layers/meta-openembedded/meta-networking \
${OEROOT}/layers/meta-openembedded/meta-webserver \
"
BBLAYERS_NON_REMOVABLE ?= " \
${@'${OPENEMBEDDED_NON_REMOVABLE}' if os.path.isfile('${OEROOT}/layers/openembedded-core/meta/conf/layer.conf') else '${POKY_NON_REMOVABLE}'} \
"
BSPLAYER ?= " \
${@'${OEROOT}/layers/meta-st/meta-st-cannes2' if os.path.isfile('${OEROOT}/layers/meta-st/meta-st-cannes2/conf/layer.conf') else ''} \
${@'${OEROOT}/layers/meta-st/meta-st-stm32mp' if os.path.isfile('${OEROOT}/layers/meta-st/meta-st-stm32mp/conf/layer.conf') else ''} \
"
ADDONSLAYERS = ""
# linaro
ADDONSLAYERS += "${@'${OEROOT}/layers/meta-linaro/meta-linaro' if os.path.isfile('${OEROOT}/layers/meta-linaro/meta-linaro/conf/layer.conf') else ''}"
ADDONSLAYERS += "${@'${OEROOT}/layers/meta-linaro/meta-linaro-toolchain' if os.path.isfile('${OEROOT}/layers/meta-linaro/meta-linaro-toolchain/conf/layer.conf') else ''}"
ADDONSLAYERS += "${@'${OEROOT}/layers/meta-openembedded/meta-networking' if os.path.isfile('${OEROOT}/layers/meta-linaro/meta-linaro/conf/layer.conf') else ''}"
# Security layer
ADDONSLAYERS += " \
${@'${OEROOT}/layers/meta-security \
${OEROOT}/layers/meta-openembedded/meta-filesystems \
${OEROOT}/layers/meta-openembedded/meta-perl \
${OEROOT}/layers/meta-security/meta-tpm' \
if os.path.isfile('${OEROOT}/layers/meta-security/conf/layer.conf') else ''} \
"
# specific to framework
FRAMEWORKLAYERS += "${@'${OEROOT}/layers/meta-st/meta-st-openstlinux' if os.path.isfile('${OEROOT}/layers/meta-st/meta-st-openstlinux/conf/layer.conf') else ''}"
# add BSP layer
BBLAYERS += " \
${BASELAYERS} \
${BSPLAYER} \
${ADDONSLAYERS} \
${FRAMEWORKLAYERS} \
${@'${OPENEMBEDDED}' if os.path.isfile('${OEROOT}/layers/openembedded-core/meta/conf/layer.conf') else '${POKY}'} \
"
# BSP dependencies"
BBLAYERS =+ "/home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/meta-qt5"
BBLAYERS =+ "/home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/meta-st/meta-st-x-linux-qt"
BBLAYERS =+ "/home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/meta-openembedded/meta-oe"
BBLAYERS =+ "/home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/meta-openembedded/meta-python"
When I only add the layers I don't have problem
esnes@nesnes-ABRA-A5-V19-2:~/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco$ bitbake st-image-weston
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)... (16:31:28.336909)
NOTE: Started PRServer with DBfile: /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/cache/prserv.sqlite3, Address: 127.0.0.1:44957, PID: 226921
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
NOTE: /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-resize-initrd.bb: ENABLE_PARTITIONS_IMAGE not enabled | ETA: 0:00:25
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:30
Parsing of 2958 .bb files complete (0 cached, 2958 parsed). 4700 targets, 536 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-ostl-linux-gnueabi"
MACHINE = "stm32mp15-disco"
DISTRO = "openstlinux-weston"
DISTRO_VERSION = "4.2.4-snapshot-20240815"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
DISTRO_CODENAME = "mickledore"
ACCEPT_EULA_stm32mp15-disco = "1"
GCCVERSION = "12.%"
PREFERRED_PROVIDER_virtual/kernel = "linux-stm32mp"
meta-python
meta-oe = "<unknown>:<unknown>"
meta-st-x-linux-qt = "v1.0.0:1e51cb49240116fb512deccd8f6bad551918f866"
meta-qt5 = "scarthgap:eb828418264a49b8d00035cb3d7b12fcea3be801"
meta-gnome
meta-multimedia
meta-networking
meta-webserver
meta-st-stm32mp
meta-st-openstlinux
meta = "<unknown>:<unknown>"
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 381 Local 369 Mirrors 0 Missed 12 Current 2852 (96% match, 99% complete)
Removing 7 stale sstate objects for arch stm32mp15_disco: 100% |#############################################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 7925 tasks of which 7887 didn't need to be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds
but when I add the qtbase to my local.conf to be able to use qt application packets that is required for my application I end up with not working built on my board.
IMAGE_INSTALL += " qbase "
2024-08-15 07:03 AM - edited 2024-08-15 07:16 AM
#
# This file is your local configuration file and is where all local user settings
# are placed. The comments in this file give some guide to the options a new user
# to the system might want to change but pretty much any configuration option can
# be set in this file. More adventurous users can look at
# local.conf.sample.extended which contains other examples of configuration which
# can be placed in this file but new users likely won't need any of them
# initially. There's also site.conf.sample which contains examples of site specific
# information such as proxy server addresses.
#
# Lines starting with the '#' character are commented out and in some cases the
# default values are provided as comments to show people example syntax. Enabling
# the option is a question of removing the # character and making any change to the
# variable as required.
#
# Machine Selection
#
# You need to select a specific machine to target the build with. There are a selection
# of emulated machines available which can boot and run in the QEMU emulator:
#
#MACHINE ?= "qemuarm"
#MACHINE ?= "qemuarm64"
#MACHINE ?= "qemumips"
#MACHINE ?= "qemumips64"
#MACHINE ?= "qemuppc"
#MACHINE ?= "qemux86"
#MACHINE ?= "qemux86-64"
#
# This sets the default machine to be qemux86-64 if no other machine is selected:
#MACHINE ??= "qemux86-64"
MACHINE = "stm32mp15-disco"
# These are some of the more commonly used values. Looking at the files in the
# meta/conf/machine directory, or the conf/machine directory of any additional layers
# you add in will show all the available machines.
#
# Default policy config
#
# The distribution setting controls which policy settings are used as defaults.
# The default value is fine for general Yocto project use, at least initially.
# Ultimately when creating custom policy, people will likely end up subclassing
# these defaults.
#
# This sets the default distribution to be nodistro if no other distribution is selected:
#DISTRO ??= "nodistro"
DISTRO = "openstlinux-weston"
IMAGE_INSTALL += "qtbase"
#
# Where to place downloads
#
# During a first build the system will download many different source code tarballs
# from various upstream projects. This can take a while, particularly if your network
# connection is slow. These are all stored in DL_DIR. When wiping and rebuilding you
# can preserve this directory to speed up this part of subsequent builds. This directory
# is safe to share between multiple builds on the same machine too.
#
# The default is a downloads directory under TOPDIR which is the build directory.
#
#DL_DIR ?= "${TOPDIR}/downloads"
#
# Where to place shared-state files
#
# BitBake has the capability to accelerate builds based on previously built output.
# This is done using "shared state" files which can be thought of as cache objects
# and this option determines where those files are placed.
#
# You can wipe out TMPDIR leaving this directory intact and the build would regenerate
# from these files if no changes were made to the configuration. If changes were made
# to the configuration, only shared state files where the state was still valid would
# be used (done using checksums).
#
# The default is a sstate-cache directory under TOPDIR.
#
#SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
#
# Where to place the build output
#
# This option specifies where the bulk of the building work should be done and
# where BitBake should place its temporary files and output. Keep in mind that
# this includes the extraction and compilation of many applications and the toolchain
# which can use Gigabytes of hard disk space.
#
# The default is a tmp directory under TOPDIR.
#
#TMPDIR = "${TOPDIR}/tmp"
#
# Package Management configuration
#
# This variable lists which packaging formats to enable. Multiple package backends
# can be enabled at once and the first item listed in the variable will be used
# to generate the root filesystems.
# Options are:
# - 'package_deb' for debian style deb files
# - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager)
# - 'package_rpm' for rpm style packages
# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
# We default to ipk:
PACKAGE_CLASSES ?= "package_ipk"
#
# SDK target architecture
#
# This variable specifies the architecture to build SDK items for and means
# you can build the SDK packages for architectures other than the machine you are
# running the build on (i.e. building i686 packages on an x86_64 host).
# Supported values are i686, x86_64, aarch64
#SDKMACHINE ?= "i686"
#
# Extra image configuration defaults
#
# The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated
# images. Some of these options are added to certain image types automatically. The
# variable can contain the following options:
# "dbg-pkgs" - add -dbg packages for all installed packages
# (adds symbol information for debugging/profiling)
# "src-pkgs" - add -src packages for all installed packages
# (adds source code for debugging)
# "dev-pkgs" - add -dev packages for all installed packages
# (useful if you want to develop against libs in the image)
# "ptest-pkgs" - add -ptest packages for all ptest-enabled packages
# (useful if you want to run the package test suites)
# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.)
# "tools-debug" - add debugging tools (gdb, strace)
# "eclipse-debug" - add Eclipse remote debugging support
# "tools-profile" - add profiling tools (oprofile, lttng, valgrind)
# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
# "debug-tweaks" - make an image suitable for development
# e.g. ssh root access has a blank password
# There are other application targets that can be used here too, see
# meta/classes-recipe/image.bbclass and
# meta/classes-recipe/core-image.bbclass for more details.
# We default to enabling the debugging tweaks.
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
#
# Additional image features
#
# The following is a list of additional classes to use when building images which
# enable extra features. Some available options which can be included in this variable
# are:
# - 'buildstats' collect build statistics
USER_CLASSES ?= "buildstats"
#
# Runtime testing of images
#
# The build system can test booting virtual machine images under qemu (an emulator)
# after any root filesystems are created and run tests against those images. It can also
# run tests against any SDK that are built. To enable this uncomment these lines.
# See meta/classes-recipe/test{image,sdk}.bbclass for further details.
#IMAGE_CLASSES += "testimage testsdk"
#TESTIMAGE_AUTO:qemuall = "1"
#
# Interactive shell configuration
#
# Under certain circumstances the system may need input from you and to do this it
# can launch an interactive shell. It needs to do this since the build is
# multithreaded and needs to be able to handle the case where more than one parallel
# process may require the user's attention. The default is iterate over the available
# terminal types to find one that works.
#
# Examples of the occasions this may happen are when resolving patches which cannot
# be applied, to use the devshell or the kernel menuconfig
#
# Supported values are auto, gnome, xfce, rxvt, screen, konsole (KDE 3.x only), none
# Note: currently, Konsole support only works for KDE 3.x due to the way
# newer Konsole versions behave
#OE_TERMINAL = "auto"
# By default disable interactive patch resolution (tasks will just fail instead):
PATCHRESOLVE = "noop"
#
# Disk Space Monitoring during the build
#
# Monitor the disk space during the build. If there is less that 1GB of space or less
# than 100K inodes in any key build location (TMPDIR, DL_DIR, SSTATE_DIR), gracefully
# shutdown the build. If there is less than 100MB or 1K inodes, perform a hard halt
# of the build. The reason for this is that running completely out of space can corrupt
# files and damages the build in ways which may not be easily recoverable.
# It's necessary to monitor /tmp, if there is no space left the build will fail
# with very exotic errors.
BB_NUMBER_THREADS = "8"
PARALLEL_MAKE = "-j 8"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
HALT,${TMPDIR},100M,1K \
HALT,${DL_DIR},100M,1K \
HALT,${SSTATE_DIR},100M,1K \
HALT,/tmp,10M,1K"
#
# Shared-state files from other locations
#
# As mentioned above, shared state files are prebuilt cache data objects which can be
# used to accelerate build time. This variable can be used to configure the system
# to search other mirror locations for these objects before it builds the data itself.
#
# This can be a filesystem directory, or a remote url such as https or ftp. These
# would contain the sstate-cache results from previous builds (possibly from other
# machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the
# cache locations to check for the shared objects.
# NOTE: if the mirror uses the same structure as SSTATE_DIR, you need to add PATH
# at the end as shown in the examples below. This will be substituted with the
# correct path within the directory structure.
#SSTATE_MIRRORS ?= "\
#file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \
#file://.* file:///some/local/dir/sstate/PATH"
#
# Qemu configuration
#
# By default native qemu will build with a builtin VNC server where graphical output can be
# seen. The line below enables the SDL UI frontend too.
PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
# By default libsdl2-native will be built, if you want to use your host's libSDL instead of
# the minimal libsdl built by libsdl2-native then uncomment the ASSUME_PROVIDED line below.
#ASSUME_PROVIDED += "libsdl2-native"
# You can also enable the Gtk UI frontend, which takes somewhat longer to build, but adds
# a handy set of menus for controlling the emulator.
#PACKAGECONFIG:append:pn-qemu-system-native = " gtk+"
#
# Hash Equivalence
#
# Enable support for automatically running a local hash equivalence server and
# instruct bitbake to use a hash equivalence aware signature generator. Hash
# equivalence improves reuse of sstate by detecting when a given sstate
# artifact can be reused as equivalent, even if the current task hash doesn't
# match the one that generated the artifact.
#
# A shared hash equivalent server can be set with "<HOSTNAME>:<PORT>" format
#
#BB_HASHSERVE = "auto"
#BB_SIGNATURE_HANDLER = "OEEquivHash"
#
# Memory Resident Bitbake
#
# Bitbake's server component can stay in memory after the UI for the current command
# has completed. This means subsequent commands can run faster since there is no need
# for bitbake to reload cache files and so on. Number is in seconds, after which the
# server will shut down.
#
#BB_SERVER_TIMEOUT = "60"
# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
# track the version of this file when it was generated. This can safely be ignored if
# this doesn't mean anything to you.
CONF_VERSION = "2"
# =========================================================================
# ST SPecific
# =========================================================================
#
# Set GLIBC_GENERATE_LOCALES to the locales you wish to generate should you not
# wish to perform the time-consuming step of generating all LIBC locales.
# NOTE: If removing en_US.UTF-8 you will also need to uncomment, and set
# appropriate value for IMAGE_LINGUAS.
# WARNING: this may break localisation!
GLIBC_GENERATE_LOCALES = "en_GB.UTF-8 en_US.UTF-8"
IMAGE_LINGUAS ?= "en-gb"
# Additional image generation features
#
# The following is a list of classes to import to use in the generation of images
# currently an example class is image_types_uboot
# IMAGE_CLASSES = " image_types_uboot"
# Support of devshell
INHERIT += "devshell"
# Remove the old image before the new one generated to save disk space
RM_OLD_IMAGE = "1"
# Nice debug data
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"
# Clean up working directory after build
INHERIT += "rm_work"
# To generate debug image with all symbol
#IMAGE_GEN_DEBUGFS = "1"
# force the usage of debian package
PACKAGE_CLASSES = "package_deb"
# To enable archiver for recipes that are configured
#ST_ARCHIVER_ENABLE = "1"
# Setup environment for builds binary reproducibility
REPRODUCIBLE_TIMESTAMP_ROOTFS = ""
# Setup eSDK
SDK_EXT_TYPE="minimal"
SDK_INCLUDE_TOOLCHAIN="1"
# Enable PR server to avoid version-going-backward issue
PRSERV_HOST = "localhost:0"
# =========================================================================
# Configure STM32MP default version to github
# =========================================================================
#STM32MP_SOURCE_SELECTION:pn-linux-stm32mp = "github"
#STM32MP_SOURCE_SELECTION:pn-optee-os-stm32mp = "github"
#STM32MP_SOURCE_SELECTION:pn-tf-a-stm32mp = "github"
#STM32MP_SOURCE_SELECTION:pn-u-boot-stm32mp = "github"
# =========================================================================
# Set EULA acceptance
# =========================================================================
ACCEPT_EULA_stm32mp15-disco = "1"
my logs look like this
bitbake st-image-qt
NOTE: Started PRServer with DBfile: /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/cache/prserv.sqlite3, Address: 127.0.0.1:33701, PID: 271887
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
NOTE: /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-resize-initrd.bb: ENABLE_PARTITIONS_IMAGE not enabled | ETA: 0:00:17
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:30
Parsing of 2958 .bb files complete (0 cached, 2958 parsed). 4700 targets, 536 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-ostl-linux-gnueabi"
MACHINE = "stm32mp15-disco"
DISTRO = "openstlinux-weston"
DISTRO_VERSION = "4.2.4-snapshot-20240815"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
DISTRO_CODENAME = "mickledore"
ACCEPT_EULA_stm32mp15-disco = "1"
GCCVERSION = "12.%"
PREFERRED_PROVIDER_virtual/kernel = "linux-stm32mp"
meta-python
meta-oe = "<unknown>:<unknown>"
meta-st-x-linux-qt = "v1.0.0:1e51cb49240116fb512deccd8f6bad551918f866"
meta-qt5 = "scarthgap:eb828418264a49b8d00035cb3d7b12fcea3be801"
meta-gnome
meta-multimedia
meta-networking
meta-webserver
meta-st-stm32mp
meta-st-openstlinux
meta = "<unknown>:<unknown>"
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 263 Local 256 Mirrors 0 Missed 7 Current 2133 (97% match, 99% complete)
NOTE: Executing Tasks
WARNING: st-image-qt-1.0-r0 do_image: Not able to locate /etc/build file in image rootfs /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/stm32mp15_disco-ostl-linux-gnueabi/st-image-qt/1.0-r0/rootfs
NOTE: Tasks Summary: Attempted 6154 tasks of which 6125 didn't need to be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds
Summary: There was 1 WARNING message.
nesnes@nesnes-ABRA-A5-V19-2:~/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco$ bitbake st-image-weston
NOTE: Started PRServer with DBfile: /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/cache/prserv.sqlite3, Address: 127.0.0.1:36773, PID: 297820
Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00
Loaded 4700 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-ostl-linux-gnueabi"
MACHINE = "stm32mp15-disco"
DISTRO = "openstlinux-weston"
DISTRO_VERSION = "4.2.4-snapshot-20240815"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
DISTRO_CODENAME = "mickledore"
ACCEPT_EULA_stm32mp15-disco = "1"
GCCVERSION = "12.%"
PREFERRED_PROVIDER_virtual/kernel = "linux-stm32mp"
meta-python
meta-oe = "<unknown>:<unknown>"
meta-st-x-linux-qt = "v1.0.0:1e51cb49240116fb512deccd8f6bad551918f866"
meta-qt5 = "scarthgap:eb828418264a49b8d00035cb3d7b12fcea3be801"
meta-gnome
meta-multimedia
meta-networking
meta-webserver
meta-st-stm32mp
meta-st-openstlinux
meta = "<unknown>:<unknown>"
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 222 Local 217 Mirrors 0 Missed 5 Current 1911 (97% match, 99% complete)
Removing 5 stale sstate objects for arch stm32mp15_disco: 100% |#############################################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
WARNING: st-image-weston-1.0-r0 do_image: Not able to locate /etc/build file in image rootfs /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/stm32mp15_disco-ostl-linux-gnueabi/st-image-weston/1.0-r0/rootfs
NOTE: Tasks Summary: Attempted 5555 tasks of which 5531 didn't need to be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds
Summary: There was 1 WARNING message.
and whrn I flash the FlashLayout_sdcard_stm32mp157f-dk2-optee.tsv to my board , my board doesnt work
2024-08-15 07:18 AM
@nesnes ,
Thank you for taking time to put all the detail. It is clear now. We need to focus on this in your last logs :
WARNING: st-image-weston-1.0-r0 do_image: Not able to locate /etc/build file in image rootfs /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/stm32mp15_disco-ostl-linux-gnueabi/st-image-weston/1.0-r0/rootfs
we clearly see that there is some trouble at rootfs part and this goal now is to understand why.
As it is only produced when you overwrite your IMAGE_INSTALL, we will use the following command to check either the variable looks correct or not.
Please can you give me the output of :
PC $> bitbake st-image-weston -e | grep ^IMAGE_INSTALL
Kind regards,
Erwan.
2024-08-15 10:50 PM
@Erwan SZYMANSKI Thank you for taking time to read it .
nesnes@nesnes-ABRA-A5-V19-2:~/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco$ bitbake st-image-weston -e | grep ^IMAGE_INSTALL
IMAGE_INSTALL=" qtbase qtdeclarative qtquickcontrols2 wayland "
IMAGE_INSTALL_COMPLEMENTARY=""
IMAGE_INSTALL_DEBUGFS=""
2024-08-16 02:01 AM
Hello @nesnes ,
I have the feeling that the IMAGE_INSTALL variable is completely overwritten, removing all the native things that should be inside. Like if there were a kind of IMAGE_INSTALL="xxx" somewhere that would remove everything that is set by OpenSTLinux.
Can you do the same command in the working situation, just to compare the content of this variable ?
Sorry investigating on Yocto issue can take some times, I have no direct answer to give you ..
Kind regards,
Erwan
2024-08-16 02:51 AM
@Erwan SZYMANSKIOf course here is the output I get after I deleted the IMAGE_INSTALL line in the local.conf file
nesnes@nesnes-ABRA-A5-V19-2:~/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco$ bitbake st-image-weston
NOTE: Started PRServer with DBfile: /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/cache/prserv.sqlite3, Address: 127.0.0.1:35087, PID: 19452
Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00
Loaded 4700 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-ostl-linux-gnueabi"
MACHINE = "stm32mp15-disco"
DISTRO = "openstlinux-weston"
DISTRO_VERSION = "4.2.4-snapshot-20240816"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
DISTRO_CODENAME = "mickledore"
ACCEPT_EULA_stm32mp15-disco = "1"
GCCVERSION = "12.%"
PREFERRED_PROVIDER_virtual/kernel = "linux-stm32mp"
meta-python
meta-oe = "<unknown>:<unknown>"
meta-st-x-linux-qt = "v1.0.0:1e51cb49240116fb512deccd8f6bad551918f866"
meta-qt5 = "scarthgap:eb828418264a49b8d00035cb3d7b12fcea3be801"
meta-gnome
meta-multimedia
meta-networking
meta-webserver
meta-st-stm32mp
meta-st-openstlinux
meta = "<unknown>:<unknown>"
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 381 Local 369 Mirrors 0 Missed 12 Current 2852 (96% match, 99% complete)
Removing 11 stale sstate objects for arch stm32mp15_disco: 100% |############################################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 7925 tasks of which 7885 didn't need to be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds
nesnes@nesnes-ABRA-A5-V19-2:~/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco$ bitbake st-image-weston -e | grep ^IMAGE_INSTALL
IMAGE_INSTALL=" packagegroup-core-boot packagegroup-base-extended resize-helper packagegroup-framework-core-base packagegroup-framework-tools-base packagegroup-framework-core packagegroup-framework-tools packagegroup-framework-core-extra packagegroup-optee-core packagegroup-optee-test packagegroup-st-demo "
IMAGE_INSTALL_COMPLEMENTARY=""
IMAGE_INSTALL_DEBUGFS=""
2024-08-16 05:03 AM - edited 2024-08-16 05:04 AM
Hello @nesnes ,
Thanks to this test, my doubt seems to be confirmed. I made the test myself, can you please try to replace your configuration line by exactly :
IMAGE_INSTALL:append = " qtbase "
On my side, it seems to make the value of IMAGE_INSTALL clean back (see below)
IMAGE_INSTALL=" packagegroup-core-boot packagegroup-base-extended resize-helper packagegroup-framework-core-base packagegroup-framework-tools-base packagegroup-framework-core packagegroup-framework-tools packagegroup-framework-core-extra packagegroup-optee-core packagegroup-optee-test packagegroup-st-demo qtbase "
Kind regards,
Erwan
PS : I tested the same line with "+=" as you had, and can observe the same issue.
2024-08-16 07:13 AM - edited 2024-08-16 08:36 AM
@Erwan SZYMANSKI Yes it works now but I got a different error this time
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.2.4-snapshot stm32mp15-disco ttySTM0
stm32mp15-disco login: root (automatic login)
root@stm32mp15-disco:~# ls
README-CHECK-GPU
root@stm32mp15-disco:~# a
aconnect alias alsaloop aplay apt-config apt-sortpkgs arping automotive
addgnupghome alsa-info.sh alsamixer aplaymidi apt-extracttemplates arch ascii avahi-daemon
addgroup alsabat alsatplg applygnupgdefaults apt-ftparchive arch.coreutils ascii-xfr awk
addpart alsabat-test.sh alsaucm apt apt-get arecord aseqdump axfer
adduser alsaconf amidi apt-cache apt-key arecordmidi aseqnet
agetty alsactl amixer apt-cdrom apt-mark arp ash
root@stm32mp15-disco:~# automotive
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland.
Aborted (core dumped)
root@stm32mp15-disco:~# export QT_QPA_PLATFORM=wayland
root@stm32mp15-disco:~#
root@stm32mp15-disco:~# automotive
QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000
QQmlApplicationEngine failed to load component
qrc:/qml/automotive.qml:5:1: plugin cannot be loaded for module "QtQuick.Layouts": Cannot protect module QtQuick.Layouts 2 as it was never registered
root@stm32mp15-disco:~# export QML2_IMPORT_PATH=/usr/lib/qt5/qml
root@stm32mp15-disco:~# automotive
QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000
QQmlApplicationEngine failed to load component
qrc:/qml/automotive.qml:5:1: plugin cannot be loaded for module "QtQuick.Layouts": Cannot protect module QtQuick.Layouts 2 as it was never registered
root@stm32mp15-disco:~# export XDG_RUNTIME_DIR=/tmp/runtime-qt
root@stm32mp15-disco:~#
root@stm32mp15-disco:~# automotive
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland.
Aborted (core dumped)
root@stm32mp15-disco:~#
nesnes@nesnes-ABRA-A5-V19-2:~/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco$ bitbake st-image-weston
NOTE: Started PRServer with DBfile: /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/cache/prserv.sqlite3, Address: 127.0.0.1:41185, PID: 864164
Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00
Loaded 4703 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-ostl-linux-gnueabi"
MACHINE = "stm32mp15-disco"
DISTRO = "openstlinux-weston"
DISTRO_VERSION = "4.2.4-snapshot-20240816"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
DISTRO_CODENAME = "mickledore"
ACCEPT_EULA_stm32mp15-disco = "1"
GCCVERSION = "12.%"
PREFERRED_PROVIDER_virtual/kernel = "linux-stm32mp"
meta-python
meta-oe = "<unknown>:<unknown>"
meta-st-x-linux-qt = "v1.0.0:1e51cb49240116fb512deccd8f6bad551918f866"
meta-qt5 = "scarthgap:eb828418264a49b8d00035cb3d7b12fcea3be801"
meta-gnome
meta-multimedia
meta-networking
meta-webserver
meta-st-stm32mp
meta-st-openstlinux
meta
meta-my-layer = "<unknown>:<unknown>"
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 1891 Local 1870 Mirrors 0 Missed 21 Current 1407 (98% match, 99% complete)
Removing 15 stale sstate objects for arch x86_64: 100% |#####################################################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 8084 tasks of which 8010 didn't need to be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
I added these lines and get these warning log after running the bitbake
IMAGE_INSTALL:append = " qtbase qtdeclarative qtbase-plugins qtquickcontrols2 qtwayland "
IMAGE_INSTALL:append = " automotive "
PACKAGECONFIG:append = " gles2 eglfs"
esnes@nesnes-ABRA-A5-V19-2:~/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco$ bitbake st-image-weston
NOTE: Started PRServer with DBfile: /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/cache/prserv.sqlite3, Address: 127.0.0.1:42481, PID: 444965
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
NOTE: /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-resize-initrd.bb: ENABLE_PARTITIONS_IMAGE not enabled | ETA: 0:00:20
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:28
Parsing of 2961 .bb files complete (0 cached, 2961 parsed). 4703 targets, 536 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-ostl-linux-gnueabi"
MACHINE = "stm32mp15-disco"
DISTRO = "openstlinux-weston"
DISTRO_VERSION = "4.2.4-snapshot-20240816"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
DISTRO_CODENAME = "mickledore"
ACCEPT_EULA_stm32mp15-disco = "1"
GCCVERSION = "12.%"
PREFERRED_PROVIDER_virtual/kernel = "linux-stm32mp"
meta-python
meta-oe = "<unknown>:<unknown>"
meta-st-x-linux-qt = "v1.0.0:1e51cb49240116fb512deccd8f6bad551918f866"
meta-qt5 = "scarthgap:eb828418264a49b8d00035cb3d7b12fcea3be801"
meta-gnome
meta-multimedia
meta-networking
meta-webserver
meta-st-stm32mp
meta-st-openstlinux
meta
meta-my-layer = "<unknown>:<unknown>"
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 2428 Local 1 Mirrors 0 Missed 2427 Current 863 (0% match, 26% complete)
Removing 493 stale sstate objects for arch stm32mp15_disco: 100% |###########################################################################################################################| Time: 0:00:02
Removing 75 stale sstate objects for arch allarch: 100% |####################################################################################################################################| Time: 0:00:00
Removing 1145 stale sstate objects for arch cortexa7t2hf-neon-vfpv4: 100% |##################################################################################################################| Time: 0:00:01
Removing 335 stale sstate objects for arch x86_64: 100% |####################################################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
WARNING: quilt-native-0.67-r0 do_configure: QA Issue: quilt-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: quilt-native-0.67-r0 do_configure: QA Issue: quilt-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: texinfo-dummy-native-1.0-r0 do_configure: QA Issue: texinfo-dummy-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: texinfo-dummy-native-1.0-r0 do_configure: QA Issue: texinfo-dummy-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: gettext-minimal-native-0.21.1-r0 do_configure: QA Issue: gettext-minimal-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: gettext-minimal-native-0.21.1-r0 do_configure: QA Issue: gettext-minimal-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: gnu-config-native-20230216+gitAUTOINC+63acb96f92-r0 do_configure: QA Issue: gnu-config-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: gnu-config-native-20230216+gitAUTOINC+63acb96f92-r0 do_configure: QA Issue: gnu-config-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: zlib-native-1.2.13-r0 do_configure: QA Issue: zlib-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: zlib-native-1.2.13-r0 do_configure: QA Issue: zlib-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: zstd-native-1.5.4-r0 do_configure: QA Issue: zstd-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: zstd-native-1.5.4-r0 do_configure: QA Issue: zstd-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: systemd-systemctl-native-1.0-r6 do_configure: QA Issue: systemd-systemctl-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: systemd-systemctl-native-1.0-r6 do_configure: QA Issue: systemd-systemctl-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: perlcross-native-1.4-r0 do_configure: QA Issue: perlcross-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: perlcross-native-1.4-r0 do_configure: QA Issue: perlcross-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: unzip-native-1_6.0-r5 do_configure: QA Issue: unzip-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: unzip-native-1_6.0-r5 do_configure: QA Issue: unzip-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: m4-native-1.4.19-r0 do_configure: QA Issue: m4-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: m4-native-1.4.19-r0 do_configure: QA Issue: m4-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: kern-tools-native-0.3+gitAUTOINC+2d01f24bc7-r0 do_configure: QA Issue: kern-tools-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: kern-tools-native-0.3+gitAUTOINC+2d01f24bc7-r0 do_configure: QA Issue: kern-tools-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: update-rc.d-native-0.8-r0 do_configure: QA Issue: update-rc.d-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: update-rc.d-native-0.8-r0 do_configure: QA Issue: update-rc.d-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: pigz-native-2.7-r0 do_configure: QA Issue: pigz-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: pigz-native-2.7-r0 do_configure: QA Issue: pigz-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: autoconf-native-2.71-r0 do_configure: QA Issue: autoconf-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: autoconf-native-2.71-r0 do_configure: QA Issue: autoconf-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: lz4-native-1_1.9.4-r0 do_configure: QA Issue: lz4-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: lz4-native-1_1.9.4-r0 do_configure: QA Issue: lz4-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: makedevs-native-1.0.1-r0 do_configure: QA Issue: makedevs-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: makedevs-native-1.0.1-r0 do_configure: QA Issue: makedevs-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: xxhash-native-0.8.1-r0 do_configure: QA Issue: xxhash-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: xxhash-native-0.8.1-r0 do_configure: QA Issue: xxhash-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: automake-native-1.16.5-r0 do_configure: QA Issue: automake-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: automake-native-1.16.5-r0 do_configure: QA Issue: automake-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: ldconfig-native-2.12.1-r2 do_configure: QA Issue: ldconfig-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: ldconfig-native-2.12.1-r2 do_configure: QA Issue: ldconfig-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: stm32wrapper4dbg-native-4.0.1-r0 do_configure: QA Issue: stm32wrapper4dbg-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: stm32wrapper4dbg-native-4.0.1-r0 do_configure: QA Issue: stm32wrapper4dbg-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: libtool-native-2.4.7-r0 do_configure: QA Issue: libtool-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: libtool-native-2.4.7-r0 do_configure: QA Issue: libtool-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: boost-build-native-1_1.81.0-r0 do_configure: QA Issue: boost-build-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: boost-build-native-1_1.81.0-r0 do_configure: QA Issue: boost-build-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: attr-native-2.5.1-r0 do_configure: QA Issue: attr-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: attr-native-2.5.1-r0 do_configure: QA Issue: attr-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: popt-native-1.19-r0 do_configure: QA Issue: popt-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
WARNING: popt-native-1.19-r0 do_configure: QA Issue: popt-native: invalid PACKAGECONFIG: eglfs [invalid-packageconfig]
WARNING: flex-native-2.6.4-r0 do_configure: QA Issue: flex-native: invalid PACKAGECONFIG: gles2 [invalid-packageconfig]
.
.
.
.
2024-08-16 12:50 PM
@nesnes ,
Either your way to launch your application is not good, or you have a distribution issue.
First I invite you to try the launch script I put here : https://community.st.com/t5/stm32-mpus-embedded-software/clarifications-regarding-stm32mp157f-dk2-with-openstlinux/m-p/704391#M3714
If it does not fix the issue, I know that on OpenSTLinux <= 5.0 provided a st-example-image-qtwayland to build as an image Qt compliant. Maybe you can compare with it. Or compare with X-LINUX-QT packages embedded in st-image-qt.
I think these hints can help you to go forward.
Kind regards,
Erwan.