Hi,
I have recently purchased imx8mqevk board.
I have installed ubuntu16.04 in the vmware
I have download the yocto project by using "repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-rocko -m imx-4.9.88-2.0.0_ga.xml".
Then I run the commond:
->"DISTRO=fsl-imx-xwayland MACHINE=imx8mqevk source fsl-setup-release.sh -b build-xwayland"
->"bitbake fsl-image-qt5-validation-imx"
but there are some errors:
"
make[5]: Leaving directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests/auto/gui/text/qtextlist'
cd qinputcontrol/ && ( test -e Makefile || /home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/git/tests/auto/gui/text/qinputcontrol/qinputcontrol.pro -qtconf /home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/bin/qt.conf ) && make -f Makefile
make[5]: Entering directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests/auto/gui/text/qtexttable'
make[5]: Nothing to be done for `first'.
make[5]: Leaving directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests/auto/gui/text/qtexttable'
make[5]: Entering directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests/auto/gui/text/qtextscriptengine'
make[5]: Nothing to be done for `first'.
make[5]: Leaving directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests/auto/gui/text/qtextscriptengine'
make[5]: Entering directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests/auto/gui/text/qtextobject'
make[5]: Nothing to be done for `first'.
make[5]: Leaving directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests/auto/gui/text/qtextobject'
make[5]: Entering directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests/auto/gui/text/qinputcontrol'
make[5]: Nothing to be done for `first'.
make[5]: Leaving directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests/auto/gui/text/qinputcontrol'
make[4]: Leaving directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests/auto/gui/text'
make[3]: Leaving directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests/auto/gui'
make[2]: Leaving directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests/auto'
make[1]: *** [sub-auto-make_first] Error 2
make[1]: Leaving directory `/home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/build/tests'
make: *** [sub-tests-make_first] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/temp/log.do_compile.11936)
"
In your log,
"ERROR: Function failed: do_compile (log file is located at /home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/temp/log.do_compile.11936)"
Could you paste the log.do_compile.xxxxx file there?
Have you changed the qt version?
The first log is using 5.9.4+gitAUTOINC+0d9208cecb, while the lastest log shows 5.10.1+gitAUTOINC+6c6ace9d23.
I tried to reproduce your issue with qtbase 5.9.4 here and the build passed in my Ubuntu 16.04.
So this seems to be a environment issue.
I'm sorry about that
How to change the version of QT
Hi,
It's strange that I'm also using your commands in building, but my qt version is 5.9.4.
Please check source/meta-qt5/recipes-qt/qt5/qt5-git.inc for qt version.
In my environment, I can see "PV = "5.9.4+git${SRCPV}"".
Thanks!
Regards
Terry
I tried your method, but still can't, or report error.
this error how can I fix it?
I didnt change the qt version.
just use the command " bitbake -k fsl-image-qt5-validation-imx".
Hi,
Could you paste /home/fushi/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mq-poky-linux/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/temp/log.do_compile.11936 here?
Thanks!
Regards
Terry
Can I download Qt5 related files first and then import them into the corresponding folder? If this method can be implemented, can you provide the corresponding Download URL.
Which one can replace that one ?
there is no log.do_compile.11936 ,and there is log.do_compile.10743, log.do_compile.14500, log.do_compile.17093, log.do_compile.19758, log.do_compile.130721.