<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9047</bug_id>
          
          <creation_ts>2016-02-04 08:31:19 +0000</creation_ts>
          <short_desc>Yocto 2.1M2rc1: (meta-yocto)Using_the_Yocto_BSP_tools_to_create_a_meta-intel_BSP case failed</short_desc>
          <delta_ts>2016-05-09 07:31:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ke Zou">ke.zou</reporter>
          <assigned_to name="Mariano Lopez">mariano.lopez</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>mariano.lopez</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>valentinx.hangan</cc>
    
    <cc>yi.zhao</cc>
          
          <qa_contact name="Valentin Hangan">valentinx.hangan</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>58527</commentid>
    <comment_count>0</comment_count>
    <who name="Ke Zou">ke.zou</who>
    <bug_when>2016-02-04 08:31:19 +0000</bug_when>
    <thetext>Test configuration:
meta-intel : b42a7e91320a75871b30ec851d6ec02711bbad0d 
poky : 3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c 

When bitbake core-image-minimal, build error occurs.

Case how-to:
https://wiki.yoctoproject.org/wiki/Transcript:_Using_the_Yocto_BSP_tools_to_create_a_meta-intel_BSP

Follow the case instructions step by step:

...
create a myintelbsp based on x86-64 using yocto-bsp tool
bitbake core-image-minimal
...

error log:

############################################################
The test arch is: myintelbsp x86_64
############################################################


############################################################
Start to test case 311: create a new Intel BSP
############################################################

Checking basic git connectivity...
Done.

Would you like to use the default (4.1) kernel? (y/n) [default: y] Which machine tuning would you like to use? [default: tune_core2]
	1) Core2 tuning optimizations
	2) Corei7 tuning optimizations
Do you need support for X? (y/n) [default: y] Please select an xserver for this machine: [default: xserver_i915]
	1) VESA xserver support
	2) i915 xserver support
	3) i965 xserver support
	4) fbdev xserver support
	5) modesetting xserver support
Does your BSP have a touchscreen? (y/n) [default: n] Does your BSP have a keyboard? (y/n) [default: y] 
New x86_64 BSP created in meta-myintelbsp
Create new intel bsp myintelbsp success

############################################################
The test arch is: myintelbsp
############################################################

The configure file is /buildarea/jenkins-yocto/workspace/Yocto2.1-yocto-bsp_create_intel_bsp/build/conf/auto.conf

############################################################
Start to build the image core-image-minimal for myintelbsp
############################################################

ERROR: Nothing PROVIDES &apos;virtual/kernel&apos;
ERROR: linux-dummy PROVIDES virtual/kernel but was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-dummy
ERROR: linux-yocto-rt PROVIDES virtual/kernel but was skipped: incompatible with machine myintelbsp (not in COMPATIBLE_MACHINE)
ERROR: linux-yocto-rt PROVIDES virtual/kernel but was skipped: incompatible with machine myintelbsp (not in COMPATIBLE_MACHINE)
ERROR: linux-yocto-dev PROVIDES virtual/kernel but was skipped: incompatible with machine myintelbsp (not in COMPATIBLE_MACHINE)
ERROR: linux-yocto-tiny PROVIDES virtual/kernel but was skipped: incompatible with machine myintelbsp (not in COMPATIBLE_MACHINE)
ERROR: linux-yocto PROVIDES virtual/kernel but was skipped: incompatible with machine myintelbsp (not in COMPATIBLE_MACHINE)
ERROR: linux-yocto-tiny PROVIDES virtual/kernel but was skipped: incompatible with machine myintelbsp (not in COMPATIBLE_MACHINE)
ERROR: linux-yocto PROVIDES virtual/kernel but was skipped: incompatible with machine myintelbsp (not in COMPATIBLE_MACHINE)
ERROR: Required build target &apos;core-image-minimal&apos; has no buildable providers.
Missing or unbuildable dependency chain was: [&apos;core-image-minimal&apos;, &apos;virtual/kernel&apos;]
Bitbake core-image-minimal for myintelbsp failed
Build step &apos;Execute shell&apos; marked build as failure
Triggering a new build of Yocto2.1-kernel_module_compilation_crosstap #4
Collecting metadata...
Metadata collection done.
Notifying upstream projects of job completion
Finished: FAILURE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59247</commentid>
    <comment_count>1</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2016-02-19 07:54:03 +0000</bug_when>
    <thetext>This issue still exists on 2.1_M2 rc3 build.
