[yocto] Morty 2.2.1 build failure

Jussi Kukkonen jussi.kukkonen at intel.com
Thu Mar 23 01:25:26 PDT 2017


On 22 March 2017 at 22:23, Greg Wilson-Lindberg <GWilson at sakuraus.com>
wrote:

> Hi Armin, et al,
>
> I tried it again this morning and it did get past the file not found
> error. But when it gets above step 4000 somewhere it gets an error that
> kills not just the yocto build but the full login session. I'm left staring
> at the Linux Login screen. I originally saw this problem with a git clone
> of 16.0.0, and figured it was a git problem, tried building from a download
> of the 16.0.1 bz2 file when I ran into the file not found error.
>

The "file" git repo was broken twice in the past week but current poky
master branch (current commit 49c2df5652d2) and morty branch (current
commit e292e935b077) do fetch it correctly at the time of writing.

Personally I recommend not using the tarball releases: stick to git
branches (and remember to pull once in a while) as they are likely to get
fixes to issues like these faster.

HTH,
  Jussi


>
> At this point I'm not sure what I can pass on to the list to help find the
> bug, if there are some switches that I can set to get more debug info, or
> maybe something is already saved that I can send that will help?
>
> Regards,
> Greg
>
> > -----Original Message-----
> > From: yocto-bounces at yoctoproject.org [mailto:yocto-
> > bounces at yoctoproject.org] On Behalf Of akuster808
> > Sent: Tuesday, March 21, 2017 7:07 PM
> > To: yocto at yoctoproject.org
> > Subject: Re: [yocto] Morty 2.2.1 build failure
> >
> >
> > Greg,
> >
> > On 03/21/2017 04:29 PM, Greg Wilson-Lindberg wrote:
> > > Hello List,
> > >
> > > I got a copy of the book "Embedded Linux Systems with the Yocto
> Project"
> > at the SCALE 15x conference and this prompted me to try building the
> Yocto
> > Poky build before getting the Boot to Qt Yocto build environment.
> > >
> > > I tried building on 2 x86 systems, a 64 bit system at work and a 32
> bit system
> > at my home, both failed in the same way:
> > >
> > > gwilson 11:06:54:~/yocto/poky-morty-16.0.1$ source ./oe-init-build-env
> > > You had no conf/local.conf file. This configuration file has therefore
> > > been created for you with some default values. You may wish to edit it
> > > to, for example, select a different MACHINE (target hardware). See
> > > conf/local.conf for more information as common configuration options
> are
> > commented.
> > >
> > > You had no conf/bblayers.conf file. This configuration file has
> > > therefore been created for you with some default values. To add
> > > additional metadata layers into your configuration please add entries
> to
> > conf/bblayers.conf.
> > >
> > > The Yocto Project has extensive documentation about OE including a
> > > reference manual which can be found at:
> > >      http://yoctoproject.org/documentation
> > >
> > > For more information about OpenEmbedded see their website:
> > >      http://www.openembedded.org/
> > >
> > >
> > > ### Shell environment set up for builds. ###
> > >
> > > You can now run 'bitbake <target>'
> > >
> > > Common targets are:
> > >      core-image-minimal
> > >      core-image-sato
> > >      meta-toolchain
> > >      meta-ide-support
> > >
> > > You can also run generated qemu images with a command like 'runqemu
> > qemux86'
> > > gwilson 11:07:08:~/yocto/poky-morty-16.0.1/build$
> > > gwilson 11:07:10:~/yocto/poky-morty-16.0.1/build$
> > > gwilson 11:07:11:~/yocto/poky-morty-16.0.1/build$ bitbake
> > > core-image-sato Parsing recipes: 100%
> > >
> > |#########################################################
> > ###################################| Time: 0:00:29 Parsing of 864
> > .bb files complete (0 cached, 864 parsed). 1318 targets, 50 skipped, 0
> masked,
> > 0 errors.
> > > NOTE: Resolving any missing task queue dependencies
> > >
> > > Build Configuration:
> > > BB_VERSION        = "1.32.0"
> > > BUILD_SYS         = "x86_64-linux"
> > > NATIVELSBSTRING   = "Ubuntu-14.04"
> > > TARGET_SYS        = "i586-poky-linux"
> > > MACHINE           = "qemux86"
> > > DISTRO            = "poky"
> > > DISTRO_VERSION    = "2.2.1"
> > > TUNE_FEATURES     = "m32 i586"
> > > TARGET_FPU        = ""
> > > meta
> > > meta-poky
> > > meta-yocto-bsp    = "<unknown>:<unknown>"
> > >
> > > NOTE: Fetching uninative binary shim from
> > > http://downloads.yoctoproject.org/releases/uninative/1.4/x86_64-native
> > > sdk-
> > libc.tar.bz2;sha256sum=101ff8f2580c193488db9e76f9646fb6ed38b65fb76
> > > f403acb0e2178ce7127ca
> > > --2017-03-20 11:07:57--
> > > http://downloads.yoctoproject.org/releases/uninative/1.4/x86_64-native
> > > sdk-libc.tar.bz2 Resolving downloads.yoctoproject.org
> > > (downloads.yoctoproject.org)... 198.145.20.127 Connecting to
> > > downloads.yoctoproject.org
> > (downloads.yoctoproject.org)|198.145.20.127|:80... connected.
> > > HTTP request sent, awaiting response... 200 OK
> > > Length: 2473216 (2.4M) [application/octet-stream] Saving to:
> > > '/home/gwilson/yocto/poky-morty-
> > 16.0.1/build/downloads/uninative/101ff8f2580c193488db9e76f9646fb6ed38b
> > 65fb76f403acb0e2178ce7127ca/x86_64-nativesdk-libc.tar.bz2'
> > >
> > >
> > > 2017-03-20 11:07:58 (6.62 MB/s) -
> > > '/home/gwilson/yocto/poky-morty-
> > 16.0.1/build/downloads/uninative/101ff
> > >
> > 8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca/x86_64-
> > nat
> > > ivesdk-libc.tar.bz2' saved [2473216/2473216]
> > >
> > > Initialising tasks: 100%
> > >
> > |#########################################################
> > ############
> > > ####################| Time: 0:00:15
> > > NOTE: Executing SetScene Tasks
> > > NOTE: Executing RunQueue Tasks
> > > WARNING: flex-native-2.6.0-r0 do_fetch: Failed to fetch URL
> > > http://downloads.sourceforge.net/flex/flex-2.6.0.tar.bz2, attempting
> > > MIRRORS if available
> > > WARNING: file-native-5.28-r0 do_fetch: Failed to fetch URL
> > > git://github.com/file/file.git, attempting MIRRORS if available
> > > ERROR: file-native-5.28-r0 do_fetch: Fetcher failure: Unable to find
> > > revision 3c521817322a6bf5160cfeb09b9145ccde587b2a in branch master
> > > even from upstream
> > > ERROR: file-native-5.28-r0 do_fetch: Fetcher failure for URL:
> > 'git://github.com/file/file.git'. Unable to fetch URL from any source.
> >
> > this is a known issue and should be fixed now (again). The upstream repo
> > had issues which caused the hashes to not match. I heard the repo got
> > corrected.
> >
> > > ERROR: file-native-5.28-r0 do_fetch: Function failed: base_do_fetch
> > > ERROR: Logfile of failure stored in:
> > > /home/gwilson/yocto/poky-morty-16.0.1/build/tmp/work/x86_64-
> > linux/file
> > > -native/5.28-r0/temp/log.do_fetch.23747
> > > ERROR: Task (virtual:native:/home/gwilson/yocto/poky-morty-
> > 16.0.1/meta/recipes-devtools/file/file_5.28.bb:do_fetch) failed with
> exit
> > code '1'
> > > NOTE: Tasks Summary: Attempted 203 tasks of which 0 didn't need to be
> > rerun and 1 failed.
> > >
> > > Summary: 1 task failed:
> > >
> > > virtual:native:/home/gwilson/yocto/poky-morty-16.0.1/meta/recipes-devt
> > > ools/file/file_5.28.bb:do_fetch
> > > Summary: There were 2 WARNING messages shown.
> > > Summary: There were 3 ERROR messages shown, returning a non-zero exit
> > code.
> > > gwilson 11:13:14:~/yocto/poky-morty-16.0.1/build$
> > >
> > > I get 1 file that needs to go to a mirror and a second file that can't
> be found
> > at all.
> > Please try again.
> > >
> > > Are these known bugs? Do I need to just back up and use Morty 2.2?
> > This affected 2.1, 2.2 and master.
> >
> > regards,
> > Armin
> > >
> > > Regards,
> > >
> > > Greg Wilson-Lindberg
> > > Sakura Finetek
> > > 310-783-5075
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170323/33740b8d/attachment.html>


More information about the yocto mailing list