> -----Original Message-----
> From: Richard Purdie <richard.pur...@linuxfoundation.org>
> Sent: den 22 januari 2024 15:02
> To: Peter Kjellerstedt <peter.kjellerst...@axis.com>; openembedded-
> c...@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] insane.bbclass: Allow the warning about
> virtual/ to be disabled
> 
> On Mon, 2024-01-22 at 06:52 +0100, Peter Kjellerstedt wrote:
> > Commit f673d3d239799fb1ab50f4aa5d44187666aa0cd7 introduced a warning for
> > virtual/ being used in RPROVIDES and RDEPENDS. Make it possible to
> > disable the warning by removing "virtual-slash from WARN_QA.
> >
> > Signed-off-by: Peter Kjellerstedt <peter.kjellerst...@axis.com>
> > ---
> >  meta/classes-global/insane.bbclass | 13 +++++++------
> >  1 file changed, 7 insertions(+), 6 deletions(-)
> 
> Whilst I can understand why you might want to make this configurable,
> I'm not sure if is a great idea since people are just going to turn it
> off and continue to ignore it :/.
> 
> virtual/ in the runtime namespace has never been supported and always
> been strongly recommended against.

We do not produce any package feeds and AFAIK in that case virtual/ works 
fine for runtime dependencies since it is only a name, just like, e.g., 
virtual-.

We get a gazillion warnings due to this during parsing, and it is not 
anything I can solve easily. And since it is just a warning that currently 
doesn't affect us, I would like to turn it off for now.

And as Martin mentioned, with my change applied, those who want can turn 
the warning into an error. And being able to do that is typically the only 
way to actually get rid of all warnings and keep them from coming back.

> 
> Cheers,
> 
> Richard

//Peter

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#194168): 
https://lists.openembedded.org/g/openembedded-core/message/194168
Mute This Topic: https://lists.openembedded.org/mt/103881481/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to