[poky] First try of Yocto Failed
Woody Wu
narkewoody at gmail.com
Tue Jan 8 03:52:30 PST 2019
Hi,
I was following instructions on the web side, cloned the poky, check out
the yocto-2.6 tag and start to build with 'bitbake core-image-sato', but
even this failed.
I got following errors:
===
ERROR: pseudo-native-1.9.0+gitAUTOINC+6294b344e5-r0 do_unpack: Error
executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:base_do_unpack(d)
0003:
File: '/home/woody/poky/meta/classes/base.bbclass', lineno: 164, function:
base_do_unpack
0160: return
0161:
0162: try:
0163: fetcher = bb.fetch2.Fetch(src_uri, d)
*** 0164: fetcher.unpack(d.getVar('WORKDIR'))
0165: except bb.fetch2.BBFetchException as e:
0166: bb.fatal(str(e))
0167:}
0168:
File: '/home/woody/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 1773,
function: unpack
1769:
1770: if ud.lockfile:
1771: lf = bb.utils.lockfile(ud.lockfile)
1772:
*** 1773: ud.method.unpack(ud, root, self.d)
1774:
1775: if ud.lockfile:
1776: bb.utils.unlockfile(lf)
1777:
File: '/home/woody/poky/bitbake/lib/bb/fetch2/git.py', lineno: 496,
function: unpack
0492: bb.utils.mkdirhier(destdir)
0493: runfetchcmd("tar -xzf %s" % ud.fullshallow, d,
workdir=destdir)
0494: source_found = True
0495: else:
*** 0496: source_error.append("shallow clone not enabled or
not available: " + ud.fullshallow)
0497:
0498: if not source_found:
0499: raise bb.fetch2.UnpackError("No up to date source
found: " + "; ".join(source_error), ud.url)
0500:
Exception: AttributeError: 'FetchData' object has no attribute 'fullshallow'
ERROR: pseudo-native-1.9.0+gitAUTOINC+6294b344e5-r0 do_unpack: Function
failed: base_do_unpack
ERROR: Logfile of failure stored in:
/home/woody/poky/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+6294b344e5-r0/temp/log.do_unpack.6600
ERROR: Task
(virtual:native:/home/woody/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_unpack)
failed with exit code '1'
===
My system is ubuntu 18.10 and I have python 2 and python 3.
Can someone please give me a clue? Thanks!
--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer
woody
public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20190108/e7e7c33a/attachment.html>
More information about the poky
mailing list