<?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>5741</bug_id>
          
          <creation_ts>2014-01-18 03:11:17 +0000</creation_ts>
          <short_desc>BB_SIGNATURE_HANDLER = &quot;noop&quot; doesn&apos;t work</short_desc>
          <delta_ts>2014-02-07 06:07:32 +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.6</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>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>mark.hatle</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</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>39916</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2014-01-18 03:11:17 +0000</bug_when>
    <thetext>Set:

BB_SIGNATURE_HANDLER = &quot;noop&quot;

Then we will get the following errors:

  File &quot;/build/poky-new/bitbake/lib/bb/runqueue.py&quot;, line 876, in RunQueue._start_worker(fakeroot=False, rqexec=None):
                 &quot;fakerootnoenv&quot; : self.rqdata.dataCache.fakerootnoenv,
    &gt;            &quot;hashes&quot; : bb.parse.siggen.taskhash,
                 &quot;hash_deps&quot; : bb.parse.siggen.runtaskdeps,
AttributeError: &apos;SignatureGenerator&apos; object has no attribute &apos;taskhash&apos;

This patch *seems* fix the problem, will send it to mailing list sooner:

diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index bc96fd3..a45fc4c 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -34,6 +34,9 @@ class SignatureGenerator(object):
     name = &quot;noop&quot;
 
     def __init__(self, data):
+        self.taskhash = {}
+        self.runtaskdeps = {}
+        self.file_checksum_values = {}
         return
 
     def finalise(self, fn, d, varient):
@@ -42,7 +45,7 @@ class SignatureGenerator(object):
     def get_taskhash(self, fn, task, deps, dataCache):
         return &quot;0&quot; 
 
-    def set_taskdata(self, hashes, deps):
+    def set_taskdata(self, hashes, deps, checksum):
         return
 
     def stampfile(self, stampbase, file_name, taskname, extrainfo):</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40223</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2014-02-07 06:07:32 +0000</bug_when>
    <thetext>Merged into master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d955d6a8f52edcffe3c81af7b01f2e3843dbe432</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>