From: Randy MacLeod <randy.macleod@windriver.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: DISTRO_FEATURES and world builds.
Date: Thu, 3 Oct 2013 22:15:10 -0400 [thread overview]
Message-ID: <524E24AE.5060009@windriver.com> (raw)
Some world builds without the DFs: x11 or opengl fail unless
I run: bitbake -k world. Ideally packages would exclude themselves
from world builds if a required DF isn't set. Otherwise identifying
broken packages in bb world builds is not straight-forward. I can
add the DFs in to my world test builds but then I'm not really
exercising at least some of the recipes properly.
So....
What are the rules around DISTRO_FEATURES and bitbake world builds?
What testing has been done and which if any DFs are mandatory.
I copied the default DFs from
meta/conf/distro/include/default-distrovars.inc:
DISTRO_FEATURES_DEFAULT ?= \
"alsa argp bluetooth ext2 irda largefile pcmcia usbgadget \
usbhost wifi xattr nfs zeroconf pci 3g nfc x11"
into my conf/local.conf file as:
DISTRO_FEATURES = \
"alsa argp bluetooth ext2 irda largefile pcmcia usbgadget \
usbhost wifi xattr nfs zeroconf pci 3g nfc x11"
and I if I do a bitbake world it fails with:
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/libgl' (but
/home/rmacleod/src/distro/oe/oe-core.git/meta/recipes-graphics/clutter/clutter-1.0_1.14.4.bb,
/home/rmacleod/src/distro/oe/oe-core.git/meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb,
/home/rmacleod/src/distro/oe/oe-core.git/meta/recipes-graphics/glew/glew_1.10.0.bb,
/home/rmacleod/src/distro/oe/oe-core.git/meta/recipes-qt/qt4/qt4-x11-free_4.8.5.bb,
/home/rmacleod/src/distro/oe/oe-core.git/meta/recipes-graphics/mesa/libglu_9.0.0.bb,
/home/rmacleod/src/distro/oe/oe-core.git/meta/recipes-graphics/cogl/cogl-1.0_1.14.0.bb
DEPENDS on or otherwise requires it)
ERROR: mesa PROVIDES virtual/libgl but was skipped: missing required
distro feature ['opengl'] (not in DISTRO_FEATURES)
ERROR: mesa-gl PROVIDES virtual/libgl but was skipped: missing required
distro feature ['opengl'] (not in DISTRO_FEATURES)
ERROR: mesa PROVIDES virtual/libgl but was skipped: missing required
distro feature ['opengl'] (not in DISTRO_FEATURES)
ERROR: Required build target 'clutter-gtk-1.0' has no buildable providers.
Missing or unbuildable dependency chain was: ['clutter-gtk-1.0',
'clutter-1.0', 'virtual/libgl']
If I drop x11 from the DF list things are even worse.
I tried to sprinkle these recipes with:
REQUIRED_DISTRO_FEATURES = "opengl"
but just as I thought, that didn't work either.
--
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350
next reply other threads:[~2013-10-04 2:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-04 2:15 Randy MacLeod [this message]
2013-10-04 4:28 ` DISTRO_FEATURES and world builds Randy MacLeod
2013-10-04 8:02 ` Burton, Ross
2013-10-04 10:17 ` Martin Jansa
2013-10-04 10:46 ` Richard Purdie
2013-10-04 20:56 ` Randy MacLeod
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=524E24AE.5060009@windriver.com \
--to=randy.macleod@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.