Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. yocto build on qtxmlpatterns failed on Qt5.11
Forum Updated to NodeBB v4.3 + New Features

yocto build on qtxmlpatterns failed on Qt5.11

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 1 Posters 200 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kaijun
    wrote on 20 Mar 2024, 12:23 last edited by
    #1

    When I built qtxmlpatterns with yocto for arm, it failed with following messages, has anyone experienced this issue?

    DEBUG: Executing python function extend_recipe_sysroot
    | NOTE: Direct dependencies are ['/home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-core/glibc/glibc_2.37.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-devtools/gcc/gcc-cross_12.2.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-devtools/gcc/gcc-runtime_12.2.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/kaijun/Projects/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/kaijun/Projects/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
    | NOTE: Installed into sysroot: []
    | NOTE: Skipping as already exists in sysroot: ['qtbase-native', 'qtbase', 'glibc', 'gcc-cross-arm', 'gcc-runtime', 'quilt-native', 'patch-native', 'pseudo-native', 'libtool-native', 'attr-native', 'dbus-native', 'zlib-native', 'xcb-util-keysyms', 'freetype', 'xkeyboard-config', 'libjpeg-turbo', 'systemd', 'xcb-util-renderutil', 'libxkbcommon', 'zlib', 'libxi', 'libpng', 'xcb-util-wm', 'libxcb', 'openssl', 'mesa', 'xcb-util-image', 'dbus', 'zstd-native', 'texinfo-dummy-native', 'binutils-cross-arm', 'xz-native', 'mpfr-native', 'gnu-config-native', 'libmpc-native', 'linux-libc-headers', 'gmp-native', 'flex-native', 'libgcc', 'gettext-minimal-native', 'expat-native', 'glib-2.0-native', 'util-macros', 'shadow', 'opkg-utils', 'shadow-sysroot', 'zstd', 'libseccomp', 'base-files', 'libcap', 'bash-completion', 'shadow-native', 'util-linux', 'acl', 'kmod', 'base-passwd', 'libxml2', 'wayland', 'wayland-protocols', 'libxfixes', 'xorgproto', 'libxext', 'libxdmcp', 'xcb-proto', 'libxau', 'libpthread-stubs', 'vulkan-loader', 'libdrm', 'libxshmfence', 'xrandr', 'libx11', 'vulkan-headers', 'libxxf86vm', 'libxdamage', 'expat', 'xcb-util', 'libsm', 'autoconf-archive', 'glib-2.0', 'm4-native', 'cmake-native', 'util-linux-native', 'libpcre2-native', 'python3-native', 'libffi-native', 'gettext-native', 'libxcrypt', 'attr', 'util-linux-libuuid', 'libcap-ng', 'ncurses', 'xz', 'python3', 'libffi', 'libxrandr', 'libpciaccess', 'libxrender', 'xtrans', 'libice', 'libpcre2', 'openssl-native', 'ncurses-native', 'bzip2-native', 'util-linux-libuuid-native', 'libcap-ng-native', 'libnsl2-native', 'gdbm-native', 'libtirpc-native', 'readline-native', 'sqlite3-native', 'sqlite3', 'libtirpc', 'readline', 'gdbm', 'bzip2', 'libnsl2', '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
    | NOTE: qmake prevar substitution: ' '
    | /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/git/.qmake.conf:1: Cannot find feature qt_build_config
    | Cannot find feature spec_pre.prf
    | Error processing project file: /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/git/qtxmlpatterns.pro
    | ERROR: Error calling /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/recipe-sysroot-native/usr/bin/qt5/qmake -makefile -o Makefile /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/git/qtxmlpatterns.pro --
    | WARNING: /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227:207 exit 1 from 'exit 1'
    | WARNING: Backtrace (BB generated script):
    | #1: bbfatal_log, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 207
    | #2: die, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 197
    | #3: qmake5_base_do_configure, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 183
    | #4: do_configure, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 151
    | #5: main, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 211
    ERROR: Task (/home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_configure) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 1821 tasks of which 1820 didn't need to be rerun and 1 failed.

    Summary: 1 task failed:
    /home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_configure
    Summary: There were 66 WARNING messages.
    Summary: There were 2 ERROR messages, returning a non-zero exit code.

    K 1 Reply Last reply 21 Mar 2024, 10:54
    0
    • K Kaijun
      20 Mar 2024, 12:23

      When I built qtxmlpatterns with yocto for arm, it failed with following messages, has anyone experienced this issue?

      DEBUG: Executing python function extend_recipe_sysroot
      | NOTE: Direct dependencies are ['/home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-core/glibc/glibc_2.37.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-devtools/gcc/gcc-cross_12.2.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-devtools/gcc/gcc-runtime_12.2.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/kaijun/Projects/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/kaijun/Projects/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
      | NOTE: Installed into sysroot: []
      | NOTE: Skipping as already exists in sysroot: ['qtbase-native', 'qtbase', 'glibc', 'gcc-cross-arm', 'gcc-runtime', 'quilt-native', 'patch-native', 'pseudo-native', 'libtool-native', 'attr-native', 'dbus-native', 'zlib-native', 'xcb-util-keysyms', 'freetype', 'xkeyboard-config', 'libjpeg-turbo', 'systemd', 'xcb-util-renderutil', 'libxkbcommon', 'zlib', 'libxi', 'libpng', 'xcb-util-wm', 'libxcb', 'openssl', 'mesa', 'xcb-util-image', 'dbus', 'zstd-native', 'texinfo-dummy-native', 'binutils-cross-arm', 'xz-native', 'mpfr-native', 'gnu-config-native', 'libmpc-native', 'linux-libc-headers', 'gmp-native', 'flex-native', 'libgcc', 'gettext-minimal-native', 'expat-native', 'glib-2.0-native', 'util-macros', 'shadow', 'opkg-utils', 'shadow-sysroot', 'zstd', 'libseccomp', 'base-files', 'libcap', 'bash-completion', 'shadow-native', 'util-linux', 'acl', 'kmod', 'base-passwd', 'libxml2', 'wayland', 'wayland-protocols', 'libxfixes', 'xorgproto', 'libxext', 'libxdmcp', 'xcb-proto', 'libxau', 'libpthread-stubs', 'vulkan-loader', 'libdrm', 'libxshmfence', 'xrandr', 'libx11', 'vulkan-headers', 'libxxf86vm', 'libxdamage', 'expat', 'xcb-util', 'libsm', 'autoconf-archive', 'glib-2.0', 'm4-native', 'cmake-native', 'util-linux-native', 'libpcre2-native', 'python3-native', 'libffi-native', 'gettext-native', 'libxcrypt', 'attr', 'util-linux-libuuid', 'libcap-ng', 'ncurses', 'xz', 'python3', 'libffi', 'libxrandr', 'libpciaccess', 'libxrender', 'xtrans', 'libice', 'libpcre2', 'openssl-native', 'ncurses-native', 'bzip2-native', 'util-linux-libuuid-native', 'libcap-ng-native', 'libnsl2-native', 'gdbm-native', 'libtirpc-native', 'readline-native', 'sqlite3-native', 'sqlite3', 'libtirpc', 'readline', 'gdbm', 'bzip2', 'libnsl2', '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
      | NOTE: qmake prevar substitution: ' '
      | /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/git/.qmake.conf:1: Cannot find feature qt_build_config
      | Cannot find feature spec_pre.prf
      | Error processing project file: /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/git/qtxmlpatterns.pro
      | ERROR: Error calling /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/recipe-sysroot-native/usr/bin/qt5/qmake -makefile -o Makefile /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/git/qtxmlpatterns.pro --
      | WARNING: /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227:207 exit 1 from 'exit 1'
      | WARNING: Backtrace (BB generated script):
      | #1: bbfatal_log, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 207
      | #2: die, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 197
      | #3: qmake5_base_do_configure, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 183
      | #4: do_configure, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 151
      | #5: main, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 211
      ERROR: Task (/home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_configure) failed with exit code '1'
      NOTE: Tasks Summary: Attempted 1821 tasks of which 1820 didn't need to be rerun and 1 failed.

      Summary: 1 task failed:
      /home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_configure
      Summary: There were 66 WARNING messages.
      Summary: There were 2 ERROR messages, returning a non-zero exit code.

      K Offline
      K Offline
      Kaijun
      wrote on 21 Mar 2024, 10:54 last edited by
      #2

      @Kaijun said in yocto build on qtxmlpatterns failed on Qt5.11:

      When I built qtxmlpatterns with yocto for arm, it failed with following messages, has anyone experienced this issue?

      DEBUG: Executing python function extend_recipe_sysroot
      | NOTE: Direct dependencies are ['/home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-core/glibc/glibc_2.37.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-devtools/gcc/gcc-cross_12.2.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-devtools/gcc/gcc-runtime_12.2.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/kaijun/Projects/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/kaijun/Projects/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
      | NOTE: Installed into sysroot: []
      | NOTE: Skipping as already exists in sysroot: ['qtbase-native', 'qtbase', 'glibc', 'gcc-cross-arm', 'gcc-runtime', 'quilt-native', 'patch-native', 'pseudo-native', 'libtool-native', 'attr-native', 'dbus-native', 'zlib-native', 'xcb-util-keysyms', 'freetype', 'xkeyboard-config', 'libjpeg-turbo', 'systemd', 'xcb-util-renderutil', 'libxkbcommon', 'zlib', 'libxi', 'libpng', 'xcb-util-wm', 'libxcb', 'openssl', 'mesa', 'xcb-util-image', 'dbus', 'zstd-native', 'texinfo-dummy-native', 'binutils-cross-arm', 'xz-native', 'mpfr-native', 'gnu-config-native', 'libmpc-native', 'linux-libc-headers', 'gmp-native', 'flex-native', 'libgcc', 'gettext-minimal-native', 'expat-native', 'glib-2.0-native', 'util-macros', 'shadow', 'opkg-utils', 'shadow-sysroot', 'zstd', 'libseccomp', 'base-files', 'libcap', 'bash-completion', 'shadow-native', 'util-linux', 'acl', 'kmod', 'base-passwd', 'libxml2', 'wayland', 'wayland-protocols', 'libxfixes', 'xorgproto', 'libxext', 'libxdmcp', 'xcb-proto', 'libxau', 'libpthread-stubs', 'vulkan-loader', 'libdrm', 'libxshmfence', 'xrandr', 'libx11', 'vulkan-headers', 'libxxf86vm', 'libxdamage', 'expat', 'xcb-util', 'libsm', 'autoconf-archive', 'glib-2.0', 'm4-native', 'cmake-native', 'util-linux-native', 'libpcre2-native', 'python3-native', 'libffi-native', 'gettext-native', 'libxcrypt', 'attr', 'util-linux-libuuid', 'libcap-ng', 'ncurses', 'xz', 'python3', 'libffi', 'libxrandr', 'libpciaccess', 'libxrender', 'xtrans', 'libice', 'libpcre2', 'openssl-native', 'ncurses-native', 'bzip2-native', 'util-linux-libuuid-native', 'libcap-ng-native', 'libnsl2-native', 'gdbm-native', 'libtirpc-native', 'readline-native', 'sqlite3-native', 'sqlite3', 'libtirpc', 'readline', 'gdbm', 'bzip2', 'libnsl2', '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
      | NOTE: qmake prevar substitution: ' '
      | /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/git/.qmake.conf:1: Cannot find feature qt_build_config
      | Cannot find feature spec_pre.prf
      | Error processing project file: /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/git/qtxmlpatterns.pro
      | ERROR: Error calling /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/recipe-sysroot-native/usr/bin/qt5/qmake -makefile -o Makefile /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/git/qtxmlpatterns.pro --
      | WARNING: /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227:207 exit 1 from 'exit 1'
      | WARNING: Backtrace (BB generated script):
      | #1: bbfatal_log, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 207
      | #2: die, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 197
      | #3: qmake5_base_do_configure, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 183
      | #4: do_configure, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 151
      | #5: main, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 211
      ERROR: Task (/home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_configure) failed with exit code '1'
      NOTE: Tasks Summary: Attempted 1821 tasks of which 1820 didn't need to be rerun and 1 failed.

      Summary: 1 task failed:
      /home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_configure
      Summary: There were 66 WARNING messages.
      Summary: There were 2 ERROR messages, returning a non-zero exit code.

      When I built qtbase and qtbase-native, they use configure, but qtxmlpatterns uses qmake to configure instead, why?

      1 Reply Last reply
      0

      2/2

      21 Mar 2024, 10:54

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved