GLIB-2.0 error on yocto build
-
wrote on 18 Mar 2024, 05:47 last edited by
I'm building an image using Yocto for my toradex imx8 board with my QT program. But when I'm running "bitbake displaymod(image name)" I'm getting the following error: ERROR: displaymod-1.0.0-r1 do_configure: Error calling /home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/recipe-sysroot-native/usr/bin/qmake -makefile -o Makefile -r /home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/guiframe.pro --
ERROR: displaymod-1.0.0-r1 do_configure: ExecutionError('/home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/temp/run.do_configure.17576', 1, None, None)
ERROR: Logfile of failure stored in: /home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/temp/log.do_configure.17576
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/user1/oe-core/build/../layers/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/meta-qt5/recipes-qt/qt5/qtquickcontrols2_git.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_11.4.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.4.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['qtbase-native', 'qtbase', 'qtdeclarative', 'qtquickcontrols2', 'glib-2.0', 'glibc', 'gcc-cross-aarch64', 'gcc-runtime', 'quilt-native', 'patch-native', 'pseudo-native', 'xcb-util-wm', 'fontconfig', 'libjpeg-turbo', 'xcb-util-keysyms', 'systemd', 'libxkbcommon', 'libxext', 'sqlite3', 'zlib', 'openssl', 'imx-gpu-viv', 'libxcb', 'xcb-util-image', 'dbus', 'vulkan-headers', 'xcb-util-renderutil', 'libpng', 'libpcre2', 'freetype', 'icu', 'libdrm', 'linux-libc-headers', 'dbus-native', 'zlib-native', 'util-linux', 'libpcre', 'libffi', 'bash-completion', 'libgcc', 'attr-native', 'libtool-native', 'gmp-native', 'zstd-native', 'mpfr-native', 'texinfo-dummy-native', 'libmpc-native', 'gnu-config-native', 'flex-native', 'xz-native', 'binutils-cross-aarch64', 'expat', 'acl', 'base-passwd', 'opkg-utils', 'shadow-sysroot', 'kmod', 'libseccomp', 'shadow', 'shadow-native', 'libcap', 'base-files', 'zstd', 'libpam', 'wayland-protocols', 'libxml2', 'wayland', 'xkeyboard-config', 'libx11', 'xorgproto', 'util-macros', 'mesa', 'libxshmfence', 'libxxf86vm', 'libxdmcp', 'libpthread-stubs', 'libxau', 'xcb-proto', 'xcb-util', 'autoconf-archive', 'libsm', 'bzip2', 'libpciaccess', 'glib-2.0-native', 'gettext-minimal-native', 'expat-native', 'libcap-ng', 'ncurses', 'util-linux-libuuid', 'libxcrypt', 'm4-native', 'attr', 'xz', 'flex', 'cracklib', 'python3', 'xtrans', 'libxfixes', 'libxdamage', 'xrandr', 'libice', 'util-linux-native', 'libpcre-native', 'gettext-native', 'libffi-native', 'python3-native', 'cmake-native', 'gdbm', 'readline', 'libtirpc', 'libnsl2', 'libxrandr', 'libxrender', 'util-linux-libuuid-native', 'libpcre2-native', 'libcap-ng-native', 'ncurses-native', 'libtirpc-native', 'gdbm-native', 'bzip2-native', 'openssl-native', 'libnsl2-native', 'readline-native', 'sqlite3-native', 'curl-native', 'perl-native', 'make-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function qmake5_base_preconfigure
| DEBUG: Shell function qmake5_base_preconfigure finished
| DEBUG: Executing shell function do_configure
| Project ERROR: glib-2.0 development package not found
| ERROR: Error calling /home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/recipe-sysroot-native/usr/bin/qmake -makefile -o Makefile -r /home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/guiframe.pro --
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/user1/oe-core/build/../layers/meta-custom/recipes-custom/myqt/displaymod_1.0.0.bb:do_configure) failed with exit code '1'
i even checked my pkg-config and also my meta-layers and glib-2.0 is present
i want the image to be built and the t gui to come up on boot
-
I'm building an image using Yocto for my toradex imx8 board with my QT program. But when I'm running "bitbake displaymod(image name)" I'm getting the following error: ERROR: displaymod-1.0.0-r1 do_configure: Error calling /home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/recipe-sysroot-native/usr/bin/qmake -makefile -o Makefile -r /home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/guiframe.pro --
ERROR: displaymod-1.0.0-r1 do_configure: ExecutionError('/home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/temp/run.do_configure.17576', 1, None, None)
ERROR: Logfile of failure stored in: /home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/temp/log.do_configure.17576
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/user1/oe-core/build/../layers/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/meta-qt5/recipes-qt/qt5/qtquickcontrols2_git.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_11.4.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.4.bb:do_populate_sysroot', '/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/user1/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['qtbase-native', 'qtbase', 'qtdeclarative', 'qtquickcontrols2', 'glib-2.0', 'glibc', 'gcc-cross-aarch64', 'gcc-runtime', 'quilt-native', 'patch-native', 'pseudo-native', 'xcb-util-wm', 'fontconfig', 'libjpeg-turbo', 'xcb-util-keysyms', 'systemd', 'libxkbcommon', 'libxext', 'sqlite3', 'zlib', 'openssl', 'imx-gpu-viv', 'libxcb', 'xcb-util-image', 'dbus', 'vulkan-headers', 'xcb-util-renderutil', 'libpng', 'libpcre2', 'freetype', 'icu', 'libdrm', 'linux-libc-headers', 'dbus-native', 'zlib-native', 'util-linux', 'libpcre', 'libffi', 'bash-completion', 'libgcc', 'attr-native', 'libtool-native', 'gmp-native', 'zstd-native', 'mpfr-native', 'texinfo-dummy-native', 'libmpc-native', 'gnu-config-native', 'flex-native', 'xz-native', 'binutils-cross-aarch64', 'expat', 'acl', 'base-passwd', 'opkg-utils', 'shadow-sysroot', 'kmod', 'libseccomp', 'shadow', 'shadow-native', 'libcap', 'base-files', 'zstd', 'libpam', 'wayland-protocols', 'libxml2', 'wayland', 'xkeyboard-config', 'libx11', 'xorgproto', 'util-macros', 'mesa', 'libxshmfence', 'libxxf86vm', 'libxdmcp', 'libpthread-stubs', 'libxau', 'xcb-proto', 'xcb-util', 'autoconf-archive', 'libsm', 'bzip2', 'libpciaccess', 'glib-2.0-native', 'gettext-minimal-native', 'expat-native', 'libcap-ng', 'ncurses', 'util-linux-libuuid', 'libxcrypt', 'm4-native', 'attr', 'xz', 'flex', 'cracklib', 'python3', 'xtrans', 'libxfixes', 'libxdamage', 'xrandr', 'libice', 'util-linux-native', 'libpcre-native', 'gettext-native', 'libffi-native', 'python3-native', 'cmake-native', 'gdbm', 'readline', 'libtirpc', 'libnsl2', 'libxrandr', 'libxrender', 'util-linux-libuuid-native', 'libpcre2-native', 'libcap-ng-native', 'ncurses-native', 'libtirpc-native', 'gdbm-native', 'bzip2-native', 'openssl-native', 'libnsl2-native', 'readline-native', 'sqlite3-native', 'curl-native', 'perl-native', 'make-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function qmake5_base_preconfigure
| DEBUG: Shell function qmake5_base_preconfigure finished
| DEBUG: Executing shell function do_configure
| Project ERROR: glib-2.0 development package not found
| ERROR: Error calling /home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/recipe-sysroot-native/usr/bin/qmake -makefile -o Makefile -r /home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/guiframe.pro --
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/user1/oe-core/build/../layers/meta-custom/recipes-custom/myqt/displaymod_1.0.0.bb:do_configure) failed with exit code '1'
i even checked my pkg-config and also my meta-layers and glib-2.0 is present
i want the image to be built and the t gui to come up on boot
wrote on 18 Mar 2024, 06:13 last edited by -
wrote on 18 Mar 2024, 06:33 last edited by
@Ronel_qtmaster it is included.
-
@Ronel_qtmaster it is included.
wrote on 18 Mar 2024, 06:46 last edited by@Srioff now what is the link between displaymod and building the image.You want to build the image but you run display mode?
-
@Srioff now what is the link between displaymod and building the image.You want to build the image but you run display mode?
wrote on 18 Mar 2024, 07:03 last edited by@Ronel_qtmaster displaymod is the name of my .bb file. i want to build an image that has qt program as the gui.
the bitbake command that i ran was :
bitbake displaymod -
@Ronel_qtmaster displaymod is the name of my .bb file. i want to build an image that has qt program as the gui.
the bitbake command that i ran was :
bitbake displaymodwrote on 18 Mar 2024, 07:18 last edited by -
wrote on 18 Mar 2024, 08:39 last edited by
@Ronel_qtmaster Steps i followed
created a meta layer
added a recipe folder in which i added my recipe file and the qtprogram files
added my layer to bblayers.conf
in local.conf configured my machine name, added the packages-core for the program
then ran bitbake command -
@Srioff i was able to previously build an image successfully which ran on my board with only the issue as gui didn't come up. so i modified and tried building again, that's when i faced this issue.
wrote on 18 Mar 2024, 10:02 last edited by@Srioff okay building an image is one thing.Making the gui start after the boot is another thing.
- Firstly build and image with your recipe
- From the Image,configure your app on start using .autostart file or Xsession file, or systemd script
- Disable all console output during the boot
4.Restart your board
-
@Ronel_qtmaster Steps i followed
created a meta layer
added a recipe folder in which i added my recipe file and the qtprogram files
added my layer to bblayers.conf
in local.conf configured my machine name, added the packages-core for the program
then ran bitbake commandwrote on 18 Mar 2024, 10:03 last edited by@Srioff i think you should run bitbake with the standard image not only your recipe
-
@Srioff i think you should run bitbake with the standard image not only your recipe
wrote on 18 Mar 2024, 10:58 last edited by@Ronel_qtmaster with the reference image name of toradex and not my recipe?
-
@Ronel_qtmaster with the reference image name of toradex and not my recipe?
wrote on 18 Mar 2024, 11:06 last edited by@Srioff yes exactly
-
@Srioff yes exactly
wrote on 18 Mar 2024, 12:37 last edited by@Ronel_qtmaster
I'm new to Yocto and QT
I have added my bblayers.conf, local.conf and recipe file
would you please let me know what changes i need to make and bitbake command for itdisplaymod.bb
DESCRIPTION = "Qt Application for Yocto"
LICENSE = "CLOSED"PR = "r1"
DEPENDS += "glib-2.0 qtbase qtdeclarative qtquickcontrols2"
SRC_URI = "file://main.cpp
file://mainwindow.cpp
file://surround_view.cpp
file://mainwindow.h
file://Resource.qrc
file://surround_view.h
file://mainwindow.ui
file://surround_view.ui
file://wireframe_v1.pro
file://icons/"S = "${WORKDIR}"
inherit qmake5
RDEPENDS_${PN} += "qtbase qtdeclarative qtquickcontrols2"
do_install:append() {
install -d ${D}${datadir}
install -m 0755 ${B}/displaymod ${D}/${bindir}
}FILES_${PN} += "${bindir}/displaymod"
local.conf
MACHINE ?= "verdin-imx8mp"
ACCEPT_FSL_EULA = "1"
#IMAGE_INSTALL:append += " displayimage "
#IMAGE_INSTALL:append = "qtbase qtwayland "
DISTRO_FEATURES:append = " systemd"
VIRTUAL-RUNTIME_init_manager = " systemd"
DISTRO_FEATURES_BACKFILE_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
IMAGE_INSTALL:append = " packagegroup-core-boot packagegroup-core-qt"CORE_IMAGE_EXTRA_INSTALL += " packagegroup-core-x11 packagegroup-fonts packagegroup-core-full-cmdline"
DL_DIR ?= "${TOPDIR}/../downloads"
SSTATE_DIR ?= "${TOPDIR}/../sstate-cache"
DEPLOY_DIR = "${TOPDIR}/deploy"
TI_COMMON_DEPLOY = "${DEPLOY_DIR}"PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks package-management"
USER_CLASSES ?= "buildstats"
PATCHRESOLVE = "noop"
bblayers.conf
LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
changes incompatibly
LCONF_VERSION = "7"
BBPATH = "${TOPDIR}"
BBFILES ?= ""BBLAYERS_NXP ?= "
${TOPDIR}/../layers/meta-toradex-nxp
${TOPDIR}/../layers/meta-freescale
${TOPDIR}/../layers/meta-freescale-3rdparty
"BBLAYERS_TI ?= "
${TOPDIR}/../layers/meta-toradex-ti
${TOPDIR}/../layers/meta-arm/meta-arm-toolchain
${TOPDIR}/../layers/meta-arm/meta-arm
${TOPDIR}/../layers/meta-ti/meta-ti-bsp
${TOPDIR}/../layers/meta-ti/meta-ti-extras
"BBLAYERS ?= "
${BBLAYERS_NXP}
${BBLAYERS_TI}
${TOPDIR}/../layers/meta-toradex-bsp-common
${TOPDIR}/../layers/meta-openembedded/meta-oe
${TOPDIR}/../layers/meta-openembedded/meta-filesystems
${TOPDIR}/../layers/meta-openembedded/meta-gnome
${TOPDIR}/../layers/meta-openembedded/meta-xfce
${TOPDIR}/../layers/meta-openembedded/meta-networking
${TOPDIR}/../layers/meta-openembedded/meta-multimedia
${TOPDIR}/../layers/meta-openembedded/meta-python
${TOPDIR}/../layers/meta-freescale-distro
${TOPDIR}/../layers/meta-toradex-demos
${TOPDIR}/../layers/meta-qt5
${TOPDIR}/../layers/meta-security/meta-tpm
${TOPDIR}/../layers/meta-toradex-distro
${TOPDIR}/../layers/meta-yocto/meta-poky
${TOPDIR}/../layers/openembedded-core/meta
${TOPDIR}/../layers/meta-custom
" -
@Ronel_qtmaster
I'm new to Yocto and QT
I have added my bblayers.conf, local.conf and recipe file
would you please let me know what changes i need to make and bitbake command for itdisplaymod.bb
DESCRIPTION = "Qt Application for Yocto"
LICENSE = "CLOSED"PR = "r1"
DEPENDS += "glib-2.0 qtbase qtdeclarative qtquickcontrols2"
SRC_URI = "file://main.cpp
file://mainwindow.cpp
file://surround_view.cpp
file://mainwindow.h
file://Resource.qrc
file://surround_view.h
file://mainwindow.ui
file://surround_view.ui
file://wireframe_v1.pro
file://icons/"S = "${WORKDIR}"
inherit qmake5
RDEPENDS_${PN} += "qtbase qtdeclarative qtquickcontrols2"
do_install:append() {
install -d ${D}${datadir}
install -m 0755 ${B}/displaymod ${D}/${bindir}
}FILES_${PN} += "${bindir}/displaymod"
local.conf
MACHINE ?= "verdin-imx8mp"
ACCEPT_FSL_EULA = "1"
#IMAGE_INSTALL:append += " displayimage "
#IMAGE_INSTALL:append = "qtbase qtwayland "
DISTRO_FEATURES:append = " systemd"
VIRTUAL-RUNTIME_init_manager = " systemd"
DISTRO_FEATURES_BACKFILE_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
IMAGE_INSTALL:append = " packagegroup-core-boot packagegroup-core-qt"CORE_IMAGE_EXTRA_INSTALL += " packagegroup-core-x11 packagegroup-fonts packagegroup-core-full-cmdline"
DL_DIR ?= "${TOPDIR}/../downloads"
SSTATE_DIR ?= "${TOPDIR}/../sstate-cache"
DEPLOY_DIR = "${TOPDIR}/deploy"
TI_COMMON_DEPLOY = "${DEPLOY_DIR}"PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks package-management"
USER_CLASSES ?= "buildstats"
PATCHRESOLVE = "noop"
bblayers.conf
LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
changes incompatibly
LCONF_VERSION = "7"
BBPATH = "${TOPDIR}"
BBFILES ?= ""BBLAYERS_NXP ?= "
${TOPDIR}/../layers/meta-toradex-nxp
${TOPDIR}/../layers/meta-freescale
${TOPDIR}/../layers/meta-freescale-3rdparty
"BBLAYERS_TI ?= "
${TOPDIR}/../layers/meta-toradex-ti
${TOPDIR}/../layers/meta-arm/meta-arm-toolchain
${TOPDIR}/../layers/meta-arm/meta-arm
${TOPDIR}/../layers/meta-ti/meta-ti-bsp
${TOPDIR}/../layers/meta-ti/meta-ti-extras
"BBLAYERS ?= "
${BBLAYERS_NXP}
${BBLAYERS_TI}
${TOPDIR}/../layers/meta-toradex-bsp-common
${TOPDIR}/../layers/meta-openembedded/meta-oe
${TOPDIR}/../layers/meta-openembedded/meta-filesystems
${TOPDIR}/../layers/meta-openembedded/meta-gnome
${TOPDIR}/../layers/meta-openembedded/meta-xfce
${TOPDIR}/../layers/meta-openembedded/meta-networking
${TOPDIR}/../layers/meta-openembedded/meta-multimedia
${TOPDIR}/../layers/meta-openembedded/meta-python
${TOPDIR}/../layers/meta-freescale-distro
${TOPDIR}/../layers/meta-toradex-demos
${TOPDIR}/../layers/meta-qt5
${TOPDIR}/../layers/meta-security/meta-tpm
${TOPDIR}/../layers/meta-toradex-distro
${TOPDIR}/../layers/meta-yocto/meta-poky
${TOPDIR}/../layers/openembedded-core/meta
${TOPDIR}/../layers/meta-custom
"wrote on 18 Mar 2024, 12:45 last edited by@Srioff everything should be okay.Now init the build Environment.You will see the differents images you can build with bitbake
-
@Srioff everything should be okay.Now init the build Environment.You will see the differents images you can build with bitbake
wrote on 19 Mar 2024, 08:50 last edited by@Ronel_qtmaster Thank you
i did a base build as you told and then when i tried to build my program i got this error:ERROR: displaymod-1.0.0-r1 do_install: ExecutionError(‘/home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/temp/run.do_install.316633’, 1, None, None)
ERROR: Logfile of failure stored in: /home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/temp/log.do_install.316633
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [‘/home/user1/oe-core/build/…/layers/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/meta-qt5/recipes-qt/qt5/qtquickcontrols2_git.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/openembedded-core/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_11.4.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.4.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot’, ‘virtual:native:/home/user1/oe-core/build/…/layers/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot’, ‘virtual:native:/home/user1/oe-core/build/…/layers/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot’]
| NOTE: Installed into sysroot:
| NOTE: Skipping as already exists in sysroot: [‘qtbase-native’, ‘qtbase’, ‘qtdeclarative’, ‘qtquickcontrols2’, ‘glibc’, ‘gcc-cross-aarch64’, ‘gcc-runtime’, ‘quilt-native’, ‘patch-native’, ‘pseudo-native’, ‘zlib-native’, ‘dbus-native’, ‘libpcre2’, ‘imx-gpu-viv’, ‘libpng’, ‘libxkbcommon’, ‘fontconfig’, ‘xcb-util-image’, ‘freetype’, ‘libxcb’, ‘zlib’, ‘xcb-util-wm’, ‘libxext’, ‘openssl’, ‘vulkan-headers’, ‘xcb-util-renderutil’, ‘dbus’, ‘icu’, ‘xcb-util-keysyms’, ‘glib-2.0’, ‘systemd’, ‘libdrm’, ‘sqlite3’, ‘libjpeg-turbo’, ‘libgcc’, ‘linux-libc-headers’, ‘binutils-cross-aarch64’, ‘gmp-native’, ‘xz-native’, ‘flex-native’, ‘texinfo-dummy-native’, ‘zstd-native’, ‘libtool-native’, ‘libmpc-native’, ‘gnu-config-native’, ‘mpfr-native’, ‘attr-native’, ‘expat-native’, ‘gettext-minimal-native’, ‘glib-2.0-native’, ‘bzip2’, ‘wayland’, ‘libxxf86vm’, ‘mesa’, ‘libxshmfence’, ‘wayland-protocols’, ‘libxml2’, ‘xkeyboard-config’, ‘util-linux’, ‘expat’, ‘xcb-util’, ‘libpthread-stubs’, ‘libxau’, ‘xorgproto’, ‘libxdmcp’, ‘xcb-proto’, ‘libx11’, ‘util-macros’, ‘opkg-utils’, ‘autoconf-archive’, ‘shadow-native’, ‘base-passwd’, ‘base-files’, ‘shadow’, ‘shadow-sysroot’, ‘libsm’, ‘libpcre’, ‘libffi’, ‘bash-completion’, ‘libpam’, ‘libseccomp’, ‘kmod’, ‘acl’, ‘zstd’, ‘libcap’, ‘libpciaccess’, ‘m4-native’, ‘cmake-native’, ‘gettext-native’, ‘libpcre-native’, ‘python3-native’, ‘libffi-native’, ‘util-linux-native’, ‘libxfixes’, ‘libxdamage’, ‘xrandr’, ‘python3’, ‘util-linux-libuuid’, ‘libcap-ng’, ‘libxcrypt’, ‘ncurses’, ‘xtrans’, ‘attr’, ‘libice’, ‘flex’, ‘cracklib’, ‘xz’, ‘bzip2-native’, ‘ncurses-native’, ‘curl-native’, ‘sqlite3-native’, ‘util-linux-libuuid-native’, ‘openssl-native’, ‘readline-native’, ‘libtirpc-native’, ‘gdbm-native’, ‘libnsl2-native’, ‘libpcre2-native’, ‘libcap-ng-native’, ‘libxrandr’, ‘libxrender’, ‘libnsl2’, ‘gdbm’, ‘readline’, ‘libtirpc’, ‘perl-native’, ‘make-native’]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| install: cannot stat ‘/home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/build/displaymod’: No such file or directory
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/user1/oe-core/build/…/layers/meta-custom/recipes-cnhi/displaymod/displaymod_1.0.0.bb:do_install) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 8145 tasks of which 8131 didn’t need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 7 secondsSummary: 1 task failed:
/home/user1/oe-core/build/…/layers/meta-custom/recipes-cnhi/displaymod/displaymod_1.0.0.bb:do_install
Summary: There were 5 WARNING messages.
Summary: There was 1 ERROR message, returning a non-zero exit code -
@Ronel_qtmaster Thank you
i did a base build as you told and then when i tried to build my program i got this error:ERROR: displaymod-1.0.0-r1 do_install: ExecutionError(‘/home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/temp/run.do_install.316633’, 1, None, None)
ERROR: Logfile of failure stored in: /home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/temp/log.do_install.316633
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [‘/home/user1/oe-core/build/…/layers/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/meta-qt5/recipes-qt/qt5/qtquickcontrols2_git.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/openembedded-core/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_11.4.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.4.bb:do_populate_sysroot’, ‘/home/user1/oe-core/build/…/layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot’, ‘virtual:native:/home/user1/oe-core/build/…/layers/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot’, ‘virtual:native:/home/user1/oe-core/build/…/layers/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot’]
| NOTE: Installed into sysroot:
| NOTE: Skipping as already exists in sysroot: [‘qtbase-native’, ‘qtbase’, ‘qtdeclarative’, ‘qtquickcontrols2’, ‘glibc’, ‘gcc-cross-aarch64’, ‘gcc-runtime’, ‘quilt-native’, ‘patch-native’, ‘pseudo-native’, ‘zlib-native’, ‘dbus-native’, ‘libpcre2’, ‘imx-gpu-viv’, ‘libpng’, ‘libxkbcommon’, ‘fontconfig’, ‘xcb-util-image’, ‘freetype’, ‘libxcb’, ‘zlib’, ‘xcb-util-wm’, ‘libxext’, ‘openssl’, ‘vulkan-headers’, ‘xcb-util-renderutil’, ‘dbus’, ‘icu’, ‘xcb-util-keysyms’, ‘glib-2.0’, ‘systemd’, ‘libdrm’, ‘sqlite3’, ‘libjpeg-turbo’, ‘libgcc’, ‘linux-libc-headers’, ‘binutils-cross-aarch64’, ‘gmp-native’, ‘xz-native’, ‘flex-native’, ‘texinfo-dummy-native’, ‘zstd-native’, ‘libtool-native’, ‘libmpc-native’, ‘gnu-config-native’, ‘mpfr-native’, ‘attr-native’, ‘expat-native’, ‘gettext-minimal-native’, ‘glib-2.0-native’, ‘bzip2’, ‘wayland’, ‘libxxf86vm’, ‘mesa’, ‘libxshmfence’, ‘wayland-protocols’, ‘libxml2’, ‘xkeyboard-config’, ‘util-linux’, ‘expat’, ‘xcb-util’, ‘libpthread-stubs’, ‘libxau’, ‘xorgproto’, ‘libxdmcp’, ‘xcb-proto’, ‘libx11’, ‘util-macros’, ‘opkg-utils’, ‘autoconf-archive’, ‘shadow-native’, ‘base-passwd’, ‘base-files’, ‘shadow’, ‘shadow-sysroot’, ‘libsm’, ‘libpcre’, ‘libffi’, ‘bash-completion’, ‘libpam’, ‘libseccomp’, ‘kmod’, ‘acl’, ‘zstd’, ‘libcap’, ‘libpciaccess’, ‘m4-native’, ‘cmake-native’, ‘gettext-native’, ‘libpcre-native’, ‘python3-native’, ‘libffi-native’, ‘util-linux-native’, ‘libxfixes’, ‘libxdamage’, ‘xrandr’, ‘python3’, ‘util-linux-libuuid’, ‘libcap-ng’, ‘libxcrypt’, ‘ncurses’, ‘xtrans’, ‘attr’, ‘libice’, ‘flex’, ‘cracklib’, ‘xz’, ‘bzip2-native’, ‘ncurses-native’, ‘curl-native’, ‘sqlite3-native’, ‘util-linux-libuuid-native’, ‘openssl-native’, ‘readline-native’, ‘libtirpc-native’, ‘gdbm-native’, ‘libnsl2-native’, ‘libpcre2-native’, ‘libcap-ng-native’, ‘libxrandr’, ‘libxrender’, ‘libnsl2’, ‘gdbm’, ‘readline’, ‘libtirpc’, ‘perl-native’, ‘make-native’]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| install: cannot stat ‘/home/user1/oe-core/build/tmp/work/cortexa53-tdx-linux/displaymod/1.0.0-r1/build/displaymod’: No such file or directory
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/user1/oe-core/build/…/layers/meta-custom/recipes-cnhi/displaymod/displaymod_1.0.0.bb:do_install) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 8145 tasks of which 8131 didn’t need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 7 secondsSummary: 1 task failed:
/home/user1/oe-core/build/…/layers/meta-custom/recipes-cnhi/displaymod/displaymod_1.0.0.bb:do_install
Summary: There were 5 WARNING messages.
Summary: There was 1 ERROR message, returning a non-zero exit codewrote on 19 Mar 2024, 09:18 last edited by@Srioff hi.The base build should already have your program if you included the recipe for it
-
@Srioff hi.The base build should already have your program if you included the recipe for it
wrote on 19 Mar 2024, 09:34 last edited by@Ronel_qtmaster I included my recipe by creating another custom layer and also added that custom layer to bblayer.conf and included the recipe to install in
IMAGE_INSTALL:append = "<name>"
under local.conf -
@Ronel_qtmaster I included my recipe by creating another custom layer and also added that custom layer to bblayer.conf and included the recipe to install in
IMAGE_INSTALL:append = "<name>"
under local.confwrote on 19 Mar 2024, 09:50 last edited by@Srioff when building your recipe it has already built your app.You just have to search in the install dir.You can refer to the pro file
-
@Srioff when building your recipe it has already built your app.You just have to search in the install dir.You can refer to the pro file
wrote on 19 Mar 2024, 10:15 last edited byThis post is deleted! -
@Srioff when building your recipe it has already built your app.You just have to search in the install dir.You can refer to the pro file
wrote on 19 Mar 2024, 11:06 last edited by@Ronel_qtmaster
thank you,
But the issue is with do_install() part of it
another hello-world qt application i was able to find in the /usr/bin folder but not the new program
1/23