我一直在按照 Fuchsia.dev 上的步骤配置在 Ubuntu 20.04.3 LTS 上运行的构建环境。到目前为止,我已经解决了一些问题,但在最后一个问题上遇到了困难,可以使用一些见解/帮助。无论我尝试构建什么 PRODUCT.BOARD 组合,这都是我得到的错误:
Image Assembly Failed 1./host_x64/zbi exited with status: exit status: 1
我对这些操作中的每一个都失败了:
ACTION //build/images/zedboot:zedboot_image_assembler(//build/toolchain/fuchsia:x64)
ACTION //build/images/fuchsia:fuchsia_image_assembler(//build/toolchain/fuchsia:x64)
ACTION //build/images/fuchsia:fuchsia_prime_assembly_image_assembler(//build/toolchain/fuchsia:x64)
日志中的更多内容可能会有所帮助:
------ GIT QUICK INFO ------
$ git status
HEAD detached at ecc8f1f181d
nothing to commit, working tree clean
$ git rev-parse JIRI_HEAD
ecc8f1f181d320993095468faca6d1a6ffaf8cab
------ CONTENTS OF args.gn ------
$ cat /home/john/fuchsia/out/default/args.gn
import("//boards/qemu-x64.gni")
import("//products/core.gni")
build_info_board = "qemu-x64"
build_info_product = "core"
enable_rbe = false
is_debug = true
use_goma = false
base_package_labels += []
cache_package_labels += []
host_labels += []
universe_package_labels += [ "//examples/hello_world" ]