Bug 9047 - Yocto 2.1M2rc1: (meta-yocto)Using_the_Yocto_BSP_tools_to_create_a_meta-intel_BSP case failed
Summary: Yocto 2.1M2rc1: (meta-yocto)Using_the_Yocto_BSP_tools_to_create_a_meta-intel_...
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.1 M4
Assignee: Mariano Lopez
QA Contact: Valentin Hangan
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-04 08:31 UTC by Ke Zou
Modified: 2016-05-09 07:31 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ke Zou 2016-02-04 08:31:19 UTC
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 'virtual/kernel'
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 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'virtual/kernel']
Bitbake core-image-minimal for myintelbsp failed
Build step 'Execute shell' 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
Comment 1 Yi Zhao 2016-02-19 07:54:03 UTC
This issue still exists on 2.1_M2 rc3 build.
git rev: master/152914f2983c5d69001de1d46ce99547fa1e75fe
Comment 2 Mariano Lopez 2016-03-02 15:14:44 UTC
It seems the problem is when using the default options the kernel_choice is set to "linux-yocto_3.19", but all the options are looking for ""linux-yocto_4.1", I have found this dumping the code.
Comment 3 Mariano Lopez 2016-03-02 16:20:43 UTC
Sent patch to the mailing list:

http://lists.openembedded.org/pipermail/openembedded-core/2016-March/118427.html
Comment 4 Mariano Lopez 2016-03-09 23:03:16 UTC
This has been solved with commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a27ca6da59e6939a5bbab641236f7f792c03694f
Comment 5 Valentin Hangan 2016-05-09 07:31:35 UTC
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        = "1.31.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "myintelbsp"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1+snapshot-20160506"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "master:f7b520878babbaa7527151f22c031ae160512753"
meta-intel        = "master:91ffb8144c11c391ea3f62ce2a59a49e0f1cb01c"
meta-myintelbsp   = "master:f7b520878babbaa7527151f22c031ae160512753"

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't need to be rerun and all succeeded.

Summary: There were 5 WARNING messages shown.


Close this bug as VERIFIED - FIXED