Changing URL in bbappend causes yocto error.

huangapple go评论65阅读模式
英文:

Changing URL in bbappend causes yocto error

问题

I added a kernel bbappend file that was supposed to override the SRC_URI to point to my github developer repo instead of the public repo. But that change of 1 line alone caused yocto error:

错误:在运行队列中发生未捕获的异常############################ | ETA:0:00:00
Traceback(最新的调用最后):
  File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/bitbake/lib/bb/runqueue.py",第1243行,在RunQueueData.prepare_task_hash(tid = '/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard_5.10.bb:do_fetch')中:
         def prepare_task_hash(self, tid)    >        bb.parse.siggen.prep_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches[mc_from_tid(tid)])
             self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches[mc_from_tid(tid)])
  File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../poky/meta/lib/oe/sstatesig.py",第146行,在SignatureGeneratorOEEquivHash.prep_taskhash(tid = '/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard_5.10.bb:do_fetch',deps = set(),dataCache = <bb.cache.CacheData object at 0x7f773b213880>)中:
         def prep_taskhash(self, tid, deps, dataCache)    &gt;        super().prep_taskhash(tid, deps, dataCache)
             if hasattr(self, "extramethod")  File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/bitbake/lib/bb/siggen.py",第248行,在SignatureGeneratorOEEquivHash.prep_taskhash(tid = '/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard_5.10.bb:do_fetch',deps = set(),dataCache = <bb.cache.CacheData object at 0x7f773b213880>)中:
                 else    &gt;                checksums = bb.fetch2.get_file_checksums(dataCache.file_checksums[fn][task], recipename, self.localdirsexclude)
                 for (f,cs) in checksums:
  File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/bitbake/lib/bb/fetch2/__init__.py",第1215行,在get_file_checksums(filelist ='${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/touch.cfg:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/touch.cfg:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-add-xzpi.dts.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-add-xzpi.dts.patch:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-workaround-boot-board.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-workaround-boot-board.patch:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/sii.cfg:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/sii.cfg:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-Fixed-an-issue-that-caused-flicker-when-outputting-t.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-Fixed-an-issue-that-caused-flicker-when-outputting-t.patch:False  /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/meta/files/common-licenses/MIT:True',pn = 'linux-xboard',localdirsexclude = ['CVS''.bzr''.git''.hg''.osc''.p4''.repo''.svn' ]):
         &quot;&quot;&quot;
    &gt;   

<details>
<summary>英文:</summary>

I added a kernel bbappend file that was supposed to override the SRC_URI to point to my github developer repo instead of the public repo. But that change of 1 line alone caused yocto error:

