【问题标题】:CalledProcessError: Command '\['git', 'submodule--helper', 'list'\]CalledProcessError: 命令 \'\\[\'git\', \'submodule--helper\', \'list\'\\]
【发布时间】:2022-12-11 04:16:06
【问题描述】:

全部。

在我使用 devtool-modify 编辑我的食谱后,当我对图像进行 bitbake 时,发生了一些错误。

ExpansionError: Failure expanding variable do_compile\[file-checksums\], expression was ${@srctree_hash_files(d)} which triggered exception
CalledProcessError: Command '\['git', 'submodule--helper', 'list'\]' returned non-zero exit status 128.

失败的变量依赖链是:do_compile\[file-checksums\]

11111111111111111111111111111111111

【问题讨论】:

  • 问题不清楚,可以附上菜谱内容吗?
  • 我也有同样的问题。你找到任何解决方案了吗?
  • @TalelBELHADJSALEM 它与配方文件或 bbappend 文件无关。如果您没有任何 bbappend 文件,则 bitbake(或 devtool build)会编译一个配方。当你有一个 bbappend 文件时,它会引发这个 ExpansionError
  • 好的,您可以添加 bbappend 文件吗?另外,你能检查bitbake -e <recipe> | grep ^SRC_URI=的输出吗?
  • 我找到了。在文件 /sources/poky/meta/classes/externalsrc.bbclass 下,从 ['git', 'submodule', 'list'] 更改为 ['git', 'submodule--helper', 'list']

标签: yocto


【解决方案1】:

Git 不再支持 submodule--helper list ,因此已在 https://git.yoctoproject.org/poky/commit/?id=0533edac277080e1bd130c14df0cbac61ba01a0c 中修复。 所以你可以应用这个提交或者升级 poky!

【讨论】:

    猜你喜欢
    • 2023-02-26
    • 1970-01-01
    • 1970-01-01
    • 2020-07-17
    • 1970-01-01
    • 2013-11-06
    • 2010-11-12
    • 2022-12-08
    • 1970-01-01
    相关资源
    最近更新 更多