<?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>13414</bug_id>
          
          <creation_ts>2019-06-20 07:29:12 +0000</creation_ts>
          <short_desc>Build failed when using kernel recipe from linux-intel-dev</short_desc>
          <delta_ts>2019-07-09 01:37:03 +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>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>2.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="siddharth">siddharth.ajitx.waikar</reporter>
          <assigned_to name="Anuj Mittal">anuj.mittal</assigned_to>
          <cc>naveen.kumar.saini</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tim.orling</cc>
          
          
          <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>84257</commentid>
    <comment_count>0</comment_count>
    <who name="siddharth">siddharth.ajitx.waikar</who>
    <bug_when>2019-06-20 07:29:12 +0000</bug_when>
    <thetext>Hello,

We are facing build issue when using kernel recipe from 
build issue found in Kernel Recipe git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=warrior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84286</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-06-20 14:51:38 +0000</bug_when>
    <thetext>Please explain what you&apos;re building, how, and what the failures are.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84309</commentid>
    <comment_count>2</comment_count>
    <who name="siddharth">siddharth.ajitx.waikar</who>
    <bug_when>2019-06-24 05:28:09 +0000</bug_when>
    <thetext>Hi,

The build issue is faced in kernel Intel Mainline production tracking V5.1
I am building yocto bsp image with following layers. 

1. Poky (Warrior branch): Yocto Project v2.7 (http://downloads.yoctoproject.org/releases/yocto/yocto-2.7/poky-warrior-21.0.0.tar.bz2) 
2. meta-intel (warrior branch): meta-intel-11.0-warrior-2.7 (http://downloads.yoctoproject.org/releases/yocto/yocto-2.7/meta-intel-11.0-warrior-2.7.tar.bz2) 
3. The recipe file from meta-intel../ linux-intel-dev.bb already support Intel Production Mainline Tracking v5.1  
- After adding meta-intel layer, started building yocto project using bitbake command. After intimidate execution stop with following errors. 

==================================================================================================================================

   WARNING: linux-intel-dev-5.1.0+gitAUTOINC+b8bce20786_abcfe412cc-r0 do_fetch: Failed to fetch URL git://github.com/intel/mainline-tracking.git;protocol=https;ng-v5.1-base-190507T222411Z;, attempting MIRRORS if available
ERROR: linux-intel-dev-5.1.0+gitAUTOINC+b8bce20786_abcfe412cc-r0 do_fetch: Fetcher failure: Unable to find revision abcfe412cc5140d20a592965744c050fd3cc3d19 eam
ERROR: linux-intel-dev-5.1.0+gitAUTOINC+b8bce20786_abcfe412cc-r0 do_fetch: Fetcher failure for URL: &apos;git://github.com/intel/mainline-tracking.git;protocol=htacking-v5.1-base-190507T222411Z;&apos;. Unable to fetch URL from any source.
ERROR: linux-intel-dev-5.1.0+gitAUTOINC+b8bce20786_abcfe412cc-r0 do_fetch:
ERROR: linux-intel-dev-5.1.0+gitAUTOINC+b8bce20786_abcfe412cc-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/ilab/WW22/yocto_build/build/tmp/work/corei7-64-intel-common-poky-linux/linux-intel-dev/5.1.0+gitAUTOINC+b8bce20786.18204
ERROR: Task (/home/ilab/WW22/meta-intel-11.0-warrior-2.7/recipes-kernel/linux/linux-intel-dev.bb:do_fetch) failed with exit code &apos;1&apos;

====================================================================================================================================

4. From above error it&apos;s clear that bitbake failed to fetch specified commit from git://github.com/intel/mainline-tracking.git;protocol=https;ng-v5.1-base-190507T222411Z.  But If I clone manually then able to fetch same commit. 

Workaround: 

 I have modified the SRC_URI to fetch from nobranch and it works. 

 SRC_URI=git://github.com/intel/mainline-tracking.git;protocol=https;name=machine;nobranch=1;  --&gt; // Added nobranch=1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84388</commentid>
    <comment_count>3</comment_count>
    <who name="Anuj Mittal">anuj.mittal</who>
    <bug_when>2019-07-09 01:37:03 +0000</bug_when>
    <thetext>This has been fixed in meta-intel master/warrior.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>