1./opt/yocto-rel/share/downloads/ exists but you do not appear to have write access to it.
這個是沒有權限往指定的目錄里寫,
解決方法:將build目錄下對應的工程文件刪去(dashboard-lanvender),然后重新init,指定編譯時產生文件存放的目錄
make DL_DIR=/home/guguangyu/yocto-share-dev/downloads imx6dlwisehmi-lanverder_init
最后再執行make imx6dlwisehmi-lanverder
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
解決方法:這個由於是qt項目的代碼路徑不對導致
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 host
fatal: Could not read from remote repository.
解決方法:這個由於git@zkgit.iask.in:yangmengkui/hengyi.git 需要改成git@zkgit.iask.in/yangmengkui/hengyi.git
4.http://download.qt.io.official ...... 5.4.2..... fetch失敗
解決方法:1.將路徑改成官網正確的路徑
2,將可以正常編譯項目下的包qtbase-opensource-src-5.4.2.tar.xz qtbase-opensource-src-5.4.2.tar.xz.done
qtgraphicaleffects-opensource-src-5.4.2.tar.xz qtgraphicaleffects-opensource-src-5.4.2.tar.xz.done
復制到該項目制定的包下面,由於qtbase-opensource-src-5.4.2.tar.xz.done這個標志位的存在,編譯時就不用從官網上fetch了,這樣就可以跳過
報URL錯誤了,復制了,有可能還會報同樣的錯,這是就需要bitbake -c cleansstate 清楚緩存,這樣問題就可以解決了
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------