git rev: master/152914f2983c5d69001de1d46ce99547fa1e75fe</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59626</commentid>
    <comment_count>2</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2016-03-02 15:14:44 +0000</bug_when>
    <thetext>It seems the problem is when using the default options the kernel_choice is set to &quot;linux-yocto_3.19&quot;, but all the options are looking for &quot;&quot;linux-yocto_4.1&quot;, I have found this dumping the code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59629</commentid>
    <comment_count>3</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2016-03-02 16:20:43 +0000</bug_when>
    <thetext>Sent patch to the mailing list:

http://lists.openembedded.org/pipermail/openembedded-core/2016-March/118427.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59847</commentid>
    <comment_count>4</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2016-03-09 23:03:16 +0000</bug_when>
    <thetext>This has been solved with commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a27ca6da59e6939a5bbab641236f7f792c03694f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62033</commentid>
    <comment_count>5</comment_count>
    <who name="Valentin Hangan">valentinx.hangan</who>
    <bug_when>2016-05-09 07:31:35 +0000</bug_when>
    <thetext>Test configuration:
meta-intel : 91ffb8144c11c391ea3f62ce2a59a49e0f1cb01c
poky : f7b520878babbaa7527151f22c031ae160512753

Follow the case instructions step by step:
https://wiki.yoctoproject.org/wiki/Transcript:_Using_the_Yocto_BSP_tools_to_create_a_meta-intel_BSP 

Start to build the image core-image-minimal for myintelbsp:

 bitbake core-image-minimal
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/libva/libva-intel-driver_1.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead. ETA:  --:--:--
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/libva/libva-intel-driver_1.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-graphics/xorg-driver/xf86-video-mga_1.6.4.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/libva/libva_1.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/libva/libva_1.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/libva/libva-intel-driver_1.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/libva/libva_1.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/libva/libva_1.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/libva/libva-intel-driver_1.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-graphics/xorg-driver/xf86-video-mga_1.6.4.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/libva/va-intel.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/valentin/poky/meta-intel/common/recipes-multimedia/libva/va-intel.bb: base_contains is deprecated, please use bb.utils.contains instead.
Parsing recipes: 100% |############################################################################################################################################| Time: 00:00:12
Parsing of 886 .bb files complete (0 cached, 886 parsed). 1317 targets, 50 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = &quot;1.31.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;universal&quot;
TARGET_SYS        = &quot;x86_64-poky-linux&quot;
MACHINE           = &quot;myintelbsp&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;2.1+snapshot-20160506&quot;
TUNE_FEATURES     = &quot;m64 core2&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-poky         
meta-yocto-bsp    = &quot;master:f7b520878babbaa7527151f22c031ae160512753&quot;
meta-intel        = &quot;master:91ffb8144c11c391ea3f62ce2a59a49e0f1cb01c&quot;
meta-myintelbsp   = &quot;master:f7b520878babbaa7527151f22c031ae160512753&quot;

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: linux-yocto-4.4.3+gitAUTOINC+9ab4787fe2_b18090556c-r0.1 do_patch: After meta data application, the kernel tree branch is standard/myintelbsp. The
WARNING: linux-yocto-4.4.3+gitAUTOINC+9ab4787fe2_b18090556c-r0.1 do_patch: SRC_URI specified branch standard/base. The branch will be forced to standard/base,
WARNING: linux-yocto-4.4.3+gitAUTOINC+9ab4787fe2_b18090556c-r0.1 do_patch: but this means the board meta data (.scc files) do not match the SRC_URI specification.
WARNING: linux-yocto-4.4.3+gitAUTOINC+9ab4787fe2_b18090556c-r0.1 do_patch: The meta data and branch standard/base should be inspected to ensure the proper
WARNING: linux-yocto-4.4.3+gitAUTOINC+9ab4787fe2_b18090556c-r0.1 do_patch: kernel is being built.
NOTE: Tasks Summary: Attempted 2394 tasks of which 15 didn&apos;t need to be rerun and all succeeded.

Summary: There were 5 WARNING messages shown.


Close this bug as VERIFIED - FIXED</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>