Build of onxxruntime-native in imx-image-full for IMX8MP was failed, and fixed it.

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

Build of onxxruntime-native in imx-image-full for IMX8MP was failed, and fixed it.

1,290件の閲覧回数
T-Ii
Contributor III

I tried to build imx-image-full with imx-5.15.5-1.0.0.

onxxruntime-native_1.0.0.bb fetch faild. Log file says that, 

DEBUG: Mirror fetch failure for url https://downloads.yoctoproject.org/mirror/sources/git2_github.com.google.protobuf.git.tar.gz (original url: git://github.com/google/protobuf.git;branch=master;name=protobuf)
DEBUG: Fetcher failure: Unable to find revision 2dc747c574b68a808ea4699d26942c8132fe2b09 in branch master even from upstream

I found repository "github.com/google/protobuf" doesn't have a branch "master" but "main".

I modified the file "onxxruntime-native_1.0.0.bb" as follow ( describe in diff style), 

- GIT_protobuf = "git://github.com/google/protobuf.git;branch=master;name=protobuf"
+ GIT_protobuf = "git://github.com/google/protobuf.git;branch=main;name=protobuf"

 After this modification, the build finished as a success.

タグ(1)
2 返答(返信)

751件の閲覧回数
Rock_Lee
Contributor II

I still failed to build "imx-image-full with imx-5.10.52-2.1.0  ,

even I change "branch=master" to "branch=main".

How to modify ?

0 件の賞賛
返信

1,274件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

I have built imx8mp successfully with 5.15, but as I known the older bsp version has this issue