Hi NXP
I am working on 5.10.72
When I do
bitbake imx-image-full or bitbake onnxruntime
I got an error like the below, I have no idea what going on, anyone can help?
Also, I had already tried this command and rebuild, but not working for me.
bitbake imx-image-full -c cleanall
bitbake onnxruntime - c cleanall
rm -rf ./tmp
rm -rf ./sstate-cache
| make[2]: Leaving directory '/media/wols/YoctoHDD/imx-yocto-bsp/build/tmp/work/cortexa35-poky-linux/onnxruntime/1.8.2-r0/build'
| make -f external/onnx/CMakeFiles/onnx.dir/build.make external/onnx/CMakeFiles/onnx.dir/build
| fatal: unsafe repository ('/media/wols/YoctoHDD/imx-yocto-bsp/build/tmp/work/cortexa35-poky-linux/onnxruntime/1.8.2-r0/build/pybind11/src/pybind11' is owned by someone else)
| To add an exception for this directory, call:
|
| git config --global --add safe.directory /media/wols/YoctoHDD/imx-yocto-bsp/build/tmp/work/cortexa35-poky-linux/onnxruntime/1.8.2-r0/build/pybind11/src/pybind11
| CMake Error at /media/wols/YoctoHDD/imx-yocto-bsp/build/tmp/work/cortexa35-poky-linux/onnxruntime/1.8.2-r0/build/pybind11/tmp/pybind11-gitupdate.cmake:14 (message):
| Failed to get the hash for HEAD
|
|
| make[2]: *** [CMakeFiles/pybind11.dir/build.make:115: pybind11/src/pybind11-stamp/pybind11-update] Error 1
| make[2]: Leaving directory '/media/wols/YoctoHDD/imx-yocto-bsp/build/tmp/work/cortexa35-poky-linux/onnxruntime/1.8.2-r0/build'
| make[2]: Leaving directory '/media/wols/YoctoHDD/imx-yocto-bsp/build/tmp/work/cortexa35-poky-linux/onnxruntime/1.8.2-r0/build'
| make[1]: *** [CMakeFiles/Makefile2:2012: CMakeFiles/pybind11.dir/all] Error 2
| make[1]: *** Waiting for unfinished jobs....
Solved! Go to Solution.
In my case just do
git config --global --add safe.directory /media/wols/YoctoHDD/imx-yocto-bsp/build/tmp/work/cortexa35-poky-linux/onnxruntime/1.8.2-r0/build/pybind11/src/pybind11
Thank you.
It means if I go to yocto_project_guide 5.15 from 5.10.71, will still get the same error?
I will try it later because bitbake is already stocked at do_fetch for more than one day.
I think there have been some issues with codeaurora, since the download speed is less than 100k/s.