<?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>9806</bug_id>
          
          <creation_ts>2016-06-21 13:42:19 +0000</creation_ts>
          <short_desc>sstate doesn&apos;t detect when the recipe filename changes</short_desc>
          <delta_ts>2016-07-29 15:59:10 +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>2.2</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.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</qa_contact>
          <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>63189</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-06-21 13:42:19 +0000</bug_when>
    <thetext>The e2fsprogs recipe was erroneously updated with an extra . in the filename (e2fsprogs_1.4.3..bb) resulting in the PV including a . &quot;1.43.&quot;.

When the recipe was updated to fix the extra . the sstate code didn&apos;t detect that the recipe had been renamed and the PV changed.

The problem is that the PV is determined from the filename but at no time is the determined PV stored and thus it&apos;s not included in the checksum. As the summed variables hadn&apos;t changed in the fixed recipe the previous sstate object, with an incorrect PV, was reused.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63715</commentid>
    <comment_count>1</comment_count>
      <attachid>3274</attachid>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-07-07 12:59:55 +0000</bug_when>
    <thetext>Created attachment 3274
fix

Joshua, can you check if this fix solves the issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63785</commentid>
    <comment_count>2</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-07-11 09:55:29 +0000</bug_when>
    <thetext>The fix has been sent for review: http://lists.openembedded.org/pipermail/openembedded-core/2016-July/123708.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64230</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-20 13:44:44 +0000</bug_when>
    <thetext>Fixed in oe-core 918646ca803d56004fb0ab7c21e86cc9cb14513d.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>3274</attachid>
            <date>2016-07-07 12:59:55 +0000</date>
            <delta_ts>2016-07-07 12:59:55 +0000</delta_ts>
            <desc>fix</desc>
            <filename>file_9806.txt</filename>
            <type>text/plain</type>
            <size>439</size>
            <attacher name="Ed Bartosh">eduard.bartosh</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL21ldGEvY29uZi9iaXRiYWtlLmNvbmYgYi9tZXRhL2NvbmYvYml0YmFrZS5j
b25mDQppbmRleCAxNGI1NmNjLi5kM2FiNzY2IDEwMDY0NA0KLS0tIGEvbWV0YS9jb25mL2JpdGJh
a2UuY29uZg0KKysrIGIvbWV0YS9jb25mL2JpdGJha2UuY29uZg0KQEAgLTIwMCw2ICsyMDAsOCBA
QCBQRiA9ICIke1BOfS0ke0VYVEVORFBFfSR7UFZ9LSR7UFJ9Ig0KIEVYVEVORFBFID0gIiR7QFsn
JywnJHtQRX1fJ11baW50KGQuZ2V0VmFyKCdQRScsIFRydWUpIG9yIDApID4gMF19Ig0KIFAgPSAi
JHtQTn0tJHtQVn0iDQogDQorUFZbdmFyZGVwdmFsdWVdID0gIiR7UFZ9Ig0KKw0KIFBSQVVUTyA9
ICIiDQogRVhURU5EUFJBVVRPID0gIiR7QFsnLiR7UFJBVVRPfScsICcnXVtub3QgZC5nZXRWYXIo
J1BSQVVUTycsIFRydWUpXX0iDQogUFJBVVRPSU5YID0gIiR7UEZ9Ig==
</data>

          </attachment>
      

    </bug>

</bugzilla>