From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking][PATCH] networkingmanager: QA warning for rdepends on polkit
Date: Mon, 11 May 2015 21:56:02 +0200 [thread overview]
Message-ID: <20150511195602.GN2400@jama> (raw)
In-Reply-To: <CAMKF1sr2r0mH+Oxp9K+nuBa4vrwYQn4ib_M2--AHgLAZidt1fQ@mail.gmail.com>
On Mon, May 11, 2015 at 12:46:13PM -0700, Khem Raj wrote:
> On Mon, May 11, 2015 at 12:43 PM, Khem Raj <raj.khem@gmail.com> wrote:
> > On Mon, May 11, 2015 at 12:00 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >>
> >> RDEPENDS adds dependency only between do_package tasks for build time
> >> dependency you need do_configure depending on do_populate_sysroot
> >
> > its do_build which will depend on do_package_write task in case of RDEPENDS
> > and do_package_write task will then recurse further to build it.
>
> backtracking on warning
>
> WARNING: QA Issue: networkmanager rdepends on polkit, but it isn't a
> build dependency? [build-deps]
>
> its confusing to me. It says 'rdepends' but then expects it in
> build-dependency and not build-rdep or somesuch
It says "rdepends" because that dependency was added by shlib providers
code to RDEPENDS. But that means that some binary is linked against
library provided by polkit -> it's build time dependency autodetected in
do_configure -> needs polkit in DEPENDS.
> but lets say it depends on buildtime then I agree adding it to third
> place is needed and may be adding to 4th place too
> if shlib is not detecting it.
It needs it only in 3rd, because shlib code works correctly, otherwise you
wouldn't see this QA warning.
In other words the QA check warns about runtime dependencies being added
by shlibs code without having their providers in build time dependencies.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
next prev parent reply other threads:[~2015-05-11 19:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-05 3:18 [meta-networking][PATCH] networkingmanager: QA warning for rdepends on polkit Armin Kuster
2015-05-08 15:12 ` Joe MacDonald
2015-05-08 17:02 ` akuster808
2015-05-08 17:18 ` Joe MacDonald
2015-05-11 9:09 ` Martin Jansa
2015-05-11 18:44 ` Khem Raj
2015-05-11 19:00 ` Martin Jansa
2015-05-11 19:43 ` Khem Raj
2015-05-11 19:46 ` Khem Raj
2015-05-11 19:56 ` Martin Jansa [this message]
2015-05-11 19:58 ` akuster808
2015-05-11 19:52 ` Martin Jansa
2015-05-12 8:53 ` Paul Eggleton
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=20150511195602.GN2400@jama \
--to=martin.jansa@gmail.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.