AnsweredAssumed Answered

how to build meta-toolchain-qt5

Question asked by k ms on Feb 25, 2019
Latest reply on Mar 19, 2019 by Takashi Kashiwagi

i used imx8mq-evk.

yocto 

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
repo sync

 

DISTRO=fsl-imx-wayland MACHINE=imx8mqevk source fsl-setup-release.sh -b build-wayland

bitbake fsl-image-qt5-validation-imx

success..

 

but

bitbake meta-toolchain-qt5 -c populate_sdk

or

bitbake meta-toolchain-qt5 

 

Initialising tasks: 100% |##########################################################################| Time: 0:00:17
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: qtlocation-5.9.4+gitAUTOINC+a34e08740d_8c1be4ec01-r0 do_compile: oe_runmake failed
ERROR: qtlocation-5.9.4+gitAUTOINC+a34e08740d_8c1be4ec01-r0 do_compile: Function failed: do_compile (log file is located at /yocto/imx-yocto-bsp/build/tmp/work/aarch64-poky-linux/qtlocation/5.9.4+gitAUTOINC+a34e08740d_8c1be4ec01-r0/temp/log.do_compile.29647)
ERROR: Logfile of failure stored in: /yocto/imx-yocto-bsp/build/tmp/work/aarch64-poky-linux/qtlocation/5.9.4+gitAUTOINC+a34e08740d_8c1be4ec01-r0/temp/log.do_compile.29647
Log data follows:

......

| collect2: error: ld returned 1 exit status
| make[2]: *** [../../lib/libQt5Location.so.5.9.4] Error 1
| make[2]: Leaving directory `/yocto/imx-yocto-bsp/build/tmp/work/aarch64-poky-linux/qtlocation/5.9.4+gitAUTOINC+a34e08740d_8c1be4ec01-r0/build/src/location'
| make[1]: *** [sub-location-make_first] Error 2
| make[1]: Leaving directory `/yocto/imx-yocto-bsp/build/tmp/work/aarch64-poky-linux/qtlocation/5.9.4+gitAUTOINC+a34e08740d_8c1be4ec01-r0/build/src'
| make: *** [sub-src-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 /yocto/imx-yocto-bsp/build/tmp/work/aarch64-poky-linux/qtlocation/5.9.4+gitAUTOINC+a34e08740d_8c1be4ec01-r0/temp/log.do_compile.29647)
ERROR: Task (/yocto/imx-yocto-bsp/sources/meta-qt5/recipes-qt/qt5/qtlocation_git.bb:do_compile) failed with exit code '1'
Waiting for 3 running tasks to finish:

 

 

build failed....qtlocation...

 

please help me....

 

thank you.

Outcomes