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: Image compilation failed repeatly

Part Number: AM62A7

Tool/software:

According to the document software-dl.ti.com/.../Overview_Building_the_SDK.html, the image compilation failed repeatedly.
Failure sence 1: The memory/CPU often occupies 100% during compilation, and then freezes. The entire terminal crashes.
Failure sence 2: Or after the compilation is completed, there are multiple warnings and errors: prompt file acquisition failed
But I have already made a proxy for the terminal according to the document

I edited the tisdk/build/conf/local.conf file to limit the use of CPU

BB_NUMBER_THREADS = "8"

PARALLEL_MAKE = "-j 4"

My sdk version : ti-processor-sdk-linux-edgeai-am62a-evm-10_01_00_05

My CPU model is AMD Ryzen 9 9900X 12-Core Processor and the computer has 32G memory

Each failure leaves a lot of compilation artifacts. Do I need to clean it up and recompile? If so: how?

  • And here are print log in terminal:

    ERROR: Task (/home/user/ti-sdk-build/tisdk/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_20.12.2.bb:do_compile) failed with exit code '1'
    WARNING: opencv-4.9.0-r0 do_fetch: Failed to fetch URL git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=git/wechat_qrcode;name=wechat-qrcode;protocol=https, attempting MIRRORS if available
    ERROR: opencv-4.9.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=1e014f22967deded4c93598a67e8bc7a"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export all_proxy="socks://127.0.0.1:10808/"; export ALL_PROXY="socks://127.0.0.1:10808/"; export no_proxy="localhost,127.0.0.0/8,::1"; export NO_PROXY="localhost,127.0.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_PROXY="">">http://127.0.0.1:10808/"; export http_proxy="">">http://127.0.0.1:10808/"; export HTTP_PROXY="">">http://127.0.0.1:10808/"; export PATH="/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:/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/usr/bin/crossscripts:/home/user/ti-sdk-build/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opencv/4.9.0/recipe-sysroot-native/usr/sbin:/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/sbin:/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/sources/bitbake/bin:/home/user/ti-sdk-build/tisdk/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/user"; LANG=C git -c gc.autoDetach=false -c core.pager=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 failed with exit code 128, see logfile for output
    ERROR: opencv-4.9.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=git/wechat_qrcode;name=wechat-qrcode;protocol=https')
    ERROR: Logfile of failure stored in: /home/user/ti-sdk-build/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opencv/4.9.0/temp/log.do_fetch.646
    ERROR: Task (/home/user/ti-sdk-build/tisdk/sources/meta-openembedded/meta-oe/recipes-support/opencv/opencv_4.9.0.bb:do_fetch) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 14235 tasks of which 14183 didn't need to be rerun and 6 failed.
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 7 seconds
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 2 seconds

    Summary: 6 tasks failed:
    /home/user/ti-sdk-build/tisdk/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_compile
    /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_compile
    /home/user/ti-sdk-build/tisdk/sources/meta-openembedded/meta-oe/recipes-support/opencv/opencv_4.9.0.bb:do_fetch
    Summary: There were 5 WARNING messages.
    Summary: There were 12 ERROR messages, returning a non-zero exit code.

  • This is a duplicate of https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1494583/am62a7-image-compilation-failed-repeatedly

    Closing this thread here. Let's continue the discussion on the original thread.