BSP L5.15.5 Compile Issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

BSP L5.15.5 Compile Issue

跳至解决方案
6,099 次查看
weilly_li
Contributor IV

Hi, Guys

I got some trouble when I tried to build yocto BSP L5.15.5.
It is about qt-base.bb package comiple error, have someone ever meet the same things ?

my step on ubuntu 20.04 :
       $ mkdir <Yocto Project>
       $ cd <Yocto Project>
       $ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-honister -m imx-              5.15.5-1.0.0.xml
       $ repo sync
       $ EULA=1 MACHINE=imx8mpevk DISTRO=fsl-imx-xwayland
       $ source ./imx-setup-release.sh -b buildxwayland
       $ bitbake imx-image-full

error log as :

qtbase.png

 

0 项奖励
1 解答
5,897 次查看
HME15769
Contributor II

Hi, @weilly_li 

Please check the log file when "do_install" process failed.

(location: <your_env>/tmp/work/cortexa53-crypto-poky-linux/onnxruntime/1.10.0-r0/tmp/log.do_install.xxxxx)

 

I had same issue because onnxruntime from "onnxruntime-imx" repository contained an unsafe repository.

This error information is listed on my "log.do_install.xxxxx" file.

In my case, the solution to this issue is "git config --global --add safe.directory <unsafe repo's directory>" command.

 (This issue probably occurred recently. https://github.com/actions/checkout/issues/760 )

 

在原帖中查看解决方案

13 回复数
5,954 次查看
josephzhou1
Contributor V

hi i saw you first used  " fsl-yocto-8mp-5-15 " , suddenly

u changed to "imx-yocto-bsp-L5-15-5" 

sometimes this issue caused by other files in yocto between two builds two folders :

 

 

i means can you totally delete all old files , and create new folder ,open new terminal , new repo sync and build it again , shld be ok.

 

 

Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore
0 项奖励
6,092 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please try to clean this project and redownload it.

0 项奖励
6,078 次查看
weilly_li
Contributor IV

Hi, @Zhiming_Liu 

      I tried clean this project and redownload it ! this is same error !!

      command as :

         bitbake -f -c clean qtbase
         bitbake -f -c build qtbase

         or

         bitbake -f -c clean nativesdk-qtbase
         bitbake -f -c build nativesdk-qtbase

      Which one need to fix ? Thank
      

0 项奖励
6,069 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Try to delete all files and redownload yocto project, sometimes this issue caused by other files in yocto

0 项奖励
6,053 次查看
weilly_li
Contributor IV

Hi, @Zhiming_Liu 

       I rebuild all yocto project , still same issue all time.

       Did you build yocto bsp L 5.15.5 ?  I offer u my log , please help me check it ...

       Thank You
       
       

      

0 项奖励
6,044 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

NXP has tested this version before release.

I didn't see this issue, even in WSL2.

Did you install all host packages on Ubuntu20.04?

0 项奖励
6,036 次查看
weilly_li
Contributor IV

hi, @Zhiming_Liu 

Thank You for help , I has build done about qtbase.

I found this Issue at VMWare , so I run "bitbake qtbase" after modify virtual RAM and CPUs . Now BSP task achice 21 %

I'll note here after anything problem , Thank You

ref : https://bugreports.qt.io/browse/QTQAINFRA-4669

0 项奖励
6,021 次查看
weilly_li
Contributor IV

Hi, @Zhiming_Liu 

        Now,  I have a troblem about ONNXRuntime do_fetch Issue.

        Please tell me what's next ? I will apprecitate you !! thank you

         onnxruntime.PNG

        

0 项奖励
6,019 次查看
HME15769
Contributor II

protobuf git link is incorrect in the 2nd error line. "master" branch is not exist in protobuf repository.

https://community.nxp.com/t5/i-MX-Processors/Build-of-onxxruntime-native-in-imx-image-full-for-IMX8M...

6,005 次查看
weilly_li
Contributor IV

. Hi, @HME15769 

      that's very power information !!  I fetched successfully onnxruntime !! 
      thank you so much !!

 

 

0 项奖励
5,959 次查看
weilly_li
Contributor IV

Hi, @HME15769 and @Qmiller 

       I still fail as onnx runtime comiple....

0 项奖励
5,898 次查看
HME15769
Contributor II

Hi, @weilly_li 

Please check the log file when "do_install" process failed.

(location: <your_env>/tmp/work/cortexa53-crypto-poky-linux/onnxruntime/1.10.0-r0/tmp/log.do_install.xxxxx)

 

I had same issue because onnxruntime from "onnxruntime-imx" repository contained an unsafe repository.

This error information is listed on my "log.do_install.xxxxx" file.

In my case, the solution to this issue is "git config --global --add safe.directory <unsafe repo's directory>" command.

 (This issue probably occurred recently. https://github.com/actions/checkout/issues/760 )

 

5,842 次查看
weilly_li
Contributor IV

Hi, @HME15769

      Your solution is great detail !!

      I had compile finish on yocto bsp L5.15.5

      so appreciate your help !! Thank !! 

0 项奖励