All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: When building an image using yocto, I was puzzled by such errors, who can help me? thx!
Date: Fri, 13 Apr 2012 04:09:43 -0600	[thread overview]
Message-ID: <4F87FB67.8030007@mlbassoc.com> (raw)
In-Reply-To: <3d8f8726.e570.136ab20dc74.Coremail.2totoo@163.com>

On 2012-04-13 03:55, 云鹤 wrote:
> When building an image using yocto, I was puzzled by such errors, who can help me? thx!
>
> I am new to yocto and I followed "Yocto Project Quick Start" document to start building an image. After typing "$ bitbake -k core-image-sato" ,error :
> jackie@jackie-Lenovo:~/yocto/edison-6.0.1-build$ bitbake -k core-image-minimal
> Loading cache: 100% |###########################################| ETA: 00:00:00
> Loaded 1041 entries from dependency cache.
>
> OE Build Configuration:
> BB_VERSION = "1.13.3"
> TARGET_ARCH = "i586"
> TARGET_OS = "linux"
> MACHINE = "qemux86"
> DISTRO = "poky"
> DISTRO_VERSION = "1.1.1"
> TUNE_FEATURES = "m32 i586"
> TARGET_FPU = ""
> meta
> meta-yocto = "<unknown>:<unknown>"
>
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> NOTE: Running task 327 of 1827 (ID: 1009, /home/jackie/yocto/poky-edison-6.0.1/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.37.2.bb, do_fetch)
> NOTE: Running task 637 of 1827 (ID: 584, /home/jackie/yocto/poky-edison-6.0.1/meta/recipes-kernel/linux/linux-yocto_3.0.bb, do_fetch)
> NOTE: package linux-libc-headers-2.6.37.2-r2: task do_fetch: Started
> NOTE: package linux-yocto-3.0.18+git1+d386e09f316e03061c088d2b13a48605c20fb3a6_1+d7e81e7f975c57c581ce13446adf023f95d9fd9f-r3: task do_fetch: Started
> ERROR: Function 'File: '/home/jackie/yocto/edison-6.0.1-build/downloads/linux-2.6.37.2.tar.bz2' has md5 checksum cdc3c12d007a0ff597a34b062907e8f7 when
> 89f681bc7c917a84aa7470da6eed5101 was expected (from URL: 'http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.2.tar.bz2')' failed
> ERROR: Logfile of failure stored in: /home/jackie/yocto/edison-6.0.1-build/tmp/work/i586-poky-linux/linux-libc-headers-2.6.37.2-r2/temp/log.do_fetch.3886
> Log data follows:
> | ERROR: Function 'File: '/home/jackie/yocto/edison-6.0.1-build/downloads/linux-2.6.37.2.tar.bz2' has md5 checksum cdc3c12d007a0ff597a34b062907e8f7 when
> 89f681bc7c917a84aa7470da6eed5101 was expected (from URL: 'http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.2.tar.bz2')' failed
> NOTE: package linux-libc-headers-2.6.37.2-r2: task do_fetch: Failed
> ERROR: Task 1009 (/home/jackie/yocto/poky-edison-6.0.1/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.37.2.bb, do_fetch) failed with exit code '1'
> ………………
> | ERROR: Function 'Fetcher failure for URL:
> 'git://git.yoctoproject.org/linux-yocto-3.0-1.1.x.git;protocol=git;nocheckout=1;branch=yocto/standard/common-pc/base,meta;name=machine,meta'. Unable to fetch URL
> git://git.yoctoproject.org/linux-yocto-3.0-1.1.x.git;protocol=git;nocheckout=1;branch=yocto/standard/common-pc/base,meta;name=machine,meta from any source.' failed
> |
> NOTE: package linux-yocto-3.0.18+git1+d386e09f316e03061c088d2b13a48605c20fb3a6_1+d7e81e7f975c57c581ce13446adf023f95d9fd9f-r3: task do_fetch: Failed
> ERROR: Task 584 (/home/jackie/yocto/poky-edison-6.0.1/meta/recipes-kernel/linux/linux-yocto_3.0.bb, do_fetch) failed with exit code '1'
> ERROR: '/home/jackie/yocto/poky-edison-6.0.1/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.37.2.bb' failed
> ERROR: '/home/jackie/yocto/poky-edison-6.0.1/meta/recipes-kernel/linux/linux-yocto_3.0.bb' failed
>
> who can help me? thanks all!

The file downloaded as /home/jackie/yocto/edison-6.0.1-build/downloads/linux-2.6.37.2.tar.bz2 is corrupt.
Try deleting it (and /home/jackie/yocto/edison-6.0.1-build/downloads/linux-2.6.37.2.tar.bz2.done as well)
and start again.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2012-04-13 10:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-13  9:55 When building an image using yocto, I was puzzled by such errors, who can help me? thx! 云鹤
2012-04-13 10:09 ` Gary Thomas [this message]
2012-04-13 10:23 ` Wang, Shane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F87FB67.8030007@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.