yocto设置的镜像包服务器无法搜索到download/git2/下的包

问题描述

我觉得tda4下载的包太慢了,所以设置了一个镜像服务器来获取

在build/conf/local.conf文件添加镜像配置

INHERIT += "own-mirrors"
# SOURCE_MIRROR_URL = "https://software-dl.ti.com/processor-sdk-mirror/sources/"
araGO_BRAND  = "psdkla"
disTRO_FEATURES_append = " virtualization"
IMAGE_INSTALL_append = " docker"
SOURCE_MIRROR_URL ?= "http://10.235.154.78/files/tda4_linux/"
BB_GENERATE_MIRROR_TARBALLS = "1"

http://10.235.154.78/files/tda4_linux/ 使用官方地址多次成功下载镜像包。 git拉取的包放在git2/目录下。

但是,获取仍然失败。

WARNING: powertop-2.10-r0 do_fetch: Failed to fetch URL git://github.com/fenrus75/powertop;protocol=https,attempting MIRRORS if available
WARNING: linuxptp-2.0+gitAUTOINC+a06698a12e-r0.arago0 do_fetch: Failed to fetch URL git://git.ti.com/processor-sdk/linuxptp.git;branch=ti-linuxptp,attempting MIRRORS if available
WARNING: ti-img-rogue-driver-1.13.5776728-r0a do_fetch: Failed to fetch URL git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=1.13-5776728/linux-k5.4,attempting MIRRORS if available
WARNING: tensorflow-lite-2.4.0-psdkla do_fetch: Failed to fetch URL git://github.com/tensorflow/tensorflow.git;branch=r2.4;rev=582c8d236cb079023657287c318ff26adb239002;protocol=https,attempting MIRRORS if available
WARNING: glmark2-20191226+AUTOINC+72dabc5d72-r0.arago0 do_fetch: Failed to fetch URL git://github.com/glmark2/glmark2.git;protocol=https,attempting MIRRORS if available
WARNING: onnxruntime-1.7.0-r0_psdkla do_fetch: Failed to fetch URL git://github.com/microsoft/onnxruntime;protocol=https;branch=master;name=base,attempting MIRRORS if available
WARNING: neo-ai-dlr-1.8.0-r0_psdkla do_fetch: Failed to fetch URL git://github.com/neo-ai/neo-ai-dlr;protocol=https;branch=main;name=base,attempting MIRRORS if available
ERROR: onnxruntime-1.7.0-r0_psdkla do_fetch: Fetcher failure: Fetch command export PSEUDO_disABLED=1; export PATH="/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0_psdkla/recipe-sysroot-native/usr/bin/python3-native:/home/jenkins24/tda4/5/tda4_kirin_linux/sources/oe-core/scripts:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0_psdkla/recipe-sysroot-native/usr/bin/aarch64-linux:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0_psdkla/recipe-sysroot/usr/bin/crossscripts:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0_psdkla/recipe-sysroot-native/usr/sbin:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0_psdkla/recipe-sysroot-native/usr/bin:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0_psdkla/recipe-sysroot-native/sbin:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0_psdkla/recipe-sysroot-native/bin:/opt/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin:/home/jenkins24/tda4/5/tda4_kirin_linux/sources/bitbake/bin:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/hosttools"; export HOME="/home/jenkins24"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror "https://github.com/microsoft/onnxruntime" /home/jenkins24/tda4/5/tda4_kirin_linux/downloads/git2/github.com.microsoft.onnxruntime --progress Failed with exit code 128,output:
cloning into bare repository '/home/jenkins24/tda4/5/tda4_kirin_linux/downloads/git2/github.com.microsoft.onnxruntime'...
remote: Enumerating objects: 399096,done.        
remote: Counting objects: 100% (8040/8040),done.        
error: RPC Failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header

ERROR: onnxruntime-1.7.0-r0_psdkla do_fetch: Fetcher failure for URL: 'git://github.com/microsoft/onnxruntime;protocol=https;branch=master;name=base'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/onnxruntime/1.7.0-r0_psdkla/temp/log.do_fetch.23849
ERROR: Task (/home/jenkins24/tda4/5/tda4_kirin_linux/build/../sources/Meta-psdkla/recipes-core/packagegroups/onnxruntime.bb:do_fetch) Failed with exit code '1'
ERROR: neo-ai-dlr-1.8.0-r0_psdkla do_fetch: Fetcher failure: Fetch command export PSEUDO_disABLED=1; export PATH="/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/neo-ai-dlr/1.8.0-r0_psdkla/recipe-sysroot-native/usr/bin/python3-native:/home/jenkins24/tda4/5/tda4_kirin_linux/sources/oe-core/scripts:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/neo-ai-dlr/1.8.0-r0_psdkla/recipe-sysroot-native/usr/bin/aarch64-linux:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/neo-ai-dlr/1.8.0-r0_psdkla/recipe-sysroot/usr/bin/crossscripts:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/neo-ai-dlr/1.8.0-r0_psdkla/recipe-sysroot-native/usr/sbin:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/neo-ai-dlr/1.8.0-r0_psdkla/recipe-sysroot-native/usr/bin:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/neo-ai-dlr/1.8.0-r0_psdkla/recipe-sysroot-native/sbin:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/neo-ai-dlr/1.8.0-r0_psdkla/recipe-sysroot-native/bin:/opt/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin:/home/jenkins24/tda4/5/tda4_kirin_linux/sources/bitbake/bin:/home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/hosttools"; export HOME="/home/jenkins24"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror "https://github.com/neo-ai/neo-ai-dlr" /home/jenkins24/tda4/5/tda4_kirin_linux/downloads/git2/github.com.neo-ai.neo-ai-dlr --progress Failed with exit code 128,output:
cloning into bare repository '/home/jenkins24/tda4/5/tda4_kirin_linux/downloads/git2/github.com.neo-ai.neo-ai-dlr'...
fatal: unable to access 'https://github.com/neo-ai/neo-ai-dlr/': GnuTLS recv error (-54): Error in the pull function.

ERROR: neo-ai-dlr-1.8.0-r0_psdkla do_fetch: Fetcher failure for URL: 'git://github.com/neo-ai/neo-ai-dlr;protocol=https;branch=main;name=base'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/jenkins24/tda4/5/tda4_kirin_linux/build/arago-tmp-external-arm-glibc/work/aarch64-linux/neo-ai-dlr/1.8.0-r0_psdkla/temp/log.do_fetch.23936
ERROR: Task (/home/jenkins24/tda4/5/tda4_kirin_linux/build/../sources/Meta-psdkla/recipes-core/packagegroups/neo-ai-dlr_1.8.0.bb:do_fetch) Failed with exit code '1'

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)