程序笔记   发布时间:2022-07-20  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了yocto编译常见问题及解决方法大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_489_0@1./opt/yocto-rel/share/downloads/ exists but you do not appear to have write access to it.

@H_489_0@这个是没有权限往指定的目录里写,

@H_489_0@解决方法:将build目录下对应的工程文件删去(dashboard-lanvender),然后重新init,指定编译时产生文件存放的目录

@H_489_0@make DL_DIR=/home/guguangyu/yocto-share-dev/downloads imx6dlwisehmi-lanverder_init

@H_489_0@最后再执行make imx6dlwisehmi-lanverder

@H_489_0@2.ExpansionError during parsing /home/yangmengkui/yocto/sources/meta-autorock/recipes-autorock/dashboards/dashboard-lavender.bb: Failure expanding variable S: ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception MalformedUrl: The URL: 'git@zkgit.iask.in/yangmengkui/hengyi.git;branch=master;protocol=ssh' is invalid and cAnnot bE interpreted

@H_489_0@解决方法:这个由于是qt项目的代码路径不对导致

@H_489_0@3.ExpansionError during parsing /home/yangmengkui/yocto/sources/meta-imx6-autorock/recipes-bsp/u-boot/u-boot-imx6-autorock.bb: Failure expanding variable S: ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command failed with exit code 128, output:ssh_exchange_identification: Connection closed by remote hostfatal: Could not read from remote repository.

@H_489_0@解决方法:这个由于git@zkgit.iask.in:yangmengkui/hengyi.git 需要改成git@zkgit.iask.in/yangmengkui/hengyi.git

@H_489_0@4.http://download.qt.io.official ...... 5.4.2..... fetch失败

@H_489_0@解决方法:1.将路径改成官网正确的路径2,将可以正常编译项目下的包qtbase-opensource-src-5.4.2.tar.xz       qtbase-opensource-src-5.4.2.tar.xz.done

@H_489_0@qtgraphicaleffects-opensource-src-5.4.2.tar.xz       qtgraphicaleffects-opensource-src-5.4.2.tar.xz.done

@H_489_0@复制到该项目制定的包下面,由于qtbase-opensource-src-5.4.2.tar.xz.done这个标志位的存在,编译时就不用从官网上fetch了,这样就可以跳过

@H_489_0@报URL错误了,复制了,有可能还会报同样的错,这是就需要bitbake -c cleansstate 清楚缓存,这样问题就可以解决了-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

@H_489_0@ 

大佬总结

以上是大佬教程为你收集整理的yocto编译常见问题及解决方法全部内容,希望文章能够帮你解决yocto编译常见问题及解决方法所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。