- 具体错误
ERROR: docker-ce-20.10.25-ce+git791d8ab87747169b4cbfcdf2fd57c81952bae6d5-r0 do_unpack: Error executing a python function in exec_func_python() autogenerated:The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>0001:*** 0002:go_do_unpack(d)0003:
File: '/home/quectel/qcs8550/poky/meta/classes/go.bbclass', lineno: 85, function: go_do_unpack0081: if fetcher.ud[url].type == 'git':0082: if fetcher.ud[url].parm.get('destsuffix') is None:0083: s_dirname = os.path.basename(d.getVar('S'))0084: fetcher.ud[url].parm['destsuffix'] = os.path.join(s_dirname, 'src', d.getVar('GO_IMPORT')) + '/'*** 0085: fetcher.unpack(d.getVar('WORKDIR'))0086:}0087:0088:go_list_packages() {0089: ${GO} list -f '{{.ImportPath}}' ${GOBUILDFLAGS} ${GO_INSTALL} | \
File: '/home/quectel/qcs8550/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 1856, function: unpack1852:1853: if ud.lockfile:1854: lf = bb.utils.lockfile(ud.lockfile)1855:*** 1856: ud.method.unpack(ud, root, self.d)1857:1858: if ud.lockfile:1859: bb.utils.unlockfile(lf)1860:
File: '/home/quectel/qcs8550/poky/bitbake/lib/bb/fetch2/git.py', lineno: 591, function: unpack0587: else:0588: source_error.append("shallow clone not enabled")0589:0590: if not source_found:*** 0591: raise bb.fetch2.UnpackError("No up to date source found: " + "; ".join(source_error), ud.url)0592:0593: repourl = self._get_repo_url(ud)0594: runfetchcmd("%s remote set-url origin %s" % (ud.basecmd, shlex.quote(repourl)), d, workdir=destdir)0595:
Exception: bb.fetch2.UnpackError: Unpack failure for URL: 'git://github.com/docker/docker.git;branch=20.10;name=docker;protocol=https'. No up to date source found: clone directory not available or not up to date: /home/quectel/qcs8550/download/git2/github.com.docker.docker.git; shallow clone not enabledERROR: Logfile of failure stored in: /home/quectel/qcs8550/build-qti-distro-rb-debug/tmp-glibc/work/aarch64-oe-linux/docker-ce/20.10.25-ce+git791d8ab87747169b4cbfcdf2fd57c81952bae6d5-r0/temp/log.do_unpack.2254179
ERROR: Task (/home/quectel/qcs8550/poky/meta-virtualization/recipes-containers/docker/docker-ce_git.bb:do_unpack) failed with exit code '1'
- 解决办法
保证github正常访问,然后删除,再重新编译。