imx8mm yotoc qt5 errror

cancel
Showing results for 
Search instead for 
Did you mean: 

imx8mm yotoc qt5 errror

361 Views
Contributor I

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)

"

0 Kudos
15 Replies

324 Views
NXP Employee
NXP Employee

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?

0 Kudos

319 Views
Contributor I
 
0 Kudos

305 Views
NXP Employee
NXP Employee

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.

0 Kudos

295 Views
Contributor I
At first, I couldn't find the error prompt of 5.10.1, only part of the console display. Later, I searched the Internet for the same error prompt, but the version of QT 5.9.4, and then I pasted it over. the vision of qt always is 5.10.1.
 

I'm sorry about that

0 Kudos

226 Views
NXP Employee
NXP Employee

In my environement, qtbase build is OK.

See attached logs.

The version of qtbase is 5.9.4.

 

So could you try to build 5.9.4 again with command:

bitbake qtbase -c cleansstate && bitbake qtbase -vv

0 Kudos

215 Views
Contributor I

How to change the version of QT

0 Kudos

202 Views
NXP Employee
NXP Employee

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

0 Kudos

220 Views
Contributor I

but the log is different,the logis follow

0 Kudos

222 Views
Contributor I

I tried your method, but still can't, or report error.

0 Kudos

266 Views
Contributor I

this error how can I fix it?

0 Kudos

300 Views
Contributor I

I didnt change  the qt version. 

just use the command " bitbake -k fsl-image-qt5-validation-imx".

0 Kudos

346 Views
NXP Employee
NXP Employee

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

0 Kudos

326 Views
Contributor I

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.

0 Kudos

336 Views
Contributor I

Which one can replace that one ?

 

0 Kudos

341 Views
Contributor I


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.

0 Kudos