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

Woody Wu narkewoody at gmail.com
Thu Jan 10 03:52:17 PST 2019


Done.  Still the same error :(

On Thu, Jan 10, 2019 at 7:12 PM Alexander Kanavin <alex.kanavin at gmail.com>
wrote:

> I don't know to be honest. Can you remove your build directory and start
> over?
>
> Alex
>
> On Thu, 10 Jan 2019 at 03:38, Woody Wu <narkewoody at gmail.com> wrote:
> >
> > Hi Alexander,
> >
> > I updated to the tip of thun and core-image-minimal still failed, but
> with different error:
> >
> > Build Configuration:
> > BB_VERSION           = "1.40.0"
> > BUILD_SYS            = "x86_64-linux"
> > NATIVELSBSTRING      = "universal"
> > TARGET_SYS           = "i586-poky-linux"
> > MACHINE              = "qemux86"
> > DISTRO               = "poky"
> > DISTRO_VERSION       = "2.6.1"
> > TUNE_FEATURES        = "m32 i586"
> > TARGET_FPU           = ""
> > meta
> > meta-poky
> > meta-yocto-bsp       = "my-thud:1cab405d88149fd63322a867c6adb4a80ba68db3"
> >
> > Initialising tasks: 100% |#######################################| Time:
> 0:00:00
> > Sstate summary: Wanted 737 Found 0 Missed 737 Current 1 (0% match, 0%
> complete)
> > NOTE: Executing SetScene Tasks
> > NOTE: Executing RunQueue Tasks
> > ERROR: pseudo-native-1.9.0+gitAUTOINC+6294b344e5-r0 do_unpack: Unpack
> failure for URL: 'git://git.yoctoproject.org/pseudo'. No up to date
> source found: clone directory not available or not up to date:
> /home/woody/poky/build/downloads/git2/git.yoctoproject.org.pseudo; shallow
> clone not enabled
> > 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.7954
> > 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 98 tasks of which 86 didn't need to be
> rerun and 1 failed.
> >
> > Summary: 1 task failed:
> >
>  virtual:native:/home/woody/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:
> do_unpack
> > ====
> >
> > It looks like it cannot clone git://git.yoctoproject.org/pseudo,
> right?  But I verified clone of the repository separately with git command
> line, it has no problem.
> >
> > Please help.  Many Thanks!
> > woody
> >
> >
> > On Wed, Jan 9, 2019 at 10:57 PM Alexander Kanavin <
> alex.kanavin at gmail.com> wrote:
> >>
> >> Please update to the latest commit on the thud branch as instructed.
> >>
> >> Alex
> >>
> >>
> >> On Wed, 9 Jan 2019 at 15:09, Woody Wu <narkewoody at gmail.com> wrote:
> >> >
> >> > 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)
> >> >
> >> > --
> >> > _______________________________________________
> >> > poky mailing list
> >> > poky at yoctoproject.org
> >> > https://lists.yoctoproject.org/listinfo/poky
> >
> >
> >
> > --
> > 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/20190110/485208cd/attachment.html>


More information about the poky mailing list