Bug 4615

Summary: meta-intel BSPs all fail with lsb: emgd-driver no package provider build crash (including meta-minnow)
Product: [Build System, Metadata & Runtime] BSPs Reporter: Cristian Iorga <cristian.iorga>
Component: bsps-meta-minnowAssignee: Nitin Kamble <nitin.a.kamble>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: elizabeth.flanagan, nitin.a.kamble, scott.a.garman, sgw, tom.zanussi
Version: unspecified   
Target Milestone: 1.5 M2   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Cristian Iorga 2013-06-05 14:32:55 UTC
Context:
Build Configuration:
BB_VERSION        = "1.19.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "SUSE-LINUX-12.2"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "minnow"
DISTRO            = "poky-lsb"
DISTRO_VERSION    = "1.4+snapshot-20130605"
TUNE_FEATURES     = "m32 core2"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "master:a62aed41f2d8f874f7ae24d0e5be5dbc66ea2199"
meta-minnow       = "master:0d428f867ffdf83dd35803c7318180751ddb096f"
meta-intel        
meta-tlk          = "master:24d63bd57269f3142c57c2d697c56101f73b23dc"
meta-qt3          = "master:4c27cce6688aa39852f3cba5e7b80ec279019605"

Issue:

| Note: to be installed:  ethtool@core2 alsa-utils@core2 packagegroup-core-tools-testapps@minnow packagegroup-base-extended@minnow va-intel@core2 packagegroup-core-basic@all packagegroup-core-sdk@all packagegroup-core-ssh-openssh@all rpm-postinsts@all psplash@core2 packagegroup-core-eclipse-debug@all dmidecode@core2 packagegroup-core-lsb@all packagegroup-core-tools-profile@minnow pciutils@core2 packagegroup-core-standalone-sdk-target@all packagegroup-core-tools-debug@minnow packagegroup-core-boot@minnow kernel-dev@minnow locale-base-en-us@core2 locale-base-en-gb@core2
| Loading cache...
| Updating cache...               ######################################## [100%]
| 
| Computing transaction...error: Can't install emgd-driver-1.16-r0@core2: no package provides xorg-abi-video-8
| 
| Saving cache...
| 
| ERROR: Function failed: do_rootfs (log file is located at /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/minnow-lsb/build/build/tmp/work/minnow-poky-linux/core-image-lsb-sdk/1.0-r0/temp/log.do_rootfs.11755)
NOTE: recipe core-image-lsb-sdk-1.0-r0: task do_rootfs: Failed
ERROR: Task 41 (/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/minnow-lsb/build/meta/recipes-extended/images/core-image-lsb-sdk.bb, do_rootfs) failed with exit code '1'
NOTE: recipe core-image-lsb-dev-1.0-r0: task do_rootfs: Succeeded
NOTE: Tasks Summary: Attempted 7923 tasks of which 6403 didn't need to be rerun and 1 failed.
Comment 1 Darren Hart 2013-06-05 15:37:19 UTC
THe following builds core-image-minimal, core-image-sato, and core-image-sato-sdk for me. I haven't tried poky-lsb and core-image-lsb-dev. Do you see this with any other images and DISTRO=poky? Or is this limited to poky-lsb?

Build Configuration:
BB_VERSION        = "1.19.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-11.10"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "minnow"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4+snapshot-20130604"
TUNE_FEATURES     = "m32 core2"
TARGET_FPU        = ""
meta-yocto        = "master:14010b4a60072641bab62c761edffc51148ae6e9"
meta-minnow       = "master:0d428f867ffdf83dd35803c7318180751ddb096f"
meta-intel        = "master:24d63bd57269f3142c57c2d697c56101f73b23dc"
meta              = "master:14010b4a60072641bab62c761edffc51148ae6e9"


Why do you not have branches and commit IDs listed for meta, meta-yocto, and meta-intel in the Build Configuration listed?
Comment 2 Saul Wold 2013-06-05 21:55:14 UTC
Darren for the branch:git hash only prints the last one when they are shared in layers.

