This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM62A7:图像编译重复失败

Guru**** 2393725 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1495629/am62a7-image-compilation-failed-repeatly

器件型号:AM62A7

工具与软件:

根据文档 software-dl.ti.com/.../中的 Overview_Building__457.sdk.html、图像编译反复失败。
故障1:编译期间、内存/CPU 通常占100%、然后冻结。 整个终端崩溃。
失败2:或编译完成后、出现多个警告和错误:提示文件获取失败
但是我已经根据文件为终端做了代理

我编辑了 tisdk/build/conf/local.conf 文件、以限制使用 CPU

BB_NUMBER_THREADS ="8"

parallel_make ="-j 4"

我的 SDK 版本:ti-processor-sdk-linux-edgeai-am62a-evm-10_01_00_05

我的 CPU 型号是 AMD 锐龙9 9900X 12核处理器,计算机有32G 内存

每个失败都会留下大量的编译工件。 我是否需要对其进行清理并重新编译? 如果是这样:如何?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    这里是终端:中的打印日志

    错误:任务(/home/user/ti-sdk-build/tisdk/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_20.12.2.bb:do_compile)失败、退出代码为"1"
    警告:opencv-4.9.0-r0 do_fetch:未能获取 URL git://github.com/WeChatCV/opencv_3rdparty.git;branch=WeChat_qrcode;destpostter=git/WeChat_qrcode;name=WeChat-qrcode;protocol=https、尝试镜像(如果可用)
    错误:opencv-4.9.0-r0 do_fetch:fetcher 失败:fetch 命令 export psude_disable=1;export DBUS_Session_bus_address="unix:path=/run/user/1000/bus、guid=1e014f22967deded4c93598a67e8bc7a";export SSH_AUSOCK_SOCKS ="/run/user/1000/keyring/ssh;export ALL_PROVENTY=1e014f120.1/127.0/10808";export ALL_Proxy="TH_10808.0.1";EXPORTE/10808.0.1." export no_proxy="localhost,127.0.0/8,::1";export no_proxy="localhost,127.0.0/8,::1";export ftp_proxy=">>"> ">http://127.0.0.1:10808/"; export ftp_proxy="">"> ">http://127.0.0.1:10808/"; export https_proxy="">"> ">http://127.0.0.1:10808/"; export HTTPS_PROVISION="">> ">http://127.0.0.1:10808/"; export http_proxy="">"> export HTTP_PROVISION="">>导出路径="/home/user/ti-sdk-build/tisdk/build/arago-tmp-default-glibc/hosttools:/home/user/ti-sdk-build/tisdk/sources/oe-core/scripts:/home/user/ti-sdk-build/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opencv/4.9.0/recipe-sysroot-native/usr/bin/aarch64-oe-linux:/home/user/ti-sdk-build/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opencv/4.9.0/recipe-sysroot-native/sbin:";:/home/user/ti-sdk-build/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opencv/4.9.0/recipe-sysroot/usr/bin/crossscripts:/home/user:/home/user/ti-sdk-build/tisdk/sources/bitbake/bin:/home/user/ti-sdk-build/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opencv/4.9.0/recipe-sysroot-native/bin:/home/user/ti-sdk-build/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opencv/4.9.0/recipe-sysroot-native/usr/bin:/home/user/ti-sdk-build/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opencv/4.9.0/recipe-sysroot-native/usr/bin/python3-native;export">127.0.0.1:10808/.../python3-native;export HOME="/home/user/ti-sdk-build/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opencv/4.9.0/recipe-sysroot-native/usr/sbin; LANG= g453it -c gc.autoDetach=false -c core.paver=cat -c safe.bareRepository=all clone --bare --mirror github.com/.../opencv_3rdparty.git  /home/user/ti-sdk-build/tisdk/build/../downloads/git2/github.com.WeChatCV.opencv_3rdparty.git --progress 由于退出代码128而失败、请参见日志文件以获取输出
    错误:OpenCV-4.9.0-r0 DO_Fetch:Bitbake Fetcher 错误:FetchError ('无法从任何来源获取 URL。'、'git://github.com/WeChatCV/opencv_3rdparty.git;branch=Webchat_qrcode;destpost=git/Webchat_qrcode;name=Wechat-qrcode;protocol=https')
    错误:故障日志文件存储在:/home/user/ti-sdk-build/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opencv/4.9.0/temp/log.do_fetch.646中
    错误:任务(/home/user/ti-sdk-build/tisdk/sources/meta-openembedded/meta-oe/recipes-support/opencv/opencv_4.9.0.bb:do_fetch)失败、退出代码为"1"
    注意:任务摘要:尝试了14235项任务、其中14183项不需要重新运行、6项失败。
    注意:正在编写 buildhistory
    注意:写建立历史需要7秒钟
    注意:正在编写 buildhistory
    注意:写创建历史需要2秒钟

    摘要:6个任务失败:
    /home/user/ti-sdk-build/tisdk/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:DO_COMPILER
    /home/user/ti-sdk-build/tisdk/sources/meta-edgeai/recipes-tisdk/edgeai-dependencies/gpiozero.bb:do_fetch
    /home/user/ti-sdk-build/tisdk/sources/meta-virtualization/recipes-containers/docker/docker-moby_git.bb:do_fetch
    /home/user/ti-sdk-build/tisdk/sources/meta-edgeai/recipes-tisdk/ti-tidl/ti-tidl.bb:do_fetch
    /home/user/ti-sdk-build/tisdk/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_20.12.2.bb:DO_COMPILER
    /home/user/ti-sdk-build/tisdk/sources/meta-openembedded/meta-oe/recipes-support/opencv/opencv_4.9.0.bb:do_fetch
    摘要:共有5条警告消息。
    摘要:有12条错误消息、返回一个非零退出代码。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    这是 https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1494583/am62a7-image-compilation-failed-repeatedly 的副本

    我将在此处结束该主题帖。 让我们继续讨论原始主题。