Dear NXP Supporting Team.
would you please kindly help to check the following error and warning.
Could you help to give some advice?
thanks
Linux Branch : L5.10.72
crp@crp-ubuntu:~/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72$ source setup-environment build-wayland
Welcome to Freescale Community BSP
The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
http://yoctoproject.org/documentation
For more information about OpenEmbedded see their website:
http://www.openembedded.org/
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support
Your configuration files at build-wayland have not been touched.
crp@crp-ubuntu:~/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland$ bitbake -k imx-image-full --runall=fetch
Error as following :
Initialising tasks: 100% |################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 0 Local 0 Network 0 Missed 0 Current 0 (0% match, 0% complete)
NOTE: No setscene tasks
NOTE: Executing Tasks
WARNING: onnxruntime-1.8.2-r0 do_fetch: Failed to fetch URL gitsm://github.com/nxp-imx/onnxruntime-imx.git;protocol=https;branch=lf-5.10.72_2.2.0, attempting MIRRORS if available
ERROR: onnxruntime-1.8.2-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland/tmp/work/cortexa53-crypto-poky-linux/onnxruntime/1.8.2-r0/recipe-sysroot-native/usr/bin/python3-native:/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/sources/poky/scripts:/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland/tmp/work/cortexa53-crypto-poky-linux/onnxruntime/1.8.2-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland/tmp/work/cortexa53-crypto-poky-linux/onnxruntime/1.8.2-r0/recipe-sysroot/usr/bin/crossscripts:/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland/tmp/work/cortexa53-crypto-poky-linux/onnxruntime/1.8.2-r0/recipe-sysroot-native/usr/sbin:/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland/tmp/work/cortexa53-crypto-poky-linux/onnxruntime/1.8.2-r0/recipe-sysroot-native/usr/bin:/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland/tmp/work/cortexa53-crypto-poky-linux/onnxruntime/1.8.2-r0/recipe-sysroot-native/sbin:/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland/tmp/work/cortexa53-crypto-poky-linux/onnxruntime/1.8.2-r0/recipe-sysroot-native/bin:/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/sources/poky/bitbake/bin:/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland/tmp/hosttools"; export HOME="/home/crp"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://github.com/nxp-imx/onnxruntime-imx.git /home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/downloads//git2/github.com.nxp-imx.onnxruntime-imx.git --progress failed with exit code 128, no output
ERROR: onnxruntime-1.8.2-r0 do_fetch: Fetcher failure for URL: 'gitsm://github.com/nxp-imx/onnxruntime-imx.git;protocol=https;branch=lf-5.10.72_2.2.0'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland/tmp/work/cortexa53-crypto-poky-linux/onnxruntime/1.8.2-r0/temp/log.do_fetch.19344
ERROR: Task (/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/sources/meta-imx/meta-ml/recipes-libraries/onnxruntime/onnxruntime_1.8.2.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 661 tasks of which 660 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/sources/meta-imx/meta-ml/recipes-libraries/onnxruntime/onnxruntime_1.8.2.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
crp@crp-ubuntu:~/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland$
Solved! Go to Solution.
Hi Joan Xie.
thanks a lot for your support.
i have checked the link
"https://stackoverflow.com/questions/72424674/is-there-a-solution-for-the-odd-error-of-bitbake"
But i have no idea that it can fix my problem.
please check and advice.
thanks.
Dear NXP Support Team.
please check the log as following.
I can git clone from git clone https://github.com/microsoft/onnxruntime-tvm.git
So I do not think this should be network issue.
would you help to check and give some advice?
Thanks.
crp@crp-ubuntu:~$ mkdir temp_onnxruntime
crp@crp-ubuntu:~$ cd temp_onnxruntime/
crp@crp-ubuntu:~/temp_onnxruntime$ git clone https://github.com/microsoft/onnxruntime-tvm.git
Cloning into 'onnxruntime-tvm'...
remote: Enumerating objects: 47548, done.
remote: Counting objects: 100% (130/130), done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 47548 (delta 93), reused 83 (delta 83), pack-reused 47418
Receiving objects: 100% (47548/47548), 16.85 MiB | 1.74 MiB/s, done.
Resolving deltas: 100% (32014/32014), done.
2,718 items, totalling 35.8 MB of temp_onnxruntime/
crp@crp-ubuntu:~$ cd temp_onnxruntime/
crp@crp-ubuntu:~/temp_onnxruntime$ ls
onnxruntime-tvm
crp@crp-ubuntu:~/temp_onnxruntime$ cd onnxruntime-tvm/
crp@crp-ubuntu:~/temp_onnxruntime/onnxruntime-tvm$ ls
3rdparty docker LICENSE README.md tutorials
apps docs Makefile rust version.py
cmake golang NEWS.md SECURITY.md vta
CMakeLists.txt include nnvm src web
conda Jenkinsfile NOTICE tests
CONTRIBUTORS.md jvm python topi
crp@crp-ubuntu:~/temp_onnxruntime/onnxruntime-tvm$
Dear NXP Support Team;
please check the update as following :
crp@crp-ubuntu:~/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland$ bitbake -c cleansstate connxruntime
Loading cache: 100% |#####################################################################################################################| Time: 0:00:00
Loaded 4951 entries from dependency cache.
ERROR: Nothing PROVIDES 'connxruntime'. Close matches:
go-runtime
onnxruntime
onnxruntime-native
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
crp@crp-ubuntu:~/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland$
Initialising tasks: 100% |################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 761 Local 0 Network 0 Missed 761 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
ERROR: armnn-onnx-protobuf-1.6.0-r0 do_unpack: Unpack failure for URL: 'git://github.com/onnx/onnx.git;branch=rel-1.6.0'. No up to date source found: clone directory not available or not up to date: /home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/downloads//git2/github.com.onnx.onnx.git; shallow clone not enabled
ERROR: Logfile of failure stored in: /home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland/tmp/work/cortexa53-crypto-poky-linux/armnn-onnx-protobuf/1.6.0-r0/temp/log.do_unpack.22933
ERROR: Task (/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/sources/meta-imx/meta-ml/recipes-libraries/armnn/armnn-onnx-protobuf_1.6.0.bb:do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 473 tasks of which 165 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/sources/meta-imx/meta-ml/recipes-libraries/armnn/armnn-onnx-protobuf_1.6.0.bb:do_unpack
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
crp@crp-ubuntu:~/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland$
it seems you type the wrong command, should be onnxruntime, not connxruntime
Yes,You are right that i type the wrong words
but i had test it right now.There are some error about it .
please help to check the log as folloing :
crp@crp-ubuntu:~/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland$ bitbake -c cleansstate onnxruntime
Loading cache: 100% |#####################################################################################################################| Time: 0:00:00
Loaded 4951 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.50.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mmevk"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "5.10-hardknott"
TUNE_FEATURES = "aarch64 armv8a crc cortexa53 crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:269265c00091fa65f93de6cad32bf24f1e7f72a3"
meta-oe
meta-multimedia
meta-python = "HEAD:f44e1a2b575826e88b8cb2725e54a7c5d29cf94a"
meta-freescale = "HEAD:469d6c958c76ea235b3d3c1527e797ce3a7392e3"
meta-freescale-3rdparty = "HEAD:f8150f3b37cb83cba1f9e2378e57bb63e02d4610"
meta-freescale-distro = "HEAD:e6daa26ba1f748326546063d63a085ae671827d9"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:d176aee3567cdccb5a7fb7c7e70a7cb3bee51bc0"
meta-nxp-demo-experience = "HEAD:f540304fda6242be240792095ec4a67bfbb9425f"
meta-chromium = "HEAD:8be1d3a0ba0cf32e61144900597207af5698c10d"
meta-clang = "HEAD:b0d805060791006d651efd3d7ae3dd5add8f70fe"
meta-gnome
meta-networking
meta-filesystems = "HEAD:f44e1a2b575826e88b8cb2725e54a7c5d29cf94a"
meta-qt5 = "HEAD:43f8f539d40070a70fe89136db89bf5bb1dfe7ed"
meta-python2 = "HEAD:8db9e4f6ceae33d7a4f55453d31e69f9858af4eb"
meta-virtualization = "HEAD:7f719ef40896b6c78893add8485fda995b00d51d"
Initialising tasks: 100% |################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 0 Local 0 Network 0 Missed 0 Current 0 (0% match, 0% complete)
NOTE: No setscene tasks
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded.
crp@crp-ubuntu:~/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland$ bitbake onnxruntime
Loading cache: 100% |#####################################################################################################################| Time: 0:00:00
Loaded 4951 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.50.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mmevk"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "5.10-hardknott"
TUNE_FEATURES = "aarch64 armv8a crc cortexa53 crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:269265c00091fa65f93de6cad32bf24f1e7f72a3"
meta-oe
meta-multimedia
meta-python = "HEAD:f44e1a2b575826e88b8cb2725e54a7c5d29cf94a"
meta-freescale = "HEAD:469d6c958c76ea235b3d3c1527e797ce3a7392e3"
meta-freescale-3rdparty = "HEAD:f8150f3b37cb83cba1f9e2378e57bb63e02d4610"
meta-freescale-distro = "HEAD:e6daa26ba1f748326546063d63a085ae671827d9"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:d176aee3567cdccb5a7fb7c7e70a7cb3bee51bc0"
meta-nxp-demo-experience = "HEAD:f540304fda6242be240792095ec4a67bfbb9425f"
meta-chromium = "HEAD:8be1d3a0ba0cf32e61144900597207af5698c10d"
meta-clang = "HEAD:b0d805060791006d651efd3d7ae3dd5add8f70fe"
meta-gnome
meta-networking
meta-filesystems = "HEAD:f44e1a2b575826e88b8cb2725e54a7c5d29cf94a"
meta-qt5 = "HEAD:43f8f539d40070a70fe89136db89bf5bb1dfe7ed"
meta-python2 = "HEAD:8db9e4f6ceae33d7a4f55453d31e69f9858af4eb"
meta-virtualization = "HEAD:7f719ef40896b6c78893add8485fda995b00d51d"
Initialising tasks: 100% |################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 686 Local 0 Network 0 Missed 686 Current 75 (0% match, 9% complete)
NOTE: Executing Tasks
ERROR: armnn-onnx-protobuf-1.6.0-r0 do_unpack: Unpack failure for URL: 'git://github.com/onnx/onnx.git;branch=rel-1.6.0'. No up to date source found: clone directory not available or not up to date: /home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/downloads//git2/github.com.onnx.onnx.git; shallow clone not enabled
ERROR: Logfile of failure stored in: /home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland/tmp/work/cortexa53-crypto-poky-linux/armnn-onnx-protobuf/1.6.0-r0/temp/log.do_unpack.6385
ERROR: Task (/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/sources/meta-imx/meta-ml/recipes-libraries/armnn/armnn-onnx-protobuf_1.6.0.bb:do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 489 tasks of which 480 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/crp/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/sources/meta-imx/meta-ml/recipes-libraries/armnn/armnn-onnx-protobuf_1.6.0.bb:do_unpack
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
crp@crp-ubuntu:~/crp-nxp-imx8mm-yocto-linux-bsp-l5.10.72/build-wayland$
pls refer to the link as below:
"https://stackoverflow.com/questions/72424674/is-there-a-solution-for-the-odd-error-of-bitbake"
Hi Joan Xie.
thanks a lot for your support.
i have checked the link
"https://stackoverflow.com/questions/72424674/is-there-a-solution-for-the-odd-error-of-bitbake"
But i have no idea that it can fix my problem.
please check and advice.
thanks.
could you share your build steps? the source code moved from https://source.codeaurora.org/ to github.com, I'm not sure if you change repo init from https://source.codeaurora.org/ to github.com, maybe you need check your bb file, then change the source or build this bsp from begging, change the repo init from https://source.codeaurora.org/ to github.com
Dear NXP Support Team.
please check the log as following.
I can git clone from git clone https://github.com/microsoft/onnxruntime-tvm.git
So I do not think this should be network issue.
would you help to check and give some advice?
Thanks.
crp@crp-ubuntu:~$ mkdir temp_onnxruntime
crp@crp-ubuntu:~$ cd temp_onnxruntime/
crp@crp-ubuntu:~/temp_onnxruntime$ git clone https://github.com/microsoft/onnxruntime-tvm.git
Cloning into 'onnxruntime-tvm'...
remote: Enumerating objects: 47548, done.
remote: Counting objects: 100% (130/130), done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 47548 (delta 93), reused 83 (delta 83), pack-reused 47418
Receiving objects: 100% (47548/47548), 16.85 MiB | 1.74 MiB/s, done.
Resolving deltas: 100% (32014/32014), done.
2,718 items, totalling 35.8 MB of temp_onnxruntime/
crp@crp-ubuntu:~$ cd temp_onnxruntime/
crp@crp-ubuntu:~/temp_onnxruntime$ ls
onnxruntime-tvm
crp@crp-ubuntu:~/temp_onnxruntime$ cd onnxruntime-tvm/
crp@crp-ubuntu:~/temp_onnxruntime/onnxruntime-tvm$ ls
3rdparty docker LICENSE README.md tutorials
apps docs Makefile rust version.py
cmake golang NEWS.md SECURITY.md vta
CMakeLists.txt include nnvm src web
conda Jenkinsfile NOTICE tests
CONTRIBUTORS.md jvm python topi
crp@crp-ubuntu:~/temp_onnxruntime/onnxruntime-tvm$
I mean this issue "ERROR: onnxruntime-1.8.2-r0 do_fetch: Fetcher failure:" is network issue, for your second unpack issue, I send the link to you for reference, this isn't network issue
this should be network issue, try to use command "bitbake -c cleansstate onnxruntime" to clean this package and bitbake again "bitbake onnxruntime", if still failed, pls tell me