<?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>8788</bug_id>
          
          <creation_ts>2015-12-10 18:53:37 +0000</creation_ts>
          <short_desc>Changing RREPLACES does not invalidate sstate signature</short_desc>
          <delta_ts>2016-01-22 08:02:14 +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.7.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>7754</dup_id>
          
          <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="Bevenson">bevenson</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</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>57181</commentid>
    <comment_count>0</comment_count>
    <who name="Bevenson">bevenson</who>
    <bug_when>2015-12-10 18:53:37 +0000</bug_when>
    <thetext>After adding a RREPLACES variable for a recipe, I noticed that bitbake did not rebuild the package.  I tried calling bitbake -c clean and bitbake -c cleansstate before building, and each time the built package did not contain the &quot;Replaces:&quot; line in the Debian control file (I&apos;m using opkg for a package manager).  I then made other changes to the RREPLACES variable and checked the result of &quot;bitbake -c none package&quot; before and after.  The sstate signatures for the package never changed.  I then modified the &quot;inherit&quot; declaration in the recipe. Then the package was fully rebuilt and I could see the &quot;Replaces:&quot; line in the ipk&apos;s control file.

Modifying RREPLACES is not changing the sstate signatures for a package. I am on dizzy-1.7.3, so it may be worth testing with a more recent version to see if this has been fixed by some other change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57184</commentid>
    <comment_count>1</comment_count>
    <who name="Bevenson">bevenson</who>
    <bug_when>2015-12-10 20:04:02 +0000</bug_when>
    <thetext>After some digging around in the classes, I found out that PACKAGEVARS in package.bbclass is missing RREPLACES.  This has been fixed in master with commit ace08a2923117c9fb1f3d232372c433b4bab82d9.  I cherry-picked the commit and verified it fixed my problem.  Closing and marking as a duplicate of #7754.

*** This bug has been marked as a duplicate of bug 7754 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58125</commentid>
    <comment_count>2</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-01-22 08:02:14 +0000</bug_when>
    <thetext>Verified on 8c8c4ede3ff5ac8ca739020d9efed91159acccc1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>