From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Khem Raj <raj.khem@gmail.com>, "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] gstreamer1.0-plugins-bad: add missing wayland-native dependency
Date: Thu, 28 Jul 2016 10:07:39 +0100 [thread overview]
Message-ID: <1469696859.3351.4.camel@linuxfoundation.org> (raw)
In-Reply-To: <03C3A5A6-D337-4FFA-9013-79FCCD0E50A9@gmail.com>
On Wed, 2016-07-27 at 18:40 -0700, Khem Raj wrote:
>
> > On Jul 27, 2016, at 12:51 PM, Burton, Ross <ross.burton@intel.com>
> > wrote:
> > Why is this needed when wayland already depends on wayland
> > > -native?
> > Because builds from sstate won't pull in all the build dependencies
> > transitively, just enough to do the required tasks. The
> > requirements are the wayland runtime libraries (wayland) and the
> > native tooling (waylaid-native).
> Is it so that populate_sysroot tasks wont do the above two jobs ? if
> yes then why
> If you are saying that behavior is different with or without sstate
> reuse if I do
> bitbake gstreamer1.0-plugins-bad, then I think there is a problem.
> The entries changed here will
> get added to DEPENDS in the end. So Martin has a point.
The way the sstate code is coded, it assumes that if a target recipe X
is available from sstate, any -native/-cross dependencies of that
target are not needed and not installed.
In general this makes sense as quilt-native isn't needed if we aren't
patching, we don't need a compiler/toolchain if we're not compiling and
so on.
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.
I'm open to other ideas on how this could work but right now, its the
only way I can see to make sstate use semi-optimal, rather tahn
requiring *everything* come from sstate all the time.
Cheers,
Richard
prev parent reply other threads:[~2016-07-28 9:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-27 16:32 [PATCH] gstreamer1.0-plugins-bad: add missing wayland-native dependency Ross Burton
2016-07-27 17:07 ` Martin Jansa
2016-07-27 19:51 ` Burton, Ross
2016-07-28 1:40 ` Khem Raj
2016-07-28 9:07 ` Richard Purdie [this message]
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=1469696859.3351.4.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
--cc=ross.burton@intel.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 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.