首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >下载Fuchsia源代码--错误:项目集成(集成)包含未提交的更改

下载Fuchsia源代码--错误:项目集成(集成)包含未提交的更改
EN

Stack Overflow用户
提问于 2022-06-13 13:22:30
回答 1查看 47关注 0票数 0

在完成了https://fuchsia.dev/fuchsia-src/get-started/get_fuchsia_source中提到的安装步骤之后。

错误信息如下所示-

代码语言:javascript
复制
yeah@DESKTOP:/mnt/c/Users/Yewon/Desktop$ curl -s "https://fuchsia.googlesource.com/fuchsia/+/HEAD/scripts/bootstrap?format=TEXT" | base64 --decode | bash
cipd bootstrapped to path:"/mnt/c/Users/Yewon/Desktop/fuchsia/.jiri_root/bin/cipd"
Please add /mnt/c/Users/Yewon/Desktop/fuchsia/.jiri_root/bin to your PATH
[21:47:29.755] WARN: Please opt in or out of analytics collection. You will receive this warning until an option is selected.
To check what data we collect run: jiri init -show-analytics-data
To opt-in run: jiri init -analytics-opt=true "/mnt/c/Users/Yewon/Desktop/fuchsia"
To opt-out run: jiri init -analytics-opt=false "/mnt/c/Users/Yewon/Desktop/fuchsia"

[21:47:29.962] WARN: Please opt in or out of analytics collection. You will receive this warning until an option is selected.
To check what data we collect run: jiri init -show-analytics-data
To opt-in run: jiri init -analytics-opt=true "/mnt/c/Users/Yewon/Desktop/fuchsia"
To opt-out run: jiri init -analytics-opt=false "/mnt/c/Users/Yewon/Desktop/fuchsia"

[21:47:30.314] Updating all projects
ERROR: Project integration(integration) contains uncommitted changes:
Commit or discard the changes and try again.

[21:52:02.015] WARN: Projects with local changes and/or not on JIRI_HEAD:
integration (integration): (Has changes) (Not on JIRI_HEAD)

To force an update to JIRI_HEAD, you may run 'jiri runp git checkout JIRI_HEAD'
[22:12:03.123] Jiri hooks are not run due to fatal errors when updating projects or packages
ERROR: Project integration(integration) contains uncommitted changes:
Commit or discard the changes and try again.

有谁能分享如何修复它吗?

我正试图通过跟踪VIM3在Khadas VIM3板上安装Fuchsia。

EN

回答 1

Stack Overflow用户

发布于 2022-06-16 16:00:11

这可能是您尝试使用最新的HEAD结帐时出现的临时问题。如果您继续体验这种情况,错误日志中的以下消息表明您可能试图在已经拥有Fuchsia源树副本的计算机上运行引导脚本:

代码语言:javascript
复制
[21:47:30.314] Updating all projects
ERROR: Project integration(integration) contains uncommitted changes:
Commit or discard the changes and try again.

这说明项目(integration)已经存在于本地签出中,不能自动更新为最新的HEAD

如果您想要运行引导,请确保您没有覆盖您的机器上的任何以前的签出。如果您已经有了源代码,并且只需要更新VIM3的配置,那么只需按照您链接的指南中的说明获得正确的fx set命令即可。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72603624

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档