From: "Denys Dmytriyenko" <denis@denix.org>
To: Jacob Kroon <jacob.kroon@gmail.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: [bitbake-devel] [PATCH] doc: Clarify how task dependencies relate to RDEPENDS
Date: Wed, 27 May 2020 16:06:01 -0400 [thread overview]
Message-ID: <20200527200601.GN17660@denix.org> (raw)
In-Reply-To: <20200526192146.420290-1-jacob.kroon@gmail.com>
On Tue, May 26, 2020 at 09:21:46PM +0200, Jacob Kroon wrote:
> Clarify that BitBake knows how to map entries defined in the runtime
> dependency namespace back to build-time dependencies (recipes) in
> which tasks are defined.
>
> Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
> ---
> doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
> index 10b58835..95a8b95b 100644
> --- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
> +++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
> @@ -2526,6 +2526,9 @@
> In the previous example, the <filename>do_packagedata</filename>
> task of each item in <filename>RDEPENDS</filename> must have
> completed before <filename>do_package_qa</filename> can execute.
> + Although <filename>RDEPENDS</filename> contains entries from the
> + runtime dependency namespace, BitBake knows how to map them back
> + to the build-time dependency namespace, in which the tasks are defined.
That is quite an important clarification!
While working on multiconfig, I faced this issue - I can get build
dependencies covered by "mcdepends", but there's no way to pull the
resulting packages into images or SDK, as RDEPENDS or anything that
results in RDEPENDS (IMAGE_INSTALL, PACKAGE_INSTALL, etc) all trigger
this build-time dependency namespace check in bitbake and end up in
errors like "Nothing RPROVIDES <blah>".
I wonder if multiconfig-aware RDEPENDS is needed to bypass this?
--
Denys
next prev parent reply other threads:[~2020-05-27 20:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-26 19:21 [PATCH] doc: Clarify how task dependencies relate to RDEPENDS Jacob Kroon
2020-05-27 20:06 ` Denys Dmytriyenko [this message]
2020-05-28 20:44 ` [bitbake-devel] " Richard Purdie
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=20200527200601.GN17660@denix.org \
--to=denis@denix.org \
--cc=bitbake-devel@lists.openembedded.org \
--cc=jacob.kroon@gmail.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.