Skip to contentSkip to conversation

beta bug? MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS doesn't seem to work right...

DISCUSSION Bob Cochran 2 participants 2 messages Apr 4, 2012

lore
Share & tools
lore
#0 lore raw

I set MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "bogus" in my local.conf.

This var is used in core-image-minimal; it's assigned to RRECOMMENDS_task-core-boot inside task-core-boot.bb.

Per the yocto glossary: "... the image will build if a file in this list is not found. "

But it doesn't build:

**********************

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'bogus' (but /opt/beta/yp-beta/meta/recipes-core/tasks/task-core-boot.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'bogus' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['bogus']
NOTE: Runtime target 'task-core-boot' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['task-core-boot', 'bogus']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'task-core-boot', 'bogus']

************************

Seems like a bug?

Note, MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS worked fine with a valid recipe.

#1 lore raw
Quoted 25 lines · On Tuesday 03 April 2012 23:49:20 Bob Cochran wrote:

I set MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "bogus" in my local.conf.

This var is used in core-image-minimal; it's assigned to RRECOMMENDS_task-core-boot inside task-core-boot.bb.

Per the yocto glossary: "... the image will build if a file in this list is not found. "

But it doesn't build:

**********************

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'bogus' (but /opt/beta/yp-beta/meta/recipes-core/tasks/task-core-boot.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'bogus' is unbuildable, removing... Missing or unbuildable dependency chain was: ['bogus']
NOTE: Runtime target 'task-core-boot' is unbuildable, removing... Missing or unbuildable dependency chain was: ['task-core-boot', 'bogus']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'task-core-boot', 'bogus']

Quoted 4 lines

************************

Seems like a bug?

No, this is not how the RRECOMMENDS mechanism works. There must be at least a possibility that the item in there exists (i.e., there must be a recipe that has it in its RPROVIDES, PACKAGES or an expression that would match it in PACKAGES_DYNAMIC). However, if a package corresponding to that item doesn't actually get produced, that is the situation that is ignored.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre