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.

[参考译文] J721EXSOMXEVM:使用 Yocto 构建 SDK 失败

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1219012/j721exsomxevm-building-sdk-with-yocto-failed

器件型号:J721EXSOMXEVM

您好!

客户根据 SDK 文档:中的 Yocto 编译方法进行证明

错误:websocketd-0.4.1-r0 do_compile:执行"/home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build /build/arago-tmp-external-arm-glibc/work/aarch64-linux/websocketd/0.4.1-r0/temp/run.do_compile.26185 "失败,退出代码1
错误:故障的日志文件存储在:/home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/websocketd /0.4.1-r0/temp/log.do_compile.26185中

ljy@EcoSoft:~/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build$ echo "ARAGO_BRAND  = \"psdkla\"" >> conf/local.conf
ljy@EcoSoft:~/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build$ echo "DISTRO_FEATURES_append = \" virtualization\"" >> conf/local.conf
ljy@EcoSoft:~/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build$ . conf/setenv
ljy@EcoSoft:~/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build$ TOOLCHAIN_BASE=/home/ljy/gcc-tools/ MACHINE=j7-evm bitbake -k tisdk-default-image
NOTE: Started PRServer with DBfile: /home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 42457, PID: 25868
WARNING: /home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/sources/meta-arago/meta-arago-distro/recipes-core/meta/external-arm-secondary-sdk-toolchain.bb: Variable key PREFERRED_PROVIDER_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} (external-arm-sdk-toolchain-${TRANSLATED_TARGET_ARCH}) replaces original key PREFERRED_PROVIDER_binutils-cross-canadian-invalid (external-arm-secondary-sdk-toolchain-${SECONDARY_TARGET_ARCH}).
WARNING: /home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/sources/meta-arago/meta-arago-distro/recipes-core/meta/external-arm-secondary-sdk-toolchain.bb: Variable key PREFERRED_PROVIDER_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} (external-arm-sdk-toolchain-${TRANSLATED_TARGET_ARCH}) replaces original key PREFERRED_PROVIDER_gcc-cross-canadian-invalid (external-arm-secondary-sdk-toolchain-${SECONDARY_TARGET_ARCH}).
Parsing recipes: 100% |##################################################################| Time: 0:00:42
Parsing of 3047 .bb files complete (0 cached, 3047 parsed). 8628 targets, 1211 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "aarch64-linux"
MACHINE              = "j7-evm"
DISTRO               = "arago"
DISTRO_VERSION       = "2021.09"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta-arago-distro    
meta-arago-extras    = "HEAD:97ebd081c7df3d7cfe1331cbcbc29c8db2400f80"
meta-psdkla          = "HEAD:0ea1910d30d612eb4bdf7beff71950828fd9ac5c"
meta-qt5             = "HEAD:5ef3a0ffd3324937252790266e2b2e64d33ef34f"
meta-virtualization  = "HEAD:beea119eb529b4a11f266004aee8b548427aea39"
meta-networking      
meta-python          
meta-oe              
meta-gnome           
meta-filesystems     = "HEAD:e707e9b7cf5c62bff4fee029965a87b22dd4ccba"
meta-ti              = "HEAD:01d7bc0f14be84367c628592a4afc42396316965"
meta-arm             
meta-arm-toolchain   = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
meta                 = "HEAD:daaee6fcb0d201f041678af433d8e1cd6f924d09"
meta-aws             = "HEAD:64455aec341f8bef4d29dbc6638b2e44db36e38d"
meta-jupyter         = "HEAD:82db248e2eca36e52cbeafe599b755dc87720383"


Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "arm-linux-gnueabi"
MACHINE              = "j7-evm-k3r5"
DISTRO               = "arago"
DISTRO_VERSION       = "2021.09"
TUNE_FEATURES        = "arm armv7a vfp thumb callconvention-hard"
TARGET_FPU           = "hard"
meta-arago-distro    
meta-arago-extras    = "HEAD:97ebd081c7df3d7cfe1331cbcbc29c8db2400f80"
meta-psdkla          = "HEAD:0ea1910d30d612eb4bdf7beff71950828fd9ac5c"
meta-qt5             = "HEAD:5ef3a0ffd3324937252790266e2b2e64d33ef34f"
meta-virtualization  = "HEAD:beea119eb529b4a11f266004aee8b548427aea39"
meta-networking      
meta-python          
meta-oe              
meta-gnome           
meta-filesystems     = "HEAD:e707e9b7cf5c62bff4fee029965a87b22dd4ccba"
meta-ti              = "HEAD:01d7bc0f14be84367c628592a4afc42396316965"
meta-arm             
meta-arm-toolchain   = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
meta                 = "HEAD:daaee6fcb0d201f041678af433d8e1cd6f924d09"
meta-aws             = "HEAD:64455aec341f8bef4d29dbc6638b2e44db36e38d"
meta-jupyter         = "HEAD:82db248e2eca36e52cbeafe599b755dc87720383"

Initialising tasks: 100% |###############################################################| Time: 0:00:05
Sstate summary: Wanted 31 Found 15 Missed 16 Current 3586 (48% match, 99% complete)
NOTE: Executing Tasks
ERROR: websocketd-0.4.1-r0 do_compile: Execution of '/home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/websocketd/0.4.1-r0/temp/run.do_compile.26185' failed with exit code 1
ERROR: Logfile of failure stored in: /home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/websocketd/0.4.1-r0/temp/log.do_compile.26185
Log data follows:
| DEBUG: Executing shell function do_compile
| go: github.com/gorilla/websocket@v1.4.0: Get "">proxy.golang.org/.../v1.4.0.mod": dial tcp 172.217.163.49:443: i/o timeout
| go: github.com/gorilla/websocket@v1.4.0: Get "">proxy.golang.org/.../v1.4.0.mod": dial tcp 142.251.42.241:443: i/o timeout
| WARNING: /home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/websocketd/0.4.1-r0/temp/run.do_compile.26185:1 exit 1 from 'aarch64-none-linux-gnu-go install -p 20 -v -ldflags="-r /usr/lib/go/pkg/linux_arm64_dynlink  -extldflags ' --sysroot=/home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/websocketd/0.4.1-r0/recipe-sysroot -Wl,-rpath-link=/home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/websocketd/0.4.1-r0/recipe-sysroot/usr/lib/go/pkg/linux_arm64_dynlink -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed'" -modcacherw -buildmode=pie `go_list_packages`'
| ERROR: Execution of '/home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/websocketd/0.4.1-r0/temp/run.do_compile.26185' failed with exit code 1
ERROR: Task (/home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/sources/meta-arago/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 10502 tasks of which 10474 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds

Summary: 1 task failed:
  /home/ljy/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/sources/meta-arago/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ljy@EcoSoft:~/ti-processor-sdk-linux-j7-evm-08_06_00_11/yocto-build/build$ 

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

    大家好、Nancy、

    这似乎是超时。 您是否能够尝试重建或者清理并重新构建?

    此致
    Karthik