All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Freihofer <adrian.freihofer@gmail.com>
To: martin.jansa@gmail.com
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] networkmanager: Warning Fix
Date: Fri, 22 Jan 2016 15:54:48 +0100	[thread overview]
Message-ID: <1453474488.2577.220.camel@gmail.com> (raw)
In-Reply-To: <CA+chaQdhrn9CcNXTde4ULwSodhsN+ajFZGXuY_wkSOcq-MUf+Q@mail.gmail.com>

Hi Martin,

Thank you for the response. But it is confusing to me...
Networkmanager is always built with nmtui enabled, and we split it into package networkmanager-nmtui:
EXTRA_OECONF = \
    ...
    --with-nmtui=yes \
"
PACKAGES =+ "... ${PN}-nmtui"
FILES_${PN}-nmtui = " ...

I guess an additional package option for --with-nmtui does not fit. Either we have a compile time option or a package split.

Regarding rdepends:
Since libnewt is already listed as a build dependency pkgconfig automatically creates the correct rdepends:
 - libnewt is a runntime dependency of networkmanager-nmtui
 - networkmanager itself does not rdepend on it.
This is exatly what I expect. There is no need to force rdepends at all.

Again: I'm on jethro and I cannot see this warning.
What are we going to fix with this patch?

Please give me a hint, I cannot understand it.
Regards,
Adrian



On Fri, 2016-01-22 at 09:26 +0100, Martin Jansa wrote:
> It is correct approach to fix it.
> 
> This isn't:
> RDEPENDS_${PN}-nmtui += "libnewt"
> 
> On Fri, Jan 22, 2016 at 9:07 AM, Adrian Freihofer <
> adrian.freihofer@gmail.com> wrote:
> 
> > Hi
> > 
> > This is not the right approach to fix this warning.
> > Please try something like this:
> > RDEPENDS_${PN}-nmtui += "libnewt"
> > 
> > Notes:
> > - I never saw this warning.
> > - I would expect that pkgconfig does this automatically.
> > 
> > Regards,
> > Adrian
> > 
> > On Thu, 2016-01-21 at 12:21 +0300, Li Xin wrote:
> > > WARNING: QA Issue: networkmanager rdepends on libnewt, but it isn't a
> > build dependency? [build-deps]
> > > 
> > > Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
> > > ---
> > >  meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.6.bb |
> > 1 +
> > >  1 file changed, 1 insertion(+)
> > > 
> > > diff --git a/meta-oe/recipes-connectivity/networkmanager/
> > networkmanager_1.0.6.bb b/meta-oe/recipes-
> > > connectivity/networkmanager/networkmanager_1.0.6.bb
> > > index 1ddb66f..72b4e46 100644
> > > --- a/meta-oe/recipes-connectivity/networkmanager/
> > networkmanager_1.0.6.bb
> > > +++ b/meta-oe/recipes-connectivity/networkmanager/
> > networkmanager_1.0.6.bb
> > > @@ -56,6 +56,7 @@ PACKAGECONFIG[wifi] =
> > "--enable-wifi=yes,--enable-wifi=no,wireless-tools,wpa-sup
> > >  PACKAGECONFIG[ifupdown] = "--enable-ifupdown,--disable-ifupdown"
> > >  PACKAGECONFIG[netconfig] = "--with-netconfig=yes,--with-netconfig=no"
> > >  PACKAGECONFIG[qt4-x11-free] = "--enable-qt,--disable-qt,qt4-x11-free"
> > > +PACKAGECONFIG[libnewt] = "--with-nmtui=yes,--with-nmtui=no,libnewt"
> > > 
> > >  PACKAGES =+ "libnmutil libnmglib libnmglib-vpn ${PN}-tests
> > ${PN}-bash-completion \
> > >    ${PN}-nmtui ${PN}-nmtui-doc \
> > > --
> > > 1.8.4.2
> > > 
> > > 
> > > 
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > 


  reply	other threads:[~2016-01-22 14:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-21  9:21 [meta-oe][PATCH] networkmanager: Warning Fix Li Xin
2016-01-22  8:07 ` Adrian Freihofer
2016-01-22  8:26   ` Martin Jansa
2016-01-22 14:54     ` Adrian Freihofer [this message]
2016-01-22 15:26       ` Martin Jansa
2016-01-22 17:05         ` Adrian Freihofer
2016-01-22 17:28           ` Martin Jansa

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=1453474488.2577.220.camel@gmail.com \
    --to=adrian.freihofer@gmail.com \
    --cc=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.