<?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>8047</bug_id>
          
          <creation_ts>2015-07-24 14:05:14 +0000</creation_ts>
          <short_desc>Building a packagegroup with rpm5 then rpm4 does not rebuild the package</short_desc>
          <delta_ts>2016-03-30 20:25:39 +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>1.8</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>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</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>52586</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-07-24 14:05:14 +0000</bug_when>
    <thetext>If I build an image with ssh-server-openssh in EXTRA_IMAGE_FEATURES, this causes packagegroup-core-ssh-openssh to be built and included in the image. If I build the image with RPM5 and then switch to RPM4, seemingly all of the other packages get rebuilt with rpm 4.x except for this one. Using bitbake-dumpsig I can see that the signature for packagegroup-core-ssh-openssh&apos;s do_package_write_rpm task does not include rpm-native.do_populate_sysroot, which accounts for this behaviour. Looking at other do_package_write_rpm signatures it seems that it&apos;s just allarch packagegroups that suffer from this - ${MACHINE_ARCH} packagegroups don&apos;t, nor do non-packagegroup allarch recipes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53031</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2015-08-12 16:01:56 +0000</bug_when>
    <thetext>Clearing 2.0 milestone</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60449</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-03-28 17:07:45 +0000</bug_when>
    <thetext>Whilst rpm4 is gone, it would still be good to understand why the rpm-native dependency goes missing...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60450</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-03-28 17:16:51 +0000</bug_when>
    <thetext>diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 4f115e9..5828a9d 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -40,7 +40,7 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache):
     # Only target packages beyond here
 
     # allarch packagegroups are assumed to have well behaved names which don&apos;t change between architecures/tunes
-    if isPackageGroup(fn) and isAllArch(fn):
+    if isPackageGroup(fn) and isAllArch(fn) and not isNative(depname):
         return False  
 
     # Exclude well defined machine specific configurations which don&apos;t change ABI

would appear to fix this...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60550</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-03-30 20:25:39 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b3e4a31cb4e79c601987570d1f49b03fc9781682</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>