Bug 5162 - Unable to build core-image-sato due to dependencies
Summary: Unable to build core-image-sato due to dependencies
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: virtual machines (show other bugs)
Version: 1.5
Hardware: x86 x86
: Medium+ normal
Target Milestone: 1.5 M5
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-11 01:59 UTC by Mark Hatle
Modified: 2013-10-16 11:55 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hatle 2013-09-11 01:59:22 UTC
Using the distroless oe-core & bitbake combinations, I am no longer able build core-image-sato without a few manual changes.

My configuration is:

MACHINE ?= "qemux86"
EXTRA_IMAGE_FEATURES = "dev-pkgs staticdev-pkgs doc-pkgs dbg-pkgs ptest-pkgs"

I get the following messages:


ERROR: Nothing RPROVIDES 'mesa-driver-swrast' (but /home/mhatle/git/oss/oe-core/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'mesa-driver-swrast' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mesa-driver-swrast']
NOTE: Runtime target 'packagegroup-core-x11-xserver' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-x11-xserver', 'mesa-driver-swrast']
NOTE: Runtime target 'packagegroup-core-x11-base' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-x11-base', 'packagegroup-core-x11-xserver', 'mesa-driver-swrast']
ERROR: Required build target 'core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato', 'packagegroup-core-x11-base', 'packagegroup-core-x11-xserver', 'mesa-driver-swrast']


If I remove mesa-drive-swrast from the oe-core/meta/conf/machine/qemux86.conf XSERVER entry, I then get:


ERROR: Nothing PROVIDES 'virtual/libgl' (but /home/mhatle/git/oss/oe-core/meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.0.1.bb DEPENDS on or otherwise requires it)
ERROR: lib32-mesa 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: mesa PROVIDES virtual/libgl but was skipped: missing required distro feature ['opengl'] (not in DISTRO_FEATURES)
ERROR: lib32-mesa PROVIDES virtual/libgl but was skipped: missing required distro feature ['opengl'] (not in DISTRO_FEATURES)
NOTE: Runtime target 'xf86-video-vmware' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['xf86-video-vmware', 'virtual/libgl']
NOTE: Runtime target 'packagegroup-core-x11-xserver' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-x11-xserver', 'xf86-video-vmware', 'virtual/libgl']
NOTE: Runtime target 'packagegroup-core-x11-base' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-x11-base', 'packagegroup-core-x11-xserver', 'xf86-video-vmware', 'virtual/libgl']
ERROR: Required build target 'core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato', 'packagegroup-core-x11-base', 'packagegroup-core-x11-xserver', 'xf86-video-vmware', 'virtual/libgl']

If I further remove "xf86-video-vmware", I am able to then build properly.

Richard Purdie suggested that this might be related to no "opengl" in DISTRO_FEATURES in the distroless oe-core.
Comment 1 Paul Eggleton 2013-09-11 18:07:13 UTC
Ross has sent a patch to address this on the poky list, FYI.
Comment 3 Ross Burton 2013-09-12 07:37:34 UTC
And http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=46597b54570e4e96ed84fa2ba02bc996c632c0ba is the vmware part.

I've successfully built core-image-sato without opengl for both qemux86 and NUC now, so I think we're clear.
Comment 4 Alexandru Palalau 2013-10-16 11:55:36 UTC
Verified on master.
Commit ID: faf8f8660fae26a14578738b642fdeb08bcb9d54