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.

[参考译文] AM68A:构建错误

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1505701/am68a-build-error

部件号:AM68A

工具/软件:

编译 AM68A 10.01.00版本(tisdk-edgeai-image)时、我遇到了许多错误、
以下共享错误(txt 文件)

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

    尊敬的 Mohammed:

    您能否查看 下面链接的常见问题解答、确保不遗漏任何步骤? 如果仍有问题或对常见问题解答有任何疑问、请告知我。

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1281833/faq-processor-sdk-j784s4-how-do-i-build-yocto-images-and-packages-for-j7-devices

    谢谢您、

    法比亚纳

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

    你好 ,

    错误:linux-ti-staging-6.6.44+git-r0_tisdk_5_edgeai_0_edgeai_8 do_package:在 exec_func_python ()中执行 python 函数时出错自动生成:

    导致此异常/故障的 python 调用的栈跟踪为:
    文件:"Exec_func_python () autogenerated "、LineNo:2、函数:
    0001:
    *** 0002:state_task_postfunc(d)
    0003:
    文件:"/home/inthings22/version-10/yocto-build/sources/oe-core/meta/classes-global/sstate.bbclass "、行号:786、函数:state_task_postfunc
    0782:
    第0783章:我是你的女人(0o002)
    0784:如果 omask!= 0o002:
    0785:bb.note("Using umask 0o002 (不是%0o)用于 state 包装"% omask)
    *** 0786:state_package (shared_state、d)
    第0787章:我的心
    0788:
    0789:stateinst = d.getVar ("State_INSTDIR")
    0790:d.setVar('SSTATE_FIXMEDIR'、shared_state['fixmedir'])
    文件:"/home/inthings22/version-10/yocto-build/sources/oe-core/meta/classes-global/sstate.bbclass "、行号:654、函数:state_package
    0650:
    0651:statebuild = d.expand ("${workdir}/state-build-%s/"% ss['task'])
    0652:SDE = int (d.getVar ("source_date_eepoc")或 time.time ())
    0653:d.setVar("SSTATE_CURRTASK"、ss['task'])
    *** 0654:bb.utils.remove (statebuild, recurse=True)
    0655:bb.utils.mkdirhier (statebuild)
    0656:对于 ss['IRS']中的状态:
    0657:如果不是 OS.path.exists (state[1]):
    0658:继续
    文件:"/home/inthings22/version-10/yocto-build/sources/bitbake/lib/bb/utils.py "、行号:727、函数:删除
    0723:# shutil.rmtree(name)是理想的,但它太慢了
    0724:cmd =[]
    0725:如果电离:
    0726:cmd =['ionice'、'-c'、'3']
    *** 0727:subprocess.check_call(cmd +['rm'、'-rf']+ glob.glob(path))
    第0728章:我的心
    0729:对于 glob.glob(path)中的名称:
    0730:尝试:
    0731:操作系统取消链接(名称)
    文件:"/usr/lib/python3.10/subprocess.py "、行号:369、函数:check_call
    0365:如果重新编码:
    0366:cmd = kwargs.get ("args")
    0367:如果 cmd 为 None:
    0368:cmd = popenargs[0]
    *** 0369:引发 CalledProcessError (retcode、cmd)
    0370:返回0
    0371:
    0372:
    0373:def check_output (* popenargs、timeout=None、**kwargs):
    异常:subprocess.CalledProcessError:命令'['rm'、'-rf'、'/home/inthings22/version-10/yocto-build/build/arago-tmp-default-glibc/work/j721s2_evm-oe-linux/linux-ti-staging/6.6.44 + git/state-build-package/']'与一起死 。

    错误:存储在以下位置的失败日志文件:/home/inthings22/version-10/yocto-build/build/arago-tmp-default-glibc/work/j721s2_evm-oe-linux/linux-ti-staging/6.6.44 + git/temp/log.do_package.60123
    错误:任务(/home/inthings22/version-10/yocto-build/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb:DO_PACKAGE)失败、退出代码为"1"
    伪日志:
    路径不匹配[5链接]:ino 24600159 db '/home/inthings22/version-10/yocto-build/build/arago-tmp-default-glibc/work/j721s2_evm-oe-linux/linux-ti-staging/6.6.44 +git/package/usr/debug/linux-ti-staging/6.6.44+git/security/selinux/flask.h' src req '/home/inthings22/version-10/yocto-build/build/arago-tmp-default-glibc/work/j721s2_evm-oe-linux/linux-ti-staging/6.6.44 +git/sstate-build-package/packages/usr/sdebug/linux-ti-staging/6.6.44+linux/security/flikt.h' src。
    设置完成、将 SIGUSR1发送至 pid 60124。

    如何解决该问题

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

    尊敬的 Mohammed:

    您是否编辑过 BB_NUMBER_THREADS 和 PARALL_make 变量?

    生成错误通常会在第二遍时自行解决、但如果不解决、您可能还需要清除生成目录并重新开始。  

    好极了。
    Jared