Bug 5162

Summary: Unable to build core-image-sato due to dependencies
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mark Hatle <mark.hatle>
Component: virtual machinesAssignee: Ross Burton <ross.burton>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: alexandrux.palalau, bluelightning, sgw
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: x86   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

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