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.

[FAQ] [参考译文] [FAQ] Yocto:构建Linux SDK会导致Linux内核和U-Boot的do_package失败

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1097720/faq-yocto-building-the-linux-sdk-results-in-do_package-failures-for-linux-kernel-and-u-boot

使用Yocto为08.02 诸如AM64x和AM335x (及其他)之类的设备构建Linux SDK时,根据SDK文档说明,对于Linux内核和U-Boot,do_package步骤均失败,并显示类似以下的错误消息:

错误:linux-ti-staging-5.10 python.65+gitAUTOINC+822e9445b7-r0b.arago5 do_package:执行exec_func_python ()中的python函数时出错:导致

此异常/故障的python调用栈跟踪为
:文件:'Exec_func_python _python ()执行python函数:00.09





oe.cachedpath.CachedPath和文件:2313元/meta:gb 00.01 :d=2313元/meta:gb:未配置文件:

对于f in (d.getVar('PACKAGESPLITFUNC')或'').split():
*** 2315:bb.build.exec_func (f,d)
2316:
2317:#############################################################################################################################################################################################################################18:#18:#18#18#[0#[0#[0[0[0[24#[24#……………………………………………………………………
2318:# Process PKGDEEST
2319:#############################################################################################################################################################
文件:'/home/adannenb/tisdk-am62-line.ton/oe-layersetup/sources/bitopen/lib/bb/build.py' 00.09 ,行号:254,函数:exec_func
0250:with bb.utils.fileslocked(lockfiles):
0251: if ispyb: 00.01
func_func=0255pyfund_func 00.01 :

fund/funiphex: fund/fund=0255b:funiphex: fund/fund/funipxwd=0255b




:funip=0255d
:funip/fund/fundi: 00.09

bb.debug(2





bb.debug(2,"executing shell function %s"% func) 0454:with open(os.devnull,'r+') as stdin,logfile:*** 0455:bb.process.run(cmd,shell=181,stdin=stdin,log=logfile,exraafiles=[(fifo,readfifio)] 0456:finally:0457:os.stab=181,stdin=0.1858万/layfelpy: 00.09 00.01
:froftlaylaylayfrof: fround/0182/0182: fipe:se:0182 fipe:se: froftlaylaylaylaylaylayfroc=0182/0184py::0184:se: se: fel/felfroftil: froftlayfib/froftil: se: fiblayfib/fee.0184layf:



#如果记录了错误,请勿复制输出
*** 0184:Raise ExecutionError(cm,pipe.returncode,None)
0185:Raise ExecutionError(cm,pipe.cipcode,stdout,stderr)
0186:return stdout,stderr
异常:bb.process.ExecutionError:执行'/home/adannenb/autoup/linux-rand/logti-ex-rand/logk/logi_ex-ex-rand-ex-rand-rand-ex-rand-ex-rand-lay-lay-rk/logk/linux-rand-rand-rand-rk/rand-rand-rand-rk/rand-rand-rand-rand-lip-rk/rand-lip-lip-lip-lip-lip-lip-f-f-lip-rk/rand-lip-rk/rand-f-lip-rand-lip-f-f-lip-f-k/rand-rand- 00.09 00.01 5.10 00.09 00.01 5.10


任务(/home/adannenb/tisdk-am62-layersetup/sources/meta-ti/fipes-kernel/linux/linux-ti-staging_linux.bb:do_package 00.09)失败,退出代码为'1'
注:任务摘要:尝试了8373个任务,其中8356不需要重新运行,1个失败。00.01 5.10
注:正在写入buildhistory
注:正在写入buildhistory花了2秒
注:正在写入buildhistory
注:正在写入buildhistory花了2秒

摘要:1个任务失败: 

发生了什么事?如何才能成功完成我的构建?