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. -
@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?