poky / meta / recipes-devtools / opkg-utils / opkg-utils_git.bb,do_unpack)失败,退出代码' 1'

时间:2018-04-08 08:27:36

标签: yocto bitbake

我是使用yocto的新手。 我的环境是ubuntu 14.04, 构建配置:

BB_VERSION        = "1.28.0"
BUILD_SYS         "x86_64-linux"
NATIVELSBSTRING   "Ubuntu-14.04"
TARGET_SYS         "aarch64-fsl-linux"
MACHINE            "ls1043aqds"
DISTRO             "fsl-qoriq"
DISTRO_VERSION    "2.0"
TUNE_FEATURES      "aarch64"
TARGET_FPU        ""

运行时出现以下错误: bitbake fsl-image-minimal (每次调用bitbake构建时)

=====================
 DEBUG: Running export SSH_AUTH_SOCK="/run/user/1001/keyring-an3Qaa/ssh"; export PATH="/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043aqds/tmp/sysroots/x86_64-linux/usr/bin/aarch64-fsl-linux:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043aqds/tmp/sysroots/ls1043aqds/usr/bin/crossscripts:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043aqds/tmp/sysroots/x86_64-linux/usr/sbin:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043aqds/tmp/sysroots/x86_64-linux/usr/bin:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043aqds/tmp/sysroots/x86_64-linux/sbin:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043aqds/tmp/sysroots/x86_64-linux/bin:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/home/ymarko"; git -c core.fsyncobjectfiles=0 branch --set-upstream master origin/master
| DEBUG: Python function base_do_unpack finished
| DEBUG: Python function do_unpack finished
| ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
| fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
| 
ERROR: Task 854 (/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb, do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 306 tasks of which 298 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
================================

你能帮帮忙吗?

2 个答案:

答案 0 :(得分:0)

尝试将您的git版本升级到2.7.3。我遇到了同样的问题并修复了它

答案 1 :(得分:0)

您需要this patch才能对其进行修复。 请注意,您不能简单地将“ -to”添加为后缀。参数的顺序也颠倒了。

示例用法:

curl https://patchwork.openembedded.org/patch/145072/raw/ | git apply -v