Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Esben Haabendal <eha@doredevelopment.dk>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Eliminating dependency race-conditions
Date: Wed, 16 Mar 2011 06:47:57 +0100	[thread overview]
Message-ID: <1300254477.2818.5.camel@eha> (raw)
In-Reply-To: <20110315220301.GC3042@denix.org>

On Tue, 2011-03-15 at 18:03 -0400, Denys Dmytriyenko wrote:
> On Tue, Mar 15, 2011 at 10:08:37AM +0100, Esben Haabendal wrote:
> > On Fri, 2011-03-11 at 12:04 +0100, Steffen Sledz wrote:
> > > which occurred sometimes depending on build order (not in clean
> > > package only builds).
> > 
> > I would like to raise awareness of the underlying problem here.
> > 
> > The current dependency/staging model of OE basically has this feature
> > that a build can be influenced not only by it's own dependencies, but
> > also what has been build before it (or not).
> > 
> > I strongly believe that this has to be fixed on the architectural level,
> > and not just on a case-by-case level as is currently needed.
> > 
> > I haven't received much feedback on the preivous posting about the
> > per-recipe staging principle implemented in OE-lite, but I decided to
> > take this opportunity to re-iterate the fact that the OE-lite
> > implementation of staging and build dependencies eliminates this
> > problem.
> > 
> > I am still very much interested in discussing how to move this
> > technology from OE-lite to OE, but as it impacts all recipe metadata
> > (build dependencies has to be redefined), OE community at a large really
> > needs to value the benefits of solving this problem.
> 
> Esben,
> 
> Thanks for raising this issue and making people aware of it!
> 
> This has previously been discussed several times, including last time during 
> the Yocto Summit in December, where I brought up the question of per-package 
> staging/dependency to Richard's attention, when he introduced the new Shared 
> State (sstate). While per-package dependency wasn't considered a critical 
> must-have feature right away, it was acknowledged as something worthwhile 
> looking at and, according to Richard, should be easy to accomplish with the 
> new sstate functionality...

There is two different objectives in this.

Per-recipe staging and per-package build-time dependencies.  While I
assume per-recipe staging will be doable to build on top of sstate,
per-package build-time dependencies is not really related to sstate, but
is mostly a meta-data issue (man-hours wise), while also requiring
changes to tbe BitBake cooker.

The final thing that I have found while solving the above issues, is how
simple (KISS!) all this can be addressed when going from per-recipe
build-time dependencies to per-package.  And I really think that we need
more KISS in OE ;-)

/Esben






  reply	other threads:[~2011-03-16  5:56 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-11 11:04 [PATCH] net-snmp: disable libnl use Steffen Sledz
2011-03-11 13:05 ` Koen Kooi
2011-03-11 15:53   ` Steffen Sledz
2011-03-12  0:05     ` Khem Raj
2011-03-14  7:06       ` Steffen Sledz
2011-03-14 16:39         ` Khem Raj
2011-03-15  9:08 ` Eliminating dependency race-conditions (was Re: [PATCH] net-snmp: disable libnl use) Esben Haabendal
2011-03-15 22:03   ` Denys Dmytriyenko
2011-03-16  5:47     ` Esben Haabendal [this message]
2011-03-16  6:22       ` Python-native dependency in libxml2 Ahsan, Noor
2011-03-16  7:08         ` Khem Raj
2011-03-16  7:28           ` Frans Meulenbroeks
2011-03-16  7:43             ` Khem Raj
2011-03-16  8:00               ` Frans Meulenbroeks
2011-03-16  8:05             ` Martin Jansa
2011-03-16  8:38               ` Ahsan, Noor
2011-03-17 10:40                 ` Ahsan, Noor
2011-03-18  7:41                   ` Ahsan, Noor
2011-03-18  8:38                     ` Martin Jansa
2011-03-18  9:47                       ` Koen Kooi
2011-03-18  9:01                     ` Frans Meulenbroeks
2011-03-16  6:35       ` Eliminating dependency race-conditions Frans Meulenbroeks
2011-03-15 23:15   ` Eliminating dependency race-conditions (was Re: [PATCH] net-snmp: disable libnl use) Graham Gower
2011-03-17 11:18   ` Phil Blundell
2011-03-17 14:43     ` Esben Haabendal
2011-03-17 14:52       ` Graeme Gregory
2011-03-17 15:24         ` Koen Kooi
2011-03-17 15:07       ` Phil Blundell
2011-03-17 17:52         ` Esben Haabendal
2011-03-17 18:05           ` Phil Blundell
2011-03-17 19:58             ` Esben Haabendal
2011-03-17 21:00               ` Phil Blundell
2011-03-18  5:29                 ` Esben Haabendal
2011-03-18 10:26                   ` Phil Blundell
2011-03-18 12:14                     ` Eliminating dependency race-conditions Esben Haabendal
2011-03-19  0:32                       ` Richard Purdie
2011-03-22  9:01                         ` Esben Haabendal
2011-03-23 20:31                           ` Frans Meulenbroeks
2011-03-19  0:18               ` Eliminating dependency race-conditions (was Re: [PATCH] net-snmp: disable libnl use) Richard Purdie
2011-03-22  9:00                 ` Eliminating dependency race-conditions Esben Haabendal

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=1300254477.2818.5.camel@eha \
    --to=eha@doredevelopment.dk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox