ERROR at //third_party/openssh-portable/fuchsia/developer-keys/BUILD.gn:10:24: Could not read file.
manifest = read_file("//.fx-ssh-path", "list lines")
^---------------
I resolved this to "/home/shivkumar/fuchsia_os/fuchsia/.fx-ssh-path".
See //products/core.gni:102:3: which caused the file to be included.
"//third_party/openssh-portable/fuchsia/developer-keys:ssh_config",
^-----------------------------------------------------------------
ERROR: error running gn gen: exit status 1
问问题
90 次
1 回答
0
此错误表示该//.fx-ssh-path
文件不存在,或者无法读取。//tools/ssh-keys/gen-ssh-keys.sh
当集成清单作为jiri hook运行时,此文件通常在源签出时生成。
要更正此问题,gen-ssh-keys.sh
请在设置构建配置之前再次使用重新生成文件:
$ tools/ssh-keys/gen-ssh-keys.sh
$ fx set core.qemu-x64
注意:挂钩也会在您运行时运行
jiri update
,因此您还可以重新同步源代码树以纠正问题。
于 2021-06-21T16:13:43.070 回答