All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Blundell <pb@reciva.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: RFC: thinking about DEPENDS properties
Date: Tue, 27 Jan 2009 11:29:55 +0000	[thread overview]
Message-ID: <1233055796.31102.42.camel@mill.internal.reciva.com> (raw)
In-Reply-To: <497EEAE6.7090904@gmx.net>

On Tue, 2009-01-27 at 12:07 +0100, Robert Schuster wrote:
> 1) Strong dependencies
> 
> Some recipes have a strong dependency on another recipe. Take llvm as an
> example. llvm puts a bunch of static libraries (.a) and object code
> files into staging which another program links to. So, if llvm is
> recompiled (e.g. changed CFLAGS or applied a patch) those having a
> dependency on llvm should be recompiled as well.

I'm not exactly sure what the concrete difference is between a "strong"
and a "weak" dependency in this view of the world.  Even for packages
with just shared libraries, a change in the depended-on header files
or .so files could easily cause a difference in the dependent binaries.

> 2) Minimum & Maximum supported versions
> Some recipes cannot be built with certain versions of other recipes.
> 
> DEPENDS += "automake-native;minver=1.10"

Bitbake already has a notation for this: you can write:

DEPENDS += "automake-native (>= 1.10)"

and the current parser will accept it although the version information
is ignored.  It would just be a small matter of programming to teach
bitbake to do something useful with that data.

> If the distro uses a lower automake version OE should error out when
> someone tries to build that recipe:
> 
> ERROR: Recipe 'foo' needs at least 'automake-native 1.10' but
> 'PREFERRED_VERSION_automake-native' is set to '1.9.6'.

Not that this was really your point, but the version check shouldn't be
looking at PREFERRED_VERSION_anything.  What matters is the specific
version that you end up trying to build, which might be quite different
to the preferred one for a variety of reasons.

p.





  reply	other threads:[~2009-01-27 11:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27 11:07 RFC: thinking about DEPENDS properties Robert Schuster
2009-01-27 11:29 ` Phil Blundell [this message]
2009-01-27 18:27 ` Koen Kooi

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=1233055796.31102.42.camel@mill.internal.reciva.com \
    --to=pb@reciva.com \
    --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.