Part Number: AM625
Hello Team,
I am building yocto for AM6254-SK EVM with target MACHINE=am62xx-evm (based on config configs/processor-sdk/processor-sdk-08.03.00.19-config.txt)
I am facing build issue for package "onnxruntime" for target image "tisdk-default-image" as below:
[1/6] cd /home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/build/pybind11/src/pybind11 && /home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/recipe-sysroot-native/usr/bin/cmake -P /home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/build/pybind11/tmp/pybind11-gitupdate.cmake
FAILED: pybind11/src/pybind11-stamp/pybind11-update
cd /home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/build/pybind11/src/pybind11 && /home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/recipe-sysroot-native/usr/bin/cmake -P /home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/build/pybind11/tmp/pybind11-gitupdate.cmake
fatal: detected dubious ownership in repository at '/home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/build/pybind11/src/pybind11'
To add an exception for this directory, call:
git config --global --add safe.directory /home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/build/pybind11/src/pybind11
CMake Error at /home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/build/pybind11/tmp/pybind11-gitupdate.cmake:10 (message):
Failed to get the hash for HEAD
ninja: build stopped: subcommand failed.
+ bb_exit_handler
+ ret=1
+ case $ret in
+ case $BASH_VERSION in
+ echo 'WARNING: /home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/temp/run.do_install.247239:1 exit 1 from '\''eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '\''/home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/build'\'' "$@" -- ${EXTRA_OECMAKE_BUILD}'\'''
WARNING: /home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/temp/run.do_install.247239:1 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
+ exit 1
ERROR: onnxruntime-1.7.0-r0.tisdk0 do_install: Execution of '/home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/temp/run.do_install.247239' failed with exit code 1
ERROR: Logfile of failure stored in: /home/anilpatel/ti_yocto/tisdk/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0.tisdk0/temp/log.do_install.247239
ERROR: Task (/home/anilpatel/ti_yocto/tisdk/sources/meta-processor-sdk/recipes-core/onnxruntime/onnxruntime.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1128 tasks of which 1127 didn't need to be rerun and 1 failed.
Can someone please help me resolve this do_install error?
Thanks and Regards,
Anil Patel