<?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>8968</bug_id>
          
          <creation_ts>2016-01-21 10:46:56 +0000</creation_ts>
          <short_desc>Issue with RPM4 and do_rootfs</short_desc>
          <delta_ts>2016-03-22 12:42:07 +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>devtools / tool chain</component>
          <version>2.0.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</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</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="condo4">fabien.proriol</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>58049</commentid>
    <comment_count>0</comment_count>
    <who name="condo4">fabien.proriol</who>
    <bug_when>2016-01-21 10:46:56 +0000</bug_when>
    <thetext>Hello,

If I try to build a Jethro filesystem with RPM4 (using comments RPM4 in local.conf), do_rrotfs failed because for each rpm, RPM say that operating system is not the good one.

I fixed for me this issue by add rpm.RPMPROB_FILTER_IGNOREOS in smart-rpm4-fixes.patch :

......
+            probfilter |= rpm.RPMPROB_FILTER_IGNOREARCH
+            probfilter |= rpm.RPMPROB_FILTER_IGNOREOS
+
         if force or reinstall:
......

For information, my architecture is cortexa9-vfp-neon and rpm file extention is .cortexa9_vfp_neon.rpm

I don&apos;t know if this issue is due to a miss configuration on my side, or, a real bug in Yocto.
If someone have the same issue, I can propose the fix on the mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58184</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-01-25 14:34:35 +0000</bug_when>
    <thetext>I can&apos;t reproduce this using stock OE Core master. Can you share which DISTRO and MACHINE you&apos;re using, as well as anything else you think might help me to reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58187</commentid>
    <comment_count>2</comment_count>
    <who name="condo4">fabien.proriol</who>
    <bug_when>2016-01-25 14:51:19 +0000</bug_when>
    <thetext>I use own distro and a machine based on zynq CPU...

My machine conf file contains:

require conf/machine/include/tune-zynq.inc
MACHINE_FEATURES += &quot; zynq &quot;


The distro is neer poky distro config file, but I added RPM4 option to avoid it in local.conf:

PREFERRED_VERSION_rpm = &quot;4.11.2&quot;
PREFERRED_VERSION_rpm-native = &quot;4.11.2&quot;
RPMROOTFSDEPENDS_remove = &quot;rpmresolve-native:do_populate_sysroot&quot;

If I have more time this week, I will try to understand why it&apos;s different that your test...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58405</commentid>
    <comment_count>3</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2016-02-01 22:56:50 +0000</bug_when>
    <thetext>It appears the NEEDINFO has been answered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60284</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-03-22 12:41:42 +0000</bug_when>
    <thetext>As RPM4 was incomplete, buggy and unmaintained we decided to remove it from OE-Core.

We&apos;ll be happy to add it back should someone provide a fully functioning solution, but as we don&apos;t currently have the manpower to develop and maintain that solution its removal was deemed to be the best option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60285</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-03-22 12:42:07 +0000</bug_when>
    <thetext>Should be obsolete, not invalid.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>