All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael 'Mickey' Lauer <mickey@vanille-media.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: dependencies between packages
Date: Mon, 11 Jan 2010 19:58:10 +0100	[thread overview]
Message-ID: <1263236290.22868.33.camel@andromeda> (raw)
In-Reply-To: <18e217241001110959k4d346f05j7e00c36dfd18021d@mail.gmail.com>

Am Montag, den 11.01.2010, 09:59 -0800 schrieb C Michael Sundius:
> Some of our developers have been running into this problem and I'm wondering
> how others deal with it.
> 
> It seems if we have a recipe, (A) that depends upon header files staged by
> another recipe (B) then:
> 
> 1) if the source for recipe (B) is modified and recompiled with:
> 
>     bitbake -f -c compile B
>     bitbake B,
> 
> I would expect that when recipe A is run:
> 
>    bitbake A
> 
> It too would be recompiled, however that does not seem to be the case. In
> fact even if recipe B is cleaned up:
> 
>     bitbake -c clean B
> 
> and then we run recipe A
> 
>     bitbake A
> 
> only recipe B is run and recipe A is NOT rerun! the dependency is satisfied
> by rerunning recipe B and then bitbake stops..
> 
> is this expected behaviour? Is there away to force rerunning of recipes that
> would be "out of date" due to one of its dependent recipes being return and
> re-staging (potentially) new headers and libraries?

It is indeed expected behaviour, since there is no code in Bitbake that
would add any dependending packages and add them to your build.

Frans' suggestion is a workaround, however that only works with targets
that already include all the depending packages, usually a 'task',
'feed', or 'image' target.

I would welcome such a mode that automatically rebuilds all depending
packages, however as this could dramatically increase build time it
would need to be optional. BitBake hackers, what do you think?

-- 
:M:




  parent reply	other threads:[~2010-01-11 18:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-11 17:59 dependencies between packages C Michael Sundius
2010-01-11 18:14 ` Frans Meulenbroeks
2010-01-11 18:29   ` C Michael Sundius
2010-01-11 18:54 ` Koen Kooi
2010-01-11 18:58 ` Michael 'Mickey' Lauer [this message]
2010-01-11 20:35   ` Frans Meulenbroeks
2010-01-11 20:42   ` Koen Kooi
2010-01-11 20:54     ` Frans Meulenbroeks
2010-01-11 22:11       ` C Michael Sundius
2010-01-12 23:23       ` C Michael Sundius

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=1263236290.22868.33.camel@andromeda \
    --to=mickey@vanille-media.de \
    --cc=openembedded-devel@lists.openembedded.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.