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.
使用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个任务失败:
发生了什么事?如何才能成功完成我的构建?
最近Git行为的更改可能导致Git短提交ID不正确,这些ID用于命名内部构建文件夹,以及其他事项,从而导致概述的构建失败。 解决方案是将受影响的配方更新为使用 SRCPV,而不是SRCREV,后者已在进行合理的bittake处理。 所需的更改已合并到TI的最新meta集成分支沙丘, 在这里,将 为即将推出的SDK构建/发布提供这些更改。 同时,用户应该能够手动将以下两个提交应用到当前的meta-ti层(或进行相应的编辑)以解决该问题。
配方-内核:Setup-defconfig:使用SRCPV更新kernel_LOCALVERSION
https://git.ti.com/cgit/arago-project/meta-ti/commit/?h=dunfell-next&id=ccbe45c06b2fddf73b4a5c59.6214万fc86b0968d39</s>0968
u-boot-ti:使用SRCPV代替用于U_BOOT_LOCAL_VERSION的SRCREV
https://git.ti.com/cgit/arago-project/meta-ti/commit/?h=dunfell-next&id=9e6c7d69d8d5700ff22ca03a3d1d1b04bce88f85
请注意,如果选择上述U-Boot修补程序,则会导致需要手动解决的冲突。 这是一件简单的事情,但您也可以首先选择以下承诺以避免冲突:
U-boot-ti:使用SRCREV获取短提交ID
https://git.ti.com/cgit/arago-project/meta-ti/commit/?h=dunfell-next&id=39fa0c1d3d020d5239c067e103e2f429ef0fcfc7
Andreas