meta
meta-yocto
meta-yocto-bsp    = "master:a62aed41f2d8f874f7ae24d0e5be5dbc66ea2199"

meta-intel        
meta-tlk          = "master:24d63bd57269f3142c57c2d697c56101f73b23dc"
Comment 3 Beth Flanagan 2013-06-05 22:04:30 UTC
I'm not sure where you're getting that info from Darren. Last minnow-lsb build, just as an fyi:

http://autobuilder.yoctoproject.org:8011/builders/minnow-lsb/builds/3

auto.conf:

DISTRO = "poky-lsb"
PACKAGE_CLASSES = "package_rpm package_deb package_ipk"
BB_NUMBER_THREADS = "16"
PARALLEL_MAKE = "-j 16"
SDKMACHINE ?= "x86-64"
DL_DIR = "/srv/www/vhosts/autobuilder.yoctoproject.org/current_sources"
LICENSE_FLAGS_WHITELIST = "license_emgd-driver-bin" 
SSTATE_DIR ?= "/srv/www/vhosts/sstate.yoctoproject.org//" 
MACHINE = "minnow"
PREMIRRORS = ""
BB_GENERATE_MIRROR_TARBALLS = "1"
ADTREPO = "http://adtrepo.yoctoproject.org//1.4+snapshot"

LCONF_VERSION = "6" 
BBPATH = "${TOPDIR}" 
BBFILES ?="" 
BBLAYERS += " \ 
/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/minnow-lsb/build/meta \ 
/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/minnow-lsb/build/meta-yocto \ 
/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/minnow-lsb/build/meta-yocto-bsp \ 
/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/minnow-lsb/build/meta-minnow \ 
/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/minnow-lsb/build/meta-intel \ 
/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/minnow-lsb/build/meta-intel/meta-tlk \ 
/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/minnow-lsb/build/meta-qt3 \ 
"

BB_VERSION        = "1.19.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "SUSE-LINUX-12.2"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "minnow"
DISTRO            = "poky-lsb"
DISTRO_VERSION    = "1.4+snapshot-20130605"
TUNE_FEATURES     = "m32 core2"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "master:a62aed41f2d8f874f7ae24d0e5be5dbc66ea2199"
meta-minnow       = "master:0d428f867ffdf83dd35803c7318180751ddb096f"
meta-intel        
meta-tlk          = "master:24d63bd57269f3142c57c2d697c56101f73b23dc"
meta-qt3          = "master:4c27cce6688aa39852f3cba5e7b80ec279019605"
Comment 5 Nitin Kamble 2013-06-06 02:33:49 UTC
sent a fix on oecore ML for review
Comment 6 Nitin Kamble 2013-06-06 02:48:44 UTC
BTW this is not necessarily a x86 issue, this can happen with non x86 BSPs too.

Nitin
Comment 7 Nitin Kamble 2013-06-17 16:12:33 UTC
Following commit in meta-intel fixes the issue.

commit edf3ef3cca449c7a631bab3fd0fed580378629e9
Author: Nitin A Kamble <nitin.a.kamble@intel.com>
Date:   Mon Jun 10 14:20:20 2013 -0700

    emgd-driver-bin: add xserver-xorg to RDEPENDS
    
    When any package using libraries provided by the emgd-driver-bin recipe,
    is included in a image (such as: tools-testapps), the rootfs generation
    process encounters an error mentioned below.
    
    The code for checking the abi version of the xorg xserver needs xorg
    xserver recipe included in the image. Otherwise it gets following rootfs
    generation error:
    
    | Computing transaction...error: Can't install
    emgd-driver-1.16-r0@core2: no package provides xorg-abi-video-8
    
    Fix the issue by marking xserver-xorg as a dependency of the
    emgd-driver-bin recipe.
    
    Fixes this bug:
    [YOCTO #4615]
    
    Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
    Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>