imx8mm yotoc qt5 errror

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8mm yotoc qt5 errror

4,973件の閲覧回数
blackhuang
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)

"

ラベル(1)
0 件の賞賛
15 返答(返信)

4,936件の閲覧回数
terry_lv
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 件の賞賛

4,931件の閲覧回数
blackhuang
Contributor I
 
0 件の賞賛

4,917件の閲覧回数
terry_lv
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 件の賞賛

4,907件の閲覧回数
blackhuang
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 件の賞賛

4,838件の閲覧回数
terry_lv
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 件の賞賛

4,827件の閲覧回数
blackhuang
Contributor I

How to change the version of QT

0 件の賞賛

4,814件の閲覧回数
terry_lv
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 件の賞賛

4,832件の閲覧回数
blackhuang
Contributor I

but the log is different,the logis follow

0 件の賞賛

4,834件の閲覧回数
blackhuang
Contributor I

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

0 件の賞賛

4,878件の閲覧回数
blackhuang
Contributor I

this error how can I fix it?

0 件の賞賛

4,912件の閲覧回数
blackhuang
Contributor I

I didnt change  the qt version. 

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

0 件の賞賛

4,958件の閲覧回数
terry_lv
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 件の賞賛

4,938件の閲覧回数
blackhuang
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 件の賞賛

4,948件の閲覧回数
blackhuang
Contributor I

Which one can replace that one ?

 

0 件の賞賛

4,953件の閲覧回数
blackhuang
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 件の賞賛