<?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>4447</bug_id>
          
          <creation_ts>2013-05-02 14:48:14 +0000</creation_ts>
          <short_desc>The cache checksum for the base configuration does not change when the task data variable changes</short_desc>
          <delta_ts>2013-05-03 18:08:41 +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>OE-Core</product>
          <component>core</component>
          <version>1.5</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laurentiu Palcu">laurentiu.palcu</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>32848</commentid>
    <comment_count>0</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-05-02 14:48:14 +0000</bug_when>
    <thetext>While working on an archiver issue, it was observed that changing the task data variable in a certain class did not produce the correct behavior. It can be reproduced by changing any &quot;addtask&quot; line anywhere in bitbake, but this what I&apos;ve been playing with:

1. Add the following in the local.conf:
ARCHIVER_MODE ?= &quot;original&quot;
ARCHIVER_MODE[type] ?= &quot;tar&quot;
ARCHIVER_MODE[log_type] ?= &quot;logs_with_scripts&quot;
ARCHIVER_MODE[filter] = &quot;no&quot;
ARCHIVER_CLASS = &quot;${@&apos;archive-${ARCHIVER_MODE}-source&apos; if ARCHIVER_MODE != &apos;none&apos; else &apos;&apos;}&quot;
INHERIT += &quot;${ARCHIVER_CLASS}&quot;

2. in archive-original-source.bbclass, change the following line:
-addtask do_dumpdata_create_diff_gz
+addtask do_dumpdata_create_diff_gz before do_rootfs

3. do a bitbake -g core-image-sato

4. run `cat task-depends.dot |grep do_rootfs|grep create`

Expected result:
&quot;core-image-sato.do_rootfs&quot; -&gt; &quot;core-image-sato.do_dumpdata_create_diff_gz&quot;

Actual result:
The command will not output anything</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32849</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-05-02 14:49:47 +0000</bug_when>
    <thetext>One additional comment: if tmp/cache directory is removed, the task dependencies will be computed correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32878</commentid>
    <comment_count>2</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-05-03 18:08:41 +0000</bug_when>
    <thetext>Patch merged to master:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6db202532122b213ae6cfce9a49ac9fad2db20f5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>