ERROR: An uncaught exception occurred in runqueue############################ | ETA: 0:00:00Traceback (most recent call last):
File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/bitbake/lib/bb/runqueue.py", line 1243, in RunQueueData.prepare_task_hash(tid='/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard_5.10.bb:do_fetch'):
def prepare_task_hash(self, tid):
> bb.parse.siggen.prep_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches[mc_from_tid(tid)])
self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches[mc_from_tid(tid)])
File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../poky/meta/lib/oe/sstatesig.py", line 146, in SignatureGeneratorOEEquivHash.prep_taskhash(tid='/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard_5.10.bb:do_fetch', deps=set(), dataCache=<bb.cache.CacheData object at 0x7f773b213880>):
def prep_taskhash(self, tid, deps, dataCache):
> super().prep_taskhash(tid, deps, dataCache)
if hasattr(self, "extramethod"):
File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/bitbake/lib/bb/siggen.py", line 248, in SignatureGeneratorOEEquivHash.prep_taskhash(tid='/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard_5.10.bb:do_fetch', deps=set(), dataCache=<bb.cache.CacheData object at 0x7f773b213880>):
else:
> checksums = bb.fetch2.get_file_checksums(dataCache.file_checksums[fn][task], recipename, self.localdirsexclude)
for (f,cs) in checksums:
File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/bitbake/lib/bb/fetch2/init.py", line 1215, in get_file_checksums(filelist='${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/touch.cfg:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/touch.cfg:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-add-xzpi.dts.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-add-xzpi.dts.patch:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-workaround-boot-board.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-workaround-boot-board.patch:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/sii.cfg:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/sii.cfg:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-Fixed-an-issue-that-caused-flicker-when-outputting-t.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-Fixed-an-issue-that-caused-flicker-when-outputting-t.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/meta/files/common-licenses/MIT:True', pn='linux-xboard', localdirsexclude=['CVS', '.bzr', '.git', '.hg', '.osc', '.p4', '.repo', '.svn']):
"""
> return _checksum_cache.get_checksums(filelist, pn, localdirsexclude)

File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/bitbake/lib/bb/checksum.py", line 103, in FileChecksumCache.get_checksums(filelist='${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/touch.cfg:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/touch.cfg:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-add-xzpi.dts.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-add-xzpi.dts.patch:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-workaround-boot-board.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-workaround-boot-board.patch:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/sii.cfg:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/sii.cfg:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-Fixed-an-issue-that-caused-flicker-when-outputting-t.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-Fixed-an-issue-that-caused-flicker-when-outputting-t.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/meta/files/common-licenses/MIT:True', pn='linux-xboard', localdirsexclude=['CVS', '.bzr', '.git', '.hg', '.osc', '.p4', '.repo', '.svn']):
for pth in filelist.split():
> exist = pth.split(":")[1]
if exist == "False":
IndexError: list index out of range

ERROR: Running idle function
Traceback (most recent call last):
File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/bitbake/lib/bb/runqueue.py", line 1243, in RunQueueData.prepare_task_hash(tid='/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard_5.10.bb:do_fetch'):
def prepare_task_hash(self, tid):
> bb.parse.siggen.prep_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches[mc_from_tid(tid)])
self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches[mc_from_tid(tid)])
File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../poky/meta/lib/oe/sstatesig.py", line 146, in SignatureGeneratorOEEquivHash.prep_taskhash(tid='/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard_5.10.bb:do_fetch', deps=set(), dataCache=<bb.cache.CacheData object at 0x7f773b213880>):
def prep_taskhash(self, tid, deps, dataCache):
> super().prep_taskhash(tid, deps, dataCache)
if hasattr(self, "extramethod"):
File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/bitbake/lib/bb/siggen.py", line 248, in SignatureGeneratorOEEquivHash.prep_taskhash(tid='/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard_5.10.bb:do_fetch', deps=set(), dataCache=<bb.cache.CacheData object at 0x7f773b213880>):
else:
> checksums = bb.fetch2.get_file_checksums(dataCache.file_checksums[fn][task], recipename, self.localdirsexclude)
for (f,cs) in checksums:
File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/bitbake/lib/bb/fetch2/init.py", line 1215, in get_file_checksums(filelist='${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/touch.cfg:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/touch.cfg:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-add-xzpi.dts.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-add-xzpi.dts.patch:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-workaround-boot-board.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-workaround-boot-board.patch:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/sii.cfg:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/sii.cfg:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-Fixed-an-issue-that-caused-flicker-when-outputting-t.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-Fixed-an-issue-that-caused-flicker-when-outputting-t.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/meta/files/common-licenses/MIT:True', pn='linux-xboard', localdirsexclude=['CVS', '.bzr', '.git', '.hg', '.osc', '.p4', '.repo', '.svn']):
"""
> return _checksum_cache.get_checksums(filelist, pn, localdirsexclude)

File "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/bitbake/lib/bb/checksum.py", line 103, in FileChecksumCache.get_checksums(filelist='${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/touch.cfg:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/touch.cfg:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-add-xzpi.dts.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-add-xzpi.dts.patch:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-workaround-boot-board.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-workaround-boot-board.patch:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/sii.cfg:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/sii.cfg:False ${@base_set_filespath(["/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard-5.10.158-cip22+git${SRCPV}", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/linux-xboard", "/mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/../meta-xboard/meta-common/recipes-kernel/linux/files"], d)}/0001-Fixed-an-issue-that-caused-flicker-when-outputting-t.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/build/downloads/0001-Fixed-an-issue-that-caused-flicker-when-outputting-t.patch:False /mnt/host_fs/Workspace/preetam/NewBoard/new_release/yocto/poky/meta/files/common-licenses/MIT:True', pn='linux-xboard', localdirsexclude=['CVS', '.bzr', '.git', '.hg', '.osc', '.p4', '.repo', '.svn']):
for pth in filelist.split():
> exist = pth.split(":")[1]
if exist == "False":
IndexError: list index out of range

Summary: There were 6 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


</details>
# 答案1
**得分**: 0
原始的GitHub链接:```git@github.com:<username>/repo```
为BitBake修改后的链接:```git://git@github.com/<username>/repo```
另外,`protocol=git` 需要更改为 `protocol=ssh`。
此外,SSH代理显示的密钥与SSH文件不同。因此,请移除现有密钥,并在系统中添加一个新的密钥,并将其更新到GitHub中。
<details>
<summary>英文:</summary>
The url needs to change:
Original from github: ```git@github.com:&lt;username&gt;/repo```
Modified for bitbake ```git://git@github.com/&lt;username&gt;/repo```
Also `protocol=git` needs to change to `protocol=ssh`.
In addition, the ssh agent was showing a different key than the ssh file. So remove the keys, and added a new one on system and updated it in github.
</details>

huangapple
  • 本文由 发表于 2023年6月27日 18:05:49
  • 转载请务必保留本文链接:https://go.coder-hub.com/76563776.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定