<?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>12334</bug_id>
          
          <creation_ts>2017-11-10 13:04:10 +0000</creation_ts>
          <short_desc>buildhistory-diff misreports RPROVIDES</short_desc>
          <delta_ts>2018-04-06 13:22:12 +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>2.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>2.5 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Amanda Brindle">amanda.r.brindle</assigned_to>
          <cc>ross.burton</cc>
    
    <cc>stephano</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>78139</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-11-10 13:04:10 +0000</bug_when>
    <thetext>buildhistory-diff has started reporting that RPROVIDES has changed order:

$ buildhistory-diff | grep RPROVIDES
packages/corei7-64-poky-linux/harfbuzz/harfbuzz-bin: RPROVIDES: changed order
packages/corei7-64-poky-linux/harfbuzz/harfbuzz-dbg: RPROVIDES: changed order
packages/corei7-64-poky-linux/harfbuzz/harfbuzz-dev: RPROVIDES: changed order
packages/corei7-64-poky-linux/harfbuzz/harfbuzz-doc: RPROVIDES: changed order
packages/corei7-64-poky-linux/harfbuzz/harfbuzz-icu-dev: RPROVIDES: changed order
packages/corei7-64-poky-linux/harfbuzz/harfbuzz-icu: RPROVIDES: changed order
packages/corei7-64-poky-linux/harfbuzz/harfbuzz-locale: RPROVIDES: changed order
packages/corei7-64-poky-linux/harfbuzz/harfbuzz-staticdev: RPROVIDES: changed order
packages/corei7-64-poky-linux/harfbuzz/harfbuzz: RPROVIDES: changed order

But the actual change in buildhistory is:

-RPROVIDES = harfbuzz-bin (=1.4.8)
+RPROVIDES = harfbuzz-bin (=1.6.3)
-RPROVIDES = harfbuzz-dbg (=1.4.8)
+RPROVIDES = harfbuzz-dbg (=1.6.3)
-RPROVIDES = harfbuzz-dev (=1.4.8)
+RPROVIDES = harfbuzz-dev (=1.6.3)
-RPROVIDES = harfbuzz-doc (=1.4.8)
+RPROVIDES = harfbuzz-doc (=1.6.3)

The order hasn&apos;t changed, the version has which is to be expected and should be ignored.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78729</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-12-18 22:48:09 +0000</bug_when>
    <thetext>Right - the assumption of the code if no items are added or removed is that the list has changed order, I guess I erroneously assumed versions weren&apos;t in the list when I wrote this. We could just exclude those from the comparison if they&apos;ve increased - in fact I thought we were doing that already in compare_pkg_lists() so that part is unclear to me; we&apos;re certainly using bb.utils.explode_dep_versions2() there to get the versions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80153</commentid>
    <comment_count>2</comment_count>
    <who name="Amanda Brindle">amanda.r.brindle</who>
    <bug_when>2018-04-06 13:22:12 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?id=4cbd560eca64325fe2b61642b5868ca2d0fa7dd4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>