All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: poky-image-minimal-1.0-r0:Unable to find package rpm!
Date: Wed, 24 Nov 2010 14:00:20 -0600	[thread overview]
Message-ID: <4CED6ED4.8020609@windriver.com> (raw)
In-Reply-To: <AANLkTinQv_Lb-jnngPTpKV9evSSRzQUfN9JEA0RjZbvT@mail.gmail.com>

On 11/24/10 1:36 PM, Frans Meulenbroeks wrote:
> I was trying to build poky-image-minimal (git head of nov 20).
> | Processing task-poky-boot...
> | Processing rpm...
> | Unable to find package rpm!
> | ERROR: Task failed: ('function do_rootfs failed',
> '/home/frans/poky/poky/build/tmp/work/sheevaplug-poky-linux-gnueabi/poky-image-minimal-1.0-r0/temp/log.do_rootfs.6436')

The task you build had an explicit requirement for 'rpm' (the package).  It's
saying it was unable to find that package.

I'm not sure how to track down where that requirement came from though.

You might be able to work around it by doing a "bitbake rpm"...

> NOTE: package poky-image-minimal-1.0-r0: task do_rootfs: Failed
> ERROR: Task 10 (/home/frans/poky/poky/meta/recipes-core/images/poky-image-minimal.bb,
> do_rootfs) failed with 1
> ERROR: '/home/frans/poky/poky/meta/recipes-core/images/poky-image-minimal.bb'
> failed
> 
> rpm is installed on the host
> packaged rpm and rpm-native build so it does not seem to be a missing
> dependency.
> 
> Anyone an idea?
> 
> BTW: I feel that building poky-image-minimal takes quite long.
> I don't have a very high end PC (D920, core2 duo at 3Ghz or so, with
> 4GB DDR2), but  when I tried to build poky-image-minimal a second
> time, no work needed to be done, apart from do_rootfs.
> Yet running the 1839 (of 1842) tasks took 11min25.

There is currently a lot of extra processing during task executation.  Each task
takes approx 1-2 seconds of processing.  A large number of the 1839 were likely
skipped.. thus the 11 minutes.

We're already working on a solution to this.  Between optimizing the setup of
the bitbake environment and changes in pseudo -- to facilitate the task executor
avoiding exec unless necessary.

--Mark

> Frans
> 
> PS: this is with otherwise out-of-the-box settings, so I did not
> modify conf files or so.
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



  reply	other threads:[~2010-11-24 20:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-24 19:36 poky-image-minimal-1.0-r0:Unable to find package rpm! Frans Meulenbroeks
2010-11-24 20:00 ` Mark Hatle [this message]
2010-11-24 20:21   ` Frans Meulenbroeks
2010-11-24 20:29     ` Mark Hatle
2010-11-24 22:05       ` Frans Meulenbroeks
2010-11-25  0:53         ` Mark Hatle
2010-11-25  7:06     ` Tian, Kevin
2010-11-25  8:54       ` Frans Meulenbroeks

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=4CED6ED4.8020609@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=fransmeulenbroeks@gmail.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.