常见问答

FAQ

Bitbake nvt-image-qt5 fail in Yocto  Issue Date:2025-03-03

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:
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.
 $ bitbake qtquickcontrols2 -c cleanall
 
 $ bitbake qtquickcontrols2
 
And Bitbake nvt-image-qt5. 
Products: Microprocessors ,Arm Cortex-A35 MPUs
Applications:
Function: Others,Boot source,Yocto