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

Paul Eggleton paul.eggleton at linux.intel.com
Wed Apr 4 00:59:45 PDT 2012


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']
> 
> ************************
> 
> 
> 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

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list