'qtPrepareTool' is not a recognized test function.
Unsolved
Installation and Deployment
-
Hi there,
I'm working on i.mx6q sabreauto board. The following is the error log I'm getting when trying to bitbake.bitbake fsl-image-avb Loading cache: 100% |########################################################################################################################################################################################################| ETA: 00:00:00 Loaded 3020 entries from dependency cache. Parsing recipes: 100% |######################################################################################################################################################################################################| Time: 00:00:00 Parsing of 2434 .bb files complete (2431 cached, 3 parsed). 3022 targets, 414 skipped, 12 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.30.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-14.04" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "imx6qsabreauto" DISTRO = "nxp-imx-agl-wayland" DISTRO_VERSION = "4.1.15-2.0.0" TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9" TARGET_FPU = "hard" meta meta-poky = "HEAD:f5da2a5913319ad6ac2141438ba1aa17576326ab" meta-oe meta-multimedia = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a" meta-fsl-arm = "HEAD:be78894e4682f111575470fb23e51e6ba523508d" meta-fsl-arm-extra = "HEAD:3dfb82fc7e703eae9891b3ffda0e9393701f2396" meta-fsl-demos = "HEAD:a165068f8a0d1cf29aabe4b4053f28be1c2aa492" meta-bsp meta-sdk = "HEAD:0451810f7ec7da962bd899f5b0fe26afee1676ca" meta-browser = "HEAD:77736988073a5d90fcff9d0005c8477332ede387" meta-gnome meta-networking meta-python meta-filesystems = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a" meta-qt5 = "<unknown>:<unknown>" meta-efl = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a" meta-rust = "HEAD:bedc4ad57c01a6e1c9ce11d36ab51b2f2a9e0dac" meta-agl meta-agl-bsp meta-ivi-common = "HEAD:85844f4d250d1a45129455c76e467e38d3b3e92c" meta-agl-demo = "HEAD:c893ae9b7e61a833899b181e0017ee2cfab8b97e" meta-nxp-agl = "HEAD:b082e3ec3666269526f19b3691eda06cace32401" meta-gpsnavi-agl = "HEAD:b5feb136b5dd546284a9ba4452c18f74ac1570ac" meta-nxp-agl = "HEAD:b082e3ec3666269526f19b3691eda06cace32401" meta-fsl-avb-release = "<unknown>:<unknown>" NOTE: Preparing RunQueue WARNING: /home/user1/fsl-arm-yocto-bsp_nxp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb.do_compile is tainted from a forced run WARNING: /home/user1/fsl-arm-yocto-bsp_nxp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2016.03.bb.do_compile is tainted from a forced run WARNING: /home/user1/fsl-arm-yocto-bsp_nxp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/imx-test/imx-test_5.7.bb.do_compile is tainted from a forced run NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: qtbase-native-5.7.1+gitAUTOINC+a55f36211e-r0 do_compile: oe_runmake failed ERROR: qtbase-native-5.7.1+gitAUTOINC+a55f36211e-r0 do_compile: Function failed: do_compile (log file is located at /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/temp/log.do_compile.8803) ERROR: Logfile of failure stored in: /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/temp/log.do_compile.8803 Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 8 MAKEFLAGS=-j 8 OE_QMAKE_COMPILER=gcc OE_QMAKE_CC=gcc OE_QMAKE_CXX=g++ OE_QMAKE_CFLAGS=-isystem/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe OE_QMAKE_CXXFLAGS=-isystem/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe OE_QMAKE_LINK=g++ OE_QMAKE_LDFLAGS=-L/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/sysroots/x86_64-linux/usr/lib -L/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/sysroots/x86_64-linux/lib -Wl,-O1 OE_QMAKE_AR=ar OE_QMAKE_STRIP=echo OE_QMAKE_WAYLAND_SCANNER=/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/sysroots/x86_64-linux/usr/bin/wayland-scanner OE_QMAKE_INCDIR_QT=//home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/sysroots/x86_64-linux/usr/include/qt5 | cd src/ && ( test -e Makefile || /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/build/bin/qmake /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/git/src/src.pro -o Makefile ) && make -f Makefile | cd qmake/ && ( test -e Makefile.qmake-aux || /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/build/bin/qmake /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/git/qmake/qmake-aux.pro -o Makefile.qmake-aux ) && make -f Makefile.qmake-aux | cd doc/ && ( test -e Makefile || /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/build/bin/qmake /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/git/doc/doc.pro -o Makefile ) && make -f Makefile | make[1]: Entering directory `/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/build/src' | Makefile:497: warning: overriding commands for target `sub-uic-qmake_all' | Makefile:384: warning: ignoring old commands for target `sub-uic-qmake_all' | Makefile:501: warning: overriding commands for target `sub-uic' | Makefile:388: warning: ignoring old commands for target `sub-uic' | Makefile:504: warning: overriding commands for target `sub-uic-make_first' | Makefile:391: warning: ignoring old commands for target `sub-uic-make_first' | Makefile:507: warning: overriding commands for target `sub-uic-all' | Makefile:394: warning: ignoring old commands for target `sub-uic-all' | Makefile:510: warning: overriding commands for target `sub-uic-clean' | Makefile:397: warning: ignoring old commands for target `sub-uic-clean' | Makefile:513: warning: overriding commands for target `sub-uic-distclean' | Makefile:400: warning: ignoring old commands for target `sub-uic-distclean' | Makefile:516: warning: overriding commands for target `sub-uic-install_subtargets' | Makefile:403: warning: ignoring old commands for target `sub-uic-install_subtargets' | Makefile:519: warning: overriding commands for target `sub-uic-uninstall_subtargets' | Makefile:406: warning: ignoring old commands for target `sub-uic-uninstall_subtargets' | Makefile:717: warning: overriding commands for target `sub-uic-distdir' | Makefile:701: warning: ignoring old commands for target `sub-uic-distdir' | make[1]: Entering directory `/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/build/qmake' | make[1]: Nothing to be done for `first'. | make[1]: Leaving directory `/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/build/qmake' | cd tools/bootstrap/ && ( test -e Makefile || /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/build/bin/qmake /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/git/src/tools/bootstrap/bootstrap.pro -o Makefile ) && make -f Makefile | cd 3rdparty/pcre/ && ( test -e Makefile || /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/build/bin/qmake /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/git/src/3rdparty/pcre/pcre.pro -o Makefile ) && make -f Makefile | /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/git/mkspecs/features/qt_module_headers.prf:15: 'qtPrepareTool' is not a recognized test function. | sh: 1: -minimal: not found | Project ERROR: Failed to run: -minimal -module QtCore -module QtXml -version 5.7.1 -outdir /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/build /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/git | make[1]: *** [sub-bootstrap-make_first] Error 3 | make[1]: *** Waiting for unfinished jobs.... | /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/git/mkspecs/features/qt_helper_lib.prf:32: 'qt5LibraryTarget' is not a recognized replace function. | make[1]: Entering directory `/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/build/doc' | make[1]: Nothing to be done for `first'. | make[1]: Leaving directory `/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/build/doc' | WARNING: TARGET is empty | ASSERT: "!isEmpty()" in file ../include/QtCore/../../../git/src/corelib/tools/qvector.h, line 235 | Aborted (core dumped) | make[1]: *** [sub-3rdparty-pcre-make_first] Error 134 | make[1]: Leaving directory `/home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/build/src' | make: *** [sub-src-make_first] Error 2 | WARNING: exit code 1 from a shell command. | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (log file is located at /home/user1/fsl-arm-yocto-bsp_nxp/bld-agl/tmp/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/temp/log.do_compile.8803) ERROR: Task 1856 (/home/user1/fsl-arm-yocto-bsp_nxp/sources/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb, do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 2125 tasks of which 2124 didn't need to be rerun and 1 failed. No currently running tasks (1262 of 6522) Summary: 1 task failed: /home/user1/fsl-arm-yocto-bsp_nxp/sources/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb, do_compile Summary: There were 3 WARNING messages shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
I've gone through the post https://forum.qt.io/topic/71485/curious-problems-while-cross-compiling-qt-5-5-1 but I couldn't figure out what's wrong. Please help.