[poky] Building core-image-minimal failed: 'FetchData' object has no attribute 'fullshallow'

Woody Wu narkewoody at gmail.com
Wed Jan 9 06:07:49 PST 2019


Please some help me.  Just cannot believe, with a fresh clone it cannot do
a simple build.  I think must be something lost in my system but don't know
what.  My system is ubuntu 18.10.

Thanks in advance.

On Wed, Jan 9, 2019 at 11:36 AM Woody Wu <narkewoody at gmail.com> wrote:

> Hello,
>
> I am so new to the project and was trying to do my first building just for
> learn.  Can some please have a look at my errors and point me a direction
> to check? Thanks a lot!
>
> ===
> WARNING: Host distribution "ubuntu-18.10" has not been validated with this
> version of the build system; you may possibly experience unexpected
> failures. It is recommended that you use a tested distribution.
> Parsing recipes: 100% |##########################################| Time:
> 0:00:14
> Parsing of 790 .bb files complete (0 cached, 790 parsed). 1263 targets, 42
> skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION           = "1.40.0"
> BUILD_SYS            = "x86_64-linux"
> NATIVELSBSTRING      = "ubuntu-18.10"
> TARGET_SYS           = "i586-poky-linux"
> MACHINE              = "qemux86"
> DISTRO               = "poky"
> DISTRO_VERSION       = "2.6"
> TUNE_FEATURES        = "m32 i586"
> TARGET_FPU           = ""
> meta
> meta-poky
> meta-yocto-bsp       = "my-thud:84eecb017ef92ef36b4df730908828e54aeff85c"
>
> NOTE: Fetching uninative binary shim from
> http://downloads.yoctoproject.org/releases/uninative/2.3/x86_64-nativesdk-libc.tar.bz2;sha256sum=c6954563dad3c95608117c6fc328099036c832bbd924ebf5fdccb622fc0a8684
> WARNING: Checksum mismatch for local file
> /home/woody/poky/build/downloads/uninative/c6954563dad3c95608117c6fc328099036c832bbd924ebf5fdccb622fc0a8684/x86_64-nativesdk-libc.tar.bz2
> Cleaning and trying again.
> WARNING: Renaming
> /home/woody/poky/build/downloads/uninative/c6954563dad3c95608117c6fc328099036c832bbd924ebf5fdccb622fc0a8684/x86_64-nativesdk-libc.tar.bz2
> to
> /home/woody/poky/build/downloads/uninative/c6954563dad3c95608117c6fc328099036c832bbd924ebf5fdccb622fc0a8684/x86_64-nativesdk-libc.tar.bz2_bad-checksum_4b6fb2106c2f18b8f9c8ac67e1cf9e57
> WARNING: Checksum failure encountered with premirror download of
> http://downloads.yoctoproject.org/releases/uninative/2.3/x86_64-nativesdk-libc.tar.bz2;sha256sum=c6954563dad3c95608117c6fc328099036c832bbd924ebf5fdccb622fc0a8684
> - will attempt other sources.
> Initialising tasks: 100% |#######################################| Time:
> 0:00:00
> Sstate summary: Wanted 738 Found 0 Missed 738 Current 0 (0% match, 0%
> complete)
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> WARNING: pseudo-native-1.9.0+gitAUTOINC+6294b344e5-r0 do_fetch: Failed to
> fetch URL git://git.yoctoproject.org/pseudo, attempting MIRRORS if
> available
> 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.31900
> ERROR: Task
> (virtual:native:/home/woody/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_unpack)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 308 tasks of which 0 didn't need to be
> rerun and 1 failed.
> ===
>
>
> --
> Life is the only flaw in an otherwise perfect nonexistence
>     -- Schopenhauer
>
> woody
> public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com)
>
>

-- 
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/20190109/4643b6dd/attachment-0001.html>


More information about the poky mailing list