Bug 5699 - emenlow-noemgd build failed with kernel 3.8
Summary: emenlow-noemgd build failed with kernel 3.8
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6 M3
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-01-03 08:54 UTC by Yi Zhao
Modified: 2014-03-06 22:46 UTC (History)
4 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 Yi Zhao 2014-01-03 08:54:37 UTC
Git rev: 
poky: master/17aa50645015a149298e78a175bbd3cbf171df22
meta-intel: master/2be655a691b3a5f698113ed77d3fac6b16ea5337

Emenlow-noemgd build failed with kernel 3.8:
########################
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_patch (log file is located at /buildarea/poky/build-emenlow/tmp/work/emenlow_noemgd-poky-linux/linux-yocto/3.8.13+gitAUTOINC+467a74c47b_f20047520a-r4.2/temp/log.do_patch.22591)
ERROR: Logfile of failure stored in: /buildarea/poky/build-emenlow/tmp/work/emenlow_noemgd-poky-linux/linux-yocto/3.8.13+gitAUTOINC+467a74c47b_f20047520a-r4.2/temp/log.do_patch.22591
Log data follows:
| DEBUG: Executing shell function do_patch
| Deleted branch meta-temp (was 37fdb0c).
| WARNING: addon feature "features/drm-gma500/drm-gma600" was not found
| ERROR: required features were not found. aborting
| ERROR. Could not update standard/emenlow
| WARNING: /buildarea/poky/build-emenlow/tmp/work/emenlow_noemgd-poky-linux/linux-yocto/3.8.13+gitAUTOINC+467a74c47b_f20047520a-r4.2/temp/run.do_patch.22591:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_patch (log file is located at /buildarea/poky/build-emenlow/tmp/work/emenlow_noemgd-poky-linux/linux-yocto/3.8.13+gitAUTOINC+467a74c47b_f20047520a-r4.2/temp/log.do_patch.22591)
ERROR: Task 73 (/buildarea/poky/meta/recipes-kernel/linux/linux-yocto_3.8.bb, do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1167 tasks of which 12 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
####################

I diffed the linux-yocto_3.10.bbappend and linux-yocto_3.8.bbappend, looks like it should be drm-gma500.
######################
$ cd ./meta-intel/meta-emenlow/recipes-kernel/linux
$ grep "drm-gma" ./* -rnIi
./linux-yocto-dev.bbappend:11:KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma600"
./linux-yocto_3.10.bbappend:11:KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma500"
./linux-yocto_3.4.bbappend:11:KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma600"
./linux-yocto_3.8.bbappend:11:KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma600"
##################
Comment 1 Darren Hart 2014-01-09 15:43:02 UTC
Nitin, please have a look. As a rule 3.8 is no longer supported. I realize emenlow has the poulsbo dependency. Will we be supporting emenlow in 1.6 and forward?
Comment 2 Nitin Kamble 2014-01-16 22:14:20 UTC
Took a look, the gma600 feature is merged into the gma500 feature on the linux-yocto repositories. Sending a fix for this soon.
Comment 3 Nitin Kamble 2014-03-06 22:46:32 UTC
commit d8c1d14f9e0a87a0b4357b8764a0df40cc22f789
Author: Nitin A Kamble <nitin.a.kamble@intel.com>
Date:   Thu Jan 16 14:05:52 2014 -0800

    meta-emenlow: Fix gma500 kernel feature name for v3.8 & dev kernels
    
    The gma600 feature has been merged into the gma500 feature in the
    linux-yocto kernel repository.  The kernel recipes need to use the
    gma500 feature instead of the removed gma600 feature.
    
    Fixes bug:
    [YOCTO #5699]
    
    Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
    Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>