<?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>7772</bug_id>
          
          <creation_ts>2015-05-16 09:52:26 +0000</creation_ts>
          <short_desc>bitbake -w option triggers FetchError</short_desc>
          <delta_ts>2016-02-16 13:04:45 +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>BitBake</product>
          <component>bitbake</component>
          <version>1.9</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 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="Daniel Istrate">daniel.alexandrux.istrate</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Unknown (Hard to categorize)</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>51056</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-05-16 09:52:26 +0000</bug_when>
    <thetext>Looking at any autobuilder log (e.g. https://autobuilder.yoctoproject.org/main/builders/nightly-arm/builds/303/steps/BuildImages/logs/stdio) we see:

NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = &quot;1.27.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;CentOS-6.6&quot;
TARGET_SYS        = &quot;arm-poky-linux-gnueabi&quot;
MACHINE           = &quot;qemuarm&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.8+snapshot-20150515&quot;
TUNE_FEATURES     = &quot;arm armv5 thumb dsp&quot;
TARGET_FPU        = &quot;soft&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master-next:3cca4fa0d9541d87d8f53c2544bfbef171caa20b&quot;
meta-qt3          = &quot;master:3016129d90b7ac8517a5227d819f10ad417b5b45&quot;

Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
NOTE: Preparing RunQueue

Note the FetchError. This only occurs when the -w option is passed to bitbake (and this occurs locally too).

We need to find a way to remove this error message.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58925</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-02-11 21:01:09 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8b5ee367a630027d478aed265ee79a7230e91673</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59099</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2016-02-16 13:04:45 +0000</bug_when>
    <thetext>Verified on master: da13f0bce5d1b3c52f5716ae8d104372a820e5f9

Steps:
1. $ git checkout 947e5260f9f3a68e51ccc456610bad9a8b200224
2. $ bitbake ed -w WRITEEVENTLOG
Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
3. $ git checkout master
4. $ bitbake ed -w WRITEEVENTLOG --&gt; build successfully</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>