任务 415 (virtual:native:/home/user/Yocto/Poky/poky/meta/recipes-devtools/automake/automake_1.15.bb, do_compile) 失败,退出代码为“1”

Task 415 (virtual:native:/home/user/Yocto/Poky/poky/meta/recipes-devtools/automake/automake_1.15.bb, do_compile) failed with exit code '1'

我正在尝试使用 yocto 构建图像,我根据 https://www.yoctoproject.org/docs/1.8/yocto-project-qs/yocto-project-qs.html

的说明完成了所有操作

我已经完成预配置

 $ git clone http://git.yoctoproject.org/git/poky
 $ cd poky
 $ git checkout -b fido origin/fido
 $ source oe-init-build-env

并且在 运行 时出现以下错误:bitbake -k core-image-sato

ERROR: Function failed: do_compile (log file is located at 
/home/user/Yocto/Poky/poky/build/tmp/work/x86_64-linux/automake- 
native/1.15-r0/temp/log.do_compile.2660)
ERROR: Logfile of failure stored in: 
/home/user/Yocto/Poky/poky/build/tmp/work/x86_64-linux/automake- 
native/1.15-r0/temp/log.do_compile.2660
ERROR: Task 415 
(virtual:native:/home/user/Yocto/Poky/poky/meta/recipes- 
devtools/automake/automake_1.15.bb, do_compile) failed with exit code '1'

有人知道怎么解决吗?

您似乎正在构建旧版本 (1.8),重要的是在构建主机上使用经过测试的发行版。有 here 请确保您的主机发行版在该列表中

除非有特殊原因,否则您想使用 fido 我建议至少使用更新版本,例如 sumo 或 rocko。您可能还想看看像 yoe-distro 这样的东西,它也允许在 Docker 环境中构建,因此不需要将 OS 降级到 Yocto/OpenEmbedded 可能的东西要求。