久久ER99热精品一区二区-久久精品99国产精品日本-久久精品免费一区二区三区-久久综合九色综合欧美狠狠

博客專欄

EEPW首頁 > 博客 > YOCTO問題匯總

YOCTO問題匯總

發(fā)布人:電子禪石 時間:2020-12-01 來源:工程師 發(fā)布文章
編譯平臺:ubuntu 18.04
root用戶編譯出現(xiàn)一個root問題
error1:
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Do not use Bitbake as root.
 
解決方法:
注釋掉yocto-bsp/sources/poky/meta/classes/sanity.bbclass文件里以下幾句
    #if 0 == os.getuid():
    #    raise_sanity_error("Do not use Bitbake as root.", d)
error2:
ERROR: gnu-config-native-20150728+gitAUTOINC+b576fa87c1-r0 do_unpack: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.

ERROR: Logfile of failure stored in: /home/leo/work/imx6/genivi-imx6/build-genivi/tmp/work/x86_64-linux/gnu-config-native/20150728+gitAUTOINC+b576fa87c1-r0/temp/log.do_unpack.3948
 
解決辦法:
    1. 更新git
     2. 修改sources/poky/bitbake/lib/bb/fetch2/git.py
                #runfetchcmd("%s branch --set-upstream %s origin/%s" % (ud.basecmd, branchname, \
                #            branchname), d)
                to
                runfetchcmd("%s branch --set-upstream-to origin/%s" % (ud.basecmd, \
                            branchname), d


*博客內(nèi)容為網(wǎng)友個人發(fā)布,僅代表博主個人觀點,如有侵權(quán)請聯(lián)系工作人員刪除。



關(guān)鍵詞:

相關(guān)推薦

技術(shù)專區(qū)

關(guān)閉