Bug 3776 - core-image-lsb-sdk image build for crownbay BSP fails on emgd install
Summary: core-image-lsb-sdk image build for crownbay BSP fails on emgd install
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium+ major
Target Milestone: 1.4 M4
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-01-22 20:01 UTC by Nitin Kamble
Modified: 2013-01-25 15:46 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nitin Kamble 2013-01-22 20:01:24 UTC
From here: http://autobuilder.yoctoproject.org:8010/builders/crownbay/builds/257/steps/shell_60/logs/stdio

| Note: to be installed:  packagegroup-core-tools-testapps@crownbay packagegroup-base-extended@crownbay packagegroup-core-basic@all packagegroup-core-tools-debug@crownbay packagegroup-core-sdk@all packagegroup-core-ssh-openssh@all psplash@core2 packagegroup-core-lsb@all packagegroup-core-standalone-sdk-target@all packagegroup-core-tools-profile@crownbay packagegroup-core-boot@crownbay kernel-dev@crownbay locale-base-en-us@core2 locale-base-en-gb@core2
| Loading cache...
| Updating cache...               ######################################## [100%]
| 
| Computing transaction...error: Can't install emgd-driver-1.14-r6@core2: no package provides xorg-abi-video-8
| 
| Saving cache...
| 
| ERROR: Function failed: do_rootfs (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/crownbay/build/build/tmp/work/crownbay-poky-linux/core-image-lsb-sdk/1.0-r0/temp/log.do_rootfs.5968 for further information)
NOTE: recipe core-image-lsb-sdk-1.0-r0: task do_rootfs: Failed
ERROR: Task 23 (/srv/home/pokybuild/yocto-autobuilder/yocto-slave/crownbay/build/meta/recipes-extended/images/core-image-lsb-sdk.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7434 tasks of which 6219 didn't need to be rerun and 2 failed.
Comment 1 Nitin Kamble 2013-01-22 20:10:27 UTC
In the initial investigation I have found that the XSERVER var is not empty for the core-image-lsb-sdk image. There is logic in the EMGD based BSP configurations to disable emgd components which depend on X if the XSERVER var does not include emgd driver. Now the XSERVER var is valid and includes the emgd driver, that logic is not anymore working to block the emgd VA components going into the image.

  I need to find a new solution to block the emgd VA components getting into LSB image, and I don't see any obvious solution to this issue.

  One solution can be we can make XSERVER var empty for all the LSB images. But that would need approval from RP.
Comment 2 Nitin Kamble 2013-01-22 20:14:33 UTC
Same issue for emenlow BSP (all the EMGD based BSPs) as well:

http://autobuilder.yoctoproject.org:8010/builders/emenlow/builds/241/steps/shell_60/logs/stdio
Comment 3 Nitin Kamble 2013-01-23 19:37:20 UTC
Darren,
  We probably can fix this issue by extending the LSB image recipes in the meta-intel layer. The extention will be addition of this line

 XSERVER = ""

I think this issue is for meta-intel BSPs because we have the VA support in there, so it kind of makes sense to fix them inside meta-intel only.

Thanks,
Nitin
Comment 4 Nitin Kamble 2013-01-25 01:54:20 UTC
RP & I have a solution for this now. I am testing the changes.
Comment 5 Nitin Kamble 2013-01-25 15:46:13 UTC
Commits to fix went into oecore & meta-intel.

meta-intel:
commit f3bccf8f0c91b4edff480327895dff5efb792f82
Author: Nitin A Kamble <nitin.a.kamble@intel.com>
Date:   Wed Jan 23 15:30:08 2013 -0800

    crownbay.conf: use the new method for specifying VA codecs
    
    This replaces the old VA_FEATURES method to specify the codecs.
    
    These VA codecs are included in the image when image has 'hwcodec'
    in the IMAGE_FEATURES.
    
    And one can disable the VA features by redefining the IMAGE_FEATURES
    var in the local.conf .
    
    The gst-va-intel package pulls in emgd driver and x11 pieces, hence
    it is moved to the XSERVERCODECS var.
    
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
    Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>


oe-core:

commit f19bdeab37e8433c42a36383c78b0f10e700342d
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Wed Jan 23 21:56:11 2013 -0800

    core-image: Add hwcodecs IMAGE_FEATURE
    
    Currently hardware codecs are being injected in rather ugly ways and end up
    either in no or all images. This adds a dedicated IMAGE_FEATURE for them based
    on the MACHINE_HWCODECS variable. We may need to refine this in due course
    but this patch at least illustrates the concept.
    
    (From OE-Core rev: 1cb370587fd72e3f0f69678748108cc4116767fb)
    
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

commit b064818003db3d3a3a18a4a27786725b28bd8d56
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Wed Jan 23 21:56:09 2013 -0800

    packagegroup-core-x11-xserver: Add XSERVERCODECS variable
    
    At present its hard for the system to provide extra x11 hardware codecs.
    We could lump them in with the XSERVER variable but this is suboptimal as
    in some use cases the user might not want to include them in some images.
    
    With this patch we keep our options open about separating usage of the two
    in the future.
    
    (From OE-Core rev: 285c7577813cf75a3b554f8a5d6d7ba002127ef4)
    
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>