<?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>11763</bug_id>
          
          <creation_ts>2017-07-06 13:32:42 +0000</creation_ts>
          <short_desc>bitbake-diffsigs: -t matches wrong task signature files</short_desc>
          <delta_ts>2017-11-06 00:23:42 +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>Scripts and Tools</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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick Ohly">patrick.ohly</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>ross.burton</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>74807</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Ohly">patrick.ohly</who>
    <bug_when>2017-07-06 13:32:42 +0000</bug_when>
    <thetext>$ bitbake-diffsigs -d -t refkit-image-update-test-a do_rootfs
DEBUG: Signature file (previous): /fast/build/refkit/intel-corei7-64/sstate-cache/31/sstate:refkit-image-update-test-a:intel_corei7_64-refkit-linux:1.0:r0:intel_corei7_64:3:31cb4664537f2b75bd56fb3ab27b4372_ostree_prepare_rootfs.tgz.siginfo
DEBUG: Signature file (latest): /fast/build/refkit/intel-corei7-64/sstate-cache/19/sstate:refkit-image-update-test-a:intel_corei7_64-refkit-linux:1.0:r0:intel_corei7_64:3:19d0014c03c3d8773ffaa1416f579616_ostree_publish_rootfs.tgz.siginfo
...


Note how it picked up two siginfo files for two different tasks, both not being the do_rootfs that was meant to be compared. The actual diff then really is between two completely independent tasks.

Probably the code which looks for siginfo files uses *&lt;task name&gt; as file pattern, without taking into account that one task may be the suffix of another.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77970</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-11-06 00:23:42 +0000</bug_when>
    <thetext>Fix merged to master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d4fd7e2aa1ee1192e17d494faa52f4d52d041544</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>