All of lore.kernel.org
 help / color / mirror / Atom feed
* WARNING: Variable key %s (%s) replaces original key %s (%s).
@ 2018-02-05 18:21 Denys Dmytriyenko
  2018-02-05 21:53 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2018-02-05 18:21 UTC (permalink / raw)
  To: openembedded-core

Am I supposed to see bunch of these warnings (3 during parsing and 20 more 
during build):

WARNING: Variable key RDEPENDS_${KERNEL_PACKAGE_NAME}-base (${KERNEL_PACKAGE_NAME}-image) replaces original key RDEPENDS_kernel-base (kernel-devicetree).


From kernel.bbclass:

# Allow machines to override this dependency if kernel image files are
# not wanted in images as standard
RDEPENDS_${KERNEL_PACKAGE_NAME}-base ?= "${KERNEL_PACKAGE_NAME}-image"

-- 
Denys


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: WARNING: Variable key %s (%s) replaces original key %s (%s).
  2018-02-05 18:21 WARNING: Variable key %s (%s) replaces original key %s (%s) Denys Dmytriyenko
@ 2018-02-05 21:53 ` Burton, Ross
  2018-02-05 22:13   ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2018-02-05 21:53 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 857 bytes --]

On 5 February 2018 at 18:21, Denys Dmytriyenko <denis@denix.org> wrote:

> Am I supposed to see bunch of these warnings (3 during parsing and 20 more
> during build):
>
> WARNING: Variable key RDEPENDS_${KERNEL_PACKAGE_NAME}-base
> (${KERNEL_PACKAGE_NAME}-image) replaces original key RDEPENDS_kernel-base
> (kernel-devicetree).
>
>
> From kernel.bbclass:
>
> # Allow machines to override this dependency if kernel image files are
> # not wanted in images as standard
> RDEPENDS_${KERNEL_PACKAGE_NAME}-base ?= "${KERNEL_PACKAGE_NAME}-image"
>

That's your kernel recipe not liking the new multiple-name kernel classes,
and if your problem is the same as oe-core's qemu* machines then this is
the fix:

-RDEPENDS_kernel-base = ""
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""

(oe-core a408236b6302273a5a45bcfe5eb3a8f2713ec3fa)

Ross

[-- Attachment #2: Type: text/html, Size: 1361 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: WARNING: Variable key %s (%s) replaces original key %s (%s).
  2018-02-05 21:53 ` Burton, Ross
@ 2018-02-05 22:13   ` Denys Dmytriyenko
  2018-02-05 22:25     ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2018-02-05 22:13 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On Mon, Feb 05, 2018 at 09:53:44PM +0000, Burton, Ross wrote:
> On 5 February 2018 at 18:21, Denys Dmytriyenko <denis@denix.org> wrote:
> 
> > Am I supposed to see bunch of these warnings (3 during parsing and 20 more
> > during build):
> >
> > WARNING: Variable key RDEPENDS_${KERNEL_PACKAGE_NAME}-base
> > (${KERNEL_PACKAGE_NAME}-image) replaces original key RDEPENDS_kernel-base
> > (kernel-devicetree).
> >
> >
> > From kernel.bbclass:
> >
> > # Allow machines to override this dependency if kernel image files are
> > # not wanted in images as standard
> > RDEPENDS_${KERNEL_PACKAGE_NAME}-base ?= "${KERNEL_PACKAGE_NAME}-image"
> >
> 
> That's your kernel recipe not liking the new multiple-name kernel classes,
> and if your problem is the same as oe-core's qemu* machines then this is
> the fix:
> 
> -RDEPENDS_kernel-base = ""
> +RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""

Ah, I see, thanks! I assume all other operations with that variable (like 
appends) would have to be changed similarly?

-- 
Denys


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: WARNING: Variable key %s (%s) replaces original key %s (%s).
  2018-02-05 22:13   ` Denys Dmytriyenko
@ 2018-02-05 22:25     ` Burton, Ross
  2018-02-06 10:00       ` Paul Eggleton
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2018-02-05 22:25 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: Paul Eggleton, OE-core

[-- Attachment #1: Type: text/plain, Size: 1271 bytes --]

On 5 February 2018 at 22:13, Denys Dmytriyenko <denis@denix.org> wrote:

> On Mon, Feb 05, 2018 at 09:53:44PM +0000, Burton, Ross wrote:
> > On 5 February 2018 at 18:21, Denys Dmytriyenko <denis@denix.org> wrote:
> >
> > > Am I supposed to see bunch of these warnings (3 during parsing and 20
> more
> > > during build):
> > >
> > > WARNING: Variable key RDEPENDS_${KERNEL_PACKAGE_NAME}-base
> > > (${KERNEL_PACKAGE_NAME}-image) replaces original key
> RDEPENDS_kernel-base
> > > (kernel-devicetree).
> > >
> > >
> > > From kernel.bbclass:
> > >
> > > # Allow machines to override this dependency if kernel image files are
> > > # not wanted in images as standard
> > > RDEPENDS_${KERNEL_PACKAGE_NAME}-base ?= "${KERNEL_PACKAGE_NAME}-image"
> > >
> >
> > That's your kernel recipe not liking the new multiple-name kernel
> classes,
> > and if your problem is the same as oe-core's qemu* machines then this is
> > the fix:
> >
> > -RDEPENDS_kernel-base = ""
> > +RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
>
> Ah, I see, thanks! I assume all other operations with that variable (like
> appends) would have to be changed similarly?
>

Yes.

CCing Paul, master of release notes, to ensure this gets into the migration
guide. :)

Rosss

[-- Attachment #2: Type: text/html, Size: 1890 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: WARNING: Variable key %s (%s) replaces original key %s (%s).
  2018-02-05 22:25     ` Burton, Ross
@ 2018-02-06 10:00       ` Paul Eggleton
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2018-02-06 10:00 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On Tuesday, 6 February 2018 11:25:08 AM NZDT Burton, Ross wrote:
> On 5 February 2018 at 22:13, Denys Dmytriyenko <denis@denix.org> wrote:
> 
> > On Mon, Feb 05, 2018 at 09:53:44PM +0000, Burton, Ross wrote:
> > > On 5 February 2018 at 18:21, Denys Dmytriyenko <denis@denix.org> wrote:
> > >
> > > > Am I supposed to see bunch of these warnings (3 during parsing and 20
> > more
> > > > during build):
> > > >
> > > > WARNING: Variable key RDEPENDS_${KERNEL_PACKAGE_NAME}-base
> > > > (${KERNEL_PACKAGE_NAME}-image) replaces original key
> > RDEPENDS_kernel-base
> > > > (kernel-devicetree).
> > > >
> > > >
> > > > From kernel.bbclass:
> > > >
> > > > # Allow machines to override this dependency if kernel image files are
> > > > # not wanted in images as standard
> > > > RDEPENDS_${KERNEL_PACKAGE_NAME}-base ?= "${KERNEL_PACKAGE_NAME}-image"
> > > >
> > >
> > > That's your kernel recipe not liking the new multiple-name kernel
> > classes,
> > > and if your problem is the same as oe-core's qemu* machines then this is
> > > the fix:
> > >
> > > -RDEPENDS_kernel-base = ""
> > > +RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
> >
> > Ah, I see, thanks! I assume all other operations with that variable (like
> > appends) would have to be changed similarly?
> >
> 
> Yes.
> 
> CCing Paul, master of release notes, to ensure this gets into the migration
> guide. :)

I've added this to:

  https://wiki.yoctoproject.org/wiki/FutureMigrationGuide

There must be a load missing from there for 2.5 so if you can think of 
anything that needs adding, in whatever raw form you can, go for it.

Cheers,
Paul

-- 
Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-06 10:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-05 18:21 WARNING: Variable key %s (%s) replaces original key %s (%s) Denys Dmytriyenko
2018-02-05 21:53 ` Burton, Ross
2018-02-05 22:13   ` Denys Dmytriyenko
2018-02-05 22:25     ` Burton, Ross
2018-02-06 10:00       ` Paul Eggleton

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.