/home/wu/3568/yocto/build/tmp/work/x86_64-linux/bmap-tools-native/3.6+gitAUTOINC+c0673962a8-r0/git/ failed with exit code 128, output:\nfatal: repository \'/home/wu/3568/yocto/build/../packages/git2/github.com.intel.bmap-tools/\' does not exist\n', None)
时间: 2023-08-02 16:07:38 浏览: 169
这个错误提示显示你在执行一个名为 bmap-tools-native 的包的编译过程中遇到了问题。具体来说,这个错误提示说明在执行 git 命令时,系统找不到路径 /home/wu/3568/yocto/build/../packages/git2/github.com.intel.bmap-tools/。这很可能是因为该路径不存在或者在执行命令时权限不够。你可以检查一下路径是否存在,并且是否有足够的权限访问该路径。
相关问题
ERROR: Bitbake Fetcher Error: FetchError('Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=d96498d849b66a7ed5ae1643647dc969"; export SSH_AGENT_PID="1854"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/wu/3568/yocto/poky/scripts/native-intercept:/home/wu/3568/yocto/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/wu/3568/yocto/build/tmp/work/x86_64-linux/bmap-tools-native/3.6+gitAUTOINC+c0673962a8-r0/recipe-sysroot-native/usr/bin/python3-native:/home/wu/3568/yocto/poky/scripts:/home/wu/3568/yocto/build/tmp/work/x86_64-linux/bmap-tools-native/3.6+gitAUTOINC+c0673962a8-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/wu/3568/yocto/build/tmp/work/x86_64-linux/bmap-tools-native/3.6+gitAUTOINC+c0673962a8-r0/recipe-sysroot-native/usr/bin:/home/wu/3568/yocto/build/tmp/work/x86_64-linux/bmap-tools-native/3.6+gitAUTOINC+c0673962a8-r0/recipe-sysroot-native/usr/sbin:/home/wu/3568/yocto/build/tmp/work/x86_64-linux/bmap-tools-native/3.6+gitAUTOINC+c0673962a8-r0/recipe-sysroot-native/usr/bin:/home/wu/3568/yocto/build/tmp/work/x86_64-linux/bmap-tools-native/3.6+gitAUTOINC+c0673962a8-r0/recipe-sysroot-native/sbin:/home/wu/3568/yocto/build/tmp/work/x86_64-linux/bmap-tools-native/3.6+gitAUTOINC+c0673962a8-r0/recipe-sysroot-native/bin:/home/wu/3568/yocto/poky/bitbake/bin:/home/wu/3568/yocto/build/tmp/hosttools"; export HOME="/home/wu"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone -n -s /home/wu/3568/yocto/build/../packages/git2/github.com.intel.bmap-tools/ /home/wu/3568/yocto/build/tmp/work/x86_64-linux/bmap-tools-native/3.6+gitAUTOINC+c0673962a8-r0/git/ failed with exit code 128, output:\nfatal: repository \'/home/wu/3568/yocto/build/../packages/git2/github.com.intel.bmap-tools/\' does not exist\n', None)具体如何修改
这个错误提示是在尝试从一个不存在的git仓库中获取数据,导致克隆操作失败。你需要确认一下该git仓库是否存在,或者是否拼写错误。如果确认该仓库存在,并且链接正确,可以尝试清除Yocto的构建缓存,重新构建以解决问题。具体操作可以使用以下命令来清除缓存:
```
$ bitbake -c cleansstate <recipe>
```
其中,`<recipe>`是指你要构建的组件。如果你需要清除整个缓存,可以使用以下命令:
```
$ bitbake -c cleansstate -b <build directory>
```
其中,`<build directory>`是指Yocto构建目录的路径。
ERROR: Logfile of failure stored in: /home/wu/3568/yocto/build/tmp/work/x86_64-linux/rust-cross-armv8a-glibc/1.59.0-r0/temp/log.do_install.27336 Log data follows: | DEBUG: Executing shell function do_install | cp: cannot stat '/home/wu/3568/yocto/build/tmp/work/x86_64-linux/rust-cross-armv8a-glibc/1.59.0-r0/targets/aarch64-niic-linux.json': No such file or directory | WARNING: exit code 1 from a shell command. NOTE: recipe rust-cross-armv8a-glibc-1.59.0-r0: task do_install: Failed如何解决
这个错误信息显示在执行rust-cross-armv8a-glibc-1.59.0-r0的do_install任务时出现了问题,可能是由于缺少文件导致的。你可以尝试以下几个解决方法:
1. 检查是否缺少依赖项,如果缺少依赖项,则需要安装它们。
2. 确认文件路径是否正确,检查是否存在拼写错误或文件名错误。
3. 清除YOCTO的缓存,重新构建并尝试安装。
如果以上方法均不起作用,可以检查日志文件以获取更多信息,如果问题仍然存在,可能需要向YOCTO社区请求帮助。
阅读全文