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.
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 ?
I have built imx8mp successfully with 5.15, but as I known the older bsp version has this issue