<?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>7564</bug_id>
          
          <creation_ts>2015-04-02 23:16:36 +0000</creation_ts>
          <short_desc>bitbake: runqueue passes non-finalized metadata to setscene callbacks</short_desc>
          <delta_ts>2015-04-08 21:33:46 +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>unspecified</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="Christopher Larson">kergoth</reporter>
          <assigned_to name="Christopher Larson">kergoth</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>50062</commentid>
    <comment_count>0</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2015-04-02 23:16:36 +0000</bug_when>
    <thetext>The bitbake runqueue passes non-finalized metadata to setscene callbacks, but finalized metadata ends up used when the setscene task is executed. As a result, when using an override with SSTATE_DIR, it can look for setscenes in one location, find them, and then try to extract them from another, or fail to find them in one location even though they&apos;re available in the other.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50064</commentid>
    <comment_count>1</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2015-04-02 23:21:59 +0000</bug_when>
    <thetext>Aside: why do some areas of bb.runqueue reference self.cooker.data directly, while others use self.cfgData?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50065</commentid>
    <comment_count>2</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2015-04-02 23:25:17 +0000</bug_when>
    <thetext>Test case:
$ cat &gt;conf/auto.conf &lt;&lt;END
SSTATE_DIR = &quot;${TOPDIR}/sstate-cache.nooverride&quot;
SSTATE_DIR_forcevariable = &quot;${TOPDIR}/sstate-cache.override&quot;
END
$ rm -rf tmp sstate-cache.override sstate-cache.nooverride
$ bitbake --no-setscene -c populate_sysroot quilt-native
$ rm -rf tmp
$ bitbake -c populate_sysroot quilt-native # this builds from scratch, when it shouldn&apos;t, as sstate was written to override, but not to the checked path, nooverride</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50066</commentid>
    <comment_count>3</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2015-04-02 23:26:50 +0000</bug_when>
    <thetext>Initial testing indicates https://gist.github.com/kergoth/e9a46893fc4e9f1afaa7 resolves this, doing further testing before upstream submission.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50084</commentid>
    <comment_count>4</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2015-04-03 22:05:56 +0000</bug_when>
    <thetext>Patch emailed to the bitbake-devel list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50159</commentid>
    <comment_count>5</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2015-04-08 21:33:46 +0000</bug_when>
    <thetext>Richard merged this, so resolving.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>