All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Tom Zanussi <tom.zanussi@intel.com>
Cc: Poky <poky@lists.pokylinux.org>
Subject: Re: Build failure
Date: Mon, 24 Jan 2011 16:05:46 -0700	[thread overview]
Message-ID: <4D3E05CA.8080002@mlbassoc.com> (raw)
In-Reply-To: <1295905978.10128.65.camel@elmorro>

On 01/24/2011 02:52 PM, Tom Zanussi wrote:
> On Mon, 2011-01-24 at 13:36 -0800, Gary Thomas wrote:
>> Trying to build poky-image-sato-live:
>>     OE Build Configuration:
>>     BB_VERSION        = "1.11.0"
>>     METADATA_BRANCH   = "master"
>>     METADATA_REVISION = "74783fec56d6ced1a793b36410233472e7daf445"
>>     TARGET_ARCH       = "i586"
>>     TARGET_OS         = "linux"
>>     MACHINE           = "qemux86"
>>     DISTRO            = "poky"
>>     DISTRO_VERSION    = "0.9+snapshot-20110124"
>>     TARGET_FPU        = ""
>>
>> ERROR: Function 'build_boot_bin' failed (see /home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information)
>> ERROR: '/tmp/poky-amltd2/meta/recipes-sato/images/poky-image-sato-live.bb' failed
>> ERROR: Logfile of failure stored in: /home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954
>> Log data follows:
>> | install: cannot stat `/home/local/pc_poky/tmp/sysroots/qemux86-poky-linux/kernel/bzImage': No such file or directory
>> | Function 'build_boot_bin' failed (see /home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information)
>> | ERROR: Function 'build_boot_bin' failed (see /home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information)
>> NOTE: package poky-image-sato-live-1.0-r0: task build_boot_bin: Failed
>> ERROR: Task 9 (/tmp/poky-amltd2/meta/recipes-sato/images/poky-image-sato-live.bb, do_bootimg) failed with exit code '1'
>>
>> n.b. I tried to access BugZilla to report this, but that
>> failed as well :-(
>>
>
> The problem is this commit:
>
> commit bc9d2fbfd4eaad0df5647dd5d07dfb9fcff80ff3
> Author: Dongxiao Xu<dongxiao.xu@intel.com>
> Date:   Tue Jan 18 16:17:58 2011 +0800
>
>      staging: Use relative path in sysroot-destdir for target recipes
>
> Dongxiao is aware of the problem and working on a fix.  In the meantime,
> you could try the fix below from Dongxiao, cut and pasted from IRC, or
> back up to the commit before that...
>
> Hope that helps,
>
> Tom
>
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 9d3b2bb..d1b5398 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -512,3 +512,5 @@ EXPORT_FUNCTIONS do_deploy
> PACKAGES =+ "perf"
> FILES_perf = "${bindir}/* \
> ${libexecdir}"
> +
> +do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR}/${MACHINE}${HOST_VENDOR}-${HOST_OS}/"

Yes, this helped, but I did have to run 'bitbake virtual/kernel -c clean'
before it made any difference.

Thanks

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


  reply	other threads:[~2011-01-24 23:05 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-24 21:36 Build failure Gary Thomas
2011-01-24 21:52 ` Tom Zanussi
2011-01-24 23:05   ` Gary Thomas [this message]
2011-01-25  0:00     ` Tian, Kevin
2011-01-25 22:51       ` Richard Purdie
  -- strict thread matches above, loose matches on Subject: below --
2012-11-14  9:15 Andreas Müller
2012-11-14  9:30 ` Andreas Müller
     [not found] <BANLkTikBm0gmNd8oQ6CN+cAEbYhWEGvWPA@mail.gmail.com>
2011-04-30 14:31 ` Build Failure Colin Minihan
2011-04-30 16:10   ` Andy Walls
2011-05-01  1:28     ` Mauro Carvalho Chehab
2011-05-01 11:50   ` Vincent McIntyre
2010-08-05  5:32 [linux-next] build failure divya
2010-08-05 16:48 ` John Fastabend
2009-02-18 22:42 Build failure jonr
2009-02-18 23:47 ` Jeremy Fitzhardinge
2009-02-19  0:50   ` jonr
2008-07-30  9:29 build failure Christoph Egger
2008-07-30  9:49 ` Keir Fraser
2008-07-30 11:01   ` Christoph Egger
2007-06-08 10:24 Build failure Steinar H. Gunderson
2007-06-08 10:47 ` Steinar H. Gunderson

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=4D3E05CA.8080002@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=poky@lists.pokylinux.org \
    --cc=tom.zanussi@intel.com \
    /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.