[yocto] No 'directfb' distro feature

Paul Eggleton paul.eggleton at linux.intel.com
Thu Feb 20 02:08:25 PST 2014


Hi Chengwei,

On Thursday 20 February 2014 17:27:31 Yang Chengwei wrote:
> When I was building a core-image-directfb, bitbake failed like below.
> 
> ---------->8------copied from #yocto at irc.freenode------->8--------
> 
> 16:16 < chengwei> $ bitbake core-image-directfb
> 16:16 < chengwei> Loading cache: 100%
> 
> |###########################################################################
> |##################|
> ETA:  00:00:00
> 16:16 < chengwei> Loaded 1218 entries from dependency cache.
> 16:16 < chengwei> ERROR: Nothing PROVIDES 'core-image-directfb'
> 16:16 < chengwei> ERROR: core-image-directfb was skipped: missing
> required distro feature ['directfb'] (not in DISTRO_FEATURES)
> 
> ------------>8------------end------->8-----------------
> 
> It complained "directfb" not in DISTRO_FEATURES, and that's true.
> 
> From the poky source code, I found that there is a commit introduced
> change to meta/recipes-graphics/images/core-image-directfb.bb by using
> "distro_feature_check", this *does* break the build though it's not the
> one to be blamed, the real bug is as bitbake said "there is no directfb
> feature" used by core-image-directfb.bb.
> 
> Is there a plan to fix this?

This is not a bug - the intention is that you customise DISTRO_FEATURES to
include the feature if you need it. You may find this section of the manual
useful:

http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#creating-your-own-distribution

Cheers,
Paul


-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list