[OE-core] [PATCH 2/4] recipes: add x11 to required DISTRO_FEATURES

Burton, Ross ross.burton at intel.com
Thu Jul 24 13:52:45 UTC 2014


On 24 July 2014 14:42, Martin Jansa <martin.jansa at gmail.com> wrote:
> +REQUIRED_DISTRO_FEATURES = "x11"

Now I'm wondering why this is the solution.

If you attempt to build e.g. gnome-desktop explicitly without the x11
distro feature you understandably get an error message, because
gnome-desktop depends on libx11 which sanity checks the distro
features.  This seems correct.

Presumably you're problem is that you're running world builds and
they're producing errors on gnome-desktop because they can't satisfy a
dependency on libx11.  It seems that bubbling up the
REQUIRED_DISTRO_FEATURES tests isn't the right thing to do here - why
can't SkipPackage be handled specially, so if you do bitbake -k world
and libx11 emits SkipPackage, anything that has unsatisfiable
dependencies because of this is also skipped?

Ross



More information about the Openembedded-core mailing list