Bitbake nvt-image-qt5 Fail in Yocto
Answer.
Error message : /meta-qt5/recipes-qt/qt5/qtquickcontrols2_git.bb:do_compile) failed with exit code '1' when bitbake nvt-image-qt5 in Yocto.
Show as follows:
Code: Select all
~~~
| make[2]: *** [Makefile:479: ../../lib/libQt5QuickTemplates2.so.5.14.2] Error 1
| make[2]: Leaving directory '/home/user/shared/yocto/build/tmp-glibc/work/aarch64-poky-linux/qtquickcontrols2/5.14.2+gitAUTOINC+bb2b1adffe-r0/build/src/quicktemplates2'
| make[1]: *** [Makefile:49: sub-quicktemplates2-make_first] Error 2
| make[1]: Leaving directory '/home/user/shared/yocto/build/tmp-glibc/work/aarch64-poky-linux/qtquickcontrols2/5.14.2+gitAUTOINC+bb2b1adffe-r0/build/src'
| make: *** [Makefile:49: sub-src-make_first] Error 2
| WARNING: exit code 1 from a shell command.
…
ERROR: Task (/home/user/shared/yocto/sources//meta-qt5/recipes-qt/qt5/qtquickcontrols2_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2709 tasks of which 2704 didn't need to be rerun and 1 failed.
Compile errors due to incomplete downloads, run the command to clean and rebuild:
Code: Select all
$ bitbake qtquickcontrols2 -c cleanall
Code: Select all
$ bitbake qtquickcontrols2
#MA35D1 #SOM_EVB #nvt-image-qt5 #Bitbake #qtquickcontrols2
.