From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "Andreas Müller" <schnitzeltony@googlemail.com>,
"Patrick Ohly" <patrick.ohly@intel.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: Does recipe specific sysrooot (or whatelse in current oe) break native dependencies?
Date: Mon, 13 Feb 2017 10:05:17 -0800 [thread overview]
Message-ID: <1487009117.27753.14.camel@linuxfoundation.org> (raw)
In-Reply-To: <CALbNGRQns-G9XOtS8wGetnAAYVv7Z+F+2h3rLQ2XxgSiSBwHWQ@mail.gmail.com>
On Mon, 2017-02-13 at 16:45 +0100, Andreas Müller wrote:
> On Mon, Feb 13, 2017 at 4:24 PM, Patrick Ohly <patrick.ohly@intel.com
> > wrote:
> > On Mon, 2017-02-13 at 15:36 +0100, Martin Jansa wrote:
> > > I think it's feature which was already there, but almost never
> > > triggered (even in test-dependencies.sh tests), but with RSS it
> > > fails
> > > reliably.
> > >
> > > See:
> > > http://lists.openembedded.org/pipermail/openembedded-core/2016-Ju
> > > ly/124435.html
> Richard wrote
> >
> > What it does mean is that any recipe needing a -native recipe to
> > build
> > should list it in DEPENDS directly, not rely on other dependencies
> > to
> > pull it in for them. This applies to pkgconfig-native, intltool-
> > native
> > and also to wayland-native.
> This answers my question and leaves me unhappy - I am out for a
> while..
To be clear, you can't depend on the build dependencies of some other
recipe to be available to your recipe just because you DEPEND on it.
The RDEPENDS issue that Patrick mentions is a different one, its a
valid recipe markup problem we have processing RDEPENDS information in
the native case.
The kind of indirection that Andreas sounds like he's been relying on
may have happened to work most of the time but I'd bet there were ways
that a semi populated sstate cache could break it.
With RSS, we encoded the sstate behaviour in a deterministic way so the
races that might have happened now do happen all the time.
The simple solution for repetitive dependencies and shortcuts is just
to create a class, list all the things you need in there and then
inherit the class in the recipes as appropriate. I'd hope that isn't
too hard to sort out...
Cheers,
Richard
next prev parent reply other threads:[~2017-02-13 18:05 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-13 0:26 Does recipe specific sysrooot (or whatelse in current oe) break native dependencies? Andreas Müller
2017-02-13 13:47 ` Andreas Müller
2017-02-13 14:36 ` Martin Jansa
2017-02-13 15:15 ` Andreas Müller
2017-02-13 15:24 ` Patrick Ohly
2017-02-13 15:32 ` Martin Jansa
2017-02-13 15:37 ` Patrick Ohly
2017-02-13 15:52 ` Max Krummenacher
2017-02-13 15:45 ` Andreas Müller
2017-02-13 18:05 ` Richard Purdie [this message]
2017-02-13 18:17 ` Andreas Müller
2017-03-05 0:55 ` Andreas Müller
2017-02-13 17:03 ` Patrick Ohly
2017-02-13 17:06 ` Patrick Ohly
2017-02-14 10:26 ` Patrick Ohly
2017-02-19 22:26 ` Richard Purdie
2017-02-20 14:14 ` Patrick Ohly
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=1487009117.27753.14.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=patrick.ohly@intel.com \
--cc=schnitzeltony@googlemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox