Skip to contentSkip to conversation

WARNING: Variable key %s (%s) replaces original key %s (%s).

DISCUSSION Denys Dmytriyenko 3 participants 5 messages Feb 5, 2018 – Feb 6, 2018

lore
Share & tools
lore
#0 lore raw

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"
Signature · 1 line
Denys
#1 lore raw
Quoted 8 lines · Denys Dmytriyenko

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).

Quoted 6 lines

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

#2 lore raw
Quoted 21 lines · Ross
Quoted 8 lines · Denys Dmytriyenko

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).

Quoted 6 lines

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:

Review

Quoted 2 lines
(quoted diff) +1 -1
-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?

Signature · 1 line
Denys
#3 lore raw
Quoted 22 lines · Denys Dmytriyenko
Quoted 3 lines · Ross
Quoted 1 line · Denys Dmytriyenko

Am I supposed to see bunch of these warnings (3 during parsing and 20

more

Quoted 4 lines
Quoted 4 lines

during build):

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

RDEPENDS_kernel-base

Quoted 11 lines
Quoted 9 lines

(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,

Quoted 9 lines

Review

Quoted 5 lines

and if your problem is the same as oe-core's qemu* machines then this is the fix:

(quoted diff) +1 -1
-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

#4 lore raw
Quoted 34 lines · Ross
Quoted 22 lines · Denys Dmytriyenko
Quoted 3 lines · Ross
Quoted 1 line · Denys Dmytriyenko

Am I supposed to see bunch of these warnings (3 during parsing and 20

more

Quoted 4 lines
Quoted 4 lines

during build):

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

RDEPENDS_kernel-base

Quoted 11 lines
Quoted 9 lines

(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,

Quoted 9 lines

Review

Quoted 5 lines

and if your problem is the same as oe-core's qemu* machines then this is the fix:

(quoted diff) +1 -1
-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?

Quoted 4 lines

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

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre