<?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>757</bug_id>
          
          <creation_ts>2011-02-22 22:40:33 +0000</creation_ts>
          <short_desc>[rpm] platform mismatch reported as warning instead of error</short_desc>
          <delta_ts>2012-05-03 01:17:08 +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.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>verified</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Qing He">qing.he</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11975</commentid>
    <comment_count>0</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2011-02-22 22:40:33 +0000</bug_when>
    <thetext>using sato images from 
http://autobuilder.pokylinux.org/nightly/20110212-1/qemu/qemuppc/

and rpm files from 
http://autobuilder.pokylinux.org/nightly/20110212-1/rpm/ppc603e/

1)
# rpm -ivh rpm-dbg-5.4.0-r11.ppc603e.rpm
warning: package rpm-dbg-5.4.0-r11.ppc603e is intended for a ppc603e-pc-linux-gnu platform

where it in fact installs no packages, either it should install the package or it should return an error

2)
# rpm -i rpm-dbg-5.4.0-r11.ppc603e.rpm

without -v option, no error or warning is printed, but the package is not installed

3)
1)
# rpm -ivh --force rpm-dbg-5.4.0-r11.ppc603e.rpm
warning: package rpm-dbg-5.4.0-r11.ppc603e is intended for a ppc603e-pc-linux-gnu platform

--force doesn&apos;t overcome the warning</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12029</commentid>
    <comment_count>1</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-02-23 20:52:59 +0000</bug_when>
    <thetext>also happended on  sato and sato-sdk images in nightly build 20110217-1 from
http://autobuilder.pokylinux.org/nightly/20110217-1/qemu/qemuppc/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12070</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-02-24 08:11:58 +0000</bug_when>
    <thetext>May turn out to be a duplicate of 756...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12098</commentid>
    <comment_count>3</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2011-02-24 18:01:27 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; May turn out to be a duplicate of 756...

The bug is reported against the error message, and &apos;-v&apos; option

a warning is quite misleading at this point, and is omitting &apos;-v&apos; there is nothing reported but silent failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12192</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-03-01 08:21:37 +0000</bug_when>
    <thetext>I am lowering the importance of this issue.  The symptom of a failure -- without showing an error has been fixed by a correction to the rpm &quot;platform&quot; configuration file.  But this bug, as reported, still exists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12727</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-03-16 19:04:02 +0000</bug_when>
    <thetext>Can we please re-verify this issue.

I think it&apos;s been resolved now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20938</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-05-01 16:31:49 +0000</bug_when>
    <thetext>We should test this please.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20974</commentid>
    <comment_count>7</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-05-02 03:05:38 +0000</bug_when>
    <thetext>the error not met on qemuppc sato,sato-sdk image from nightly build 20120423-1(1.2 M4 RC5):
http://autobuilder.pokylinux.org/nightly/20120423-1/machines/qemu/qemuppc/

and rpm package &quot;rpm-dbg-5.4.0-r36.ppc603e.rpm&quot; from: 
http://autobuilder.pokylinux.org/nightly/20120423-1/rpm/ppc603e/

when use following command &quot;rpm -ivh&quot;, &quot;rpm -i&quot;,&quot;rpm -ivh --force&quot; to install the rpm-dbg package on qemuppc sato,sato-sdk image, the package is installed and no warning or error messages met from the output of the commands.

git info : 35196ff703726addf7f4051ee09d70bf9ee0c5d0
git branch : poky/denzil</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20992</commentid>
    <comment_count>8</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2012-05-02 16:24:15 +0000</bug_when>
    <thetext>Based on the last comment it appears this has infact been corrected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21042</commentid>
    <comment_count>9</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-05-03 01:17:08 +0000</bug_when>
    <thetext>verified on nightly build 20120423-1:(1.2 M4 RC5):
http://autobuilder.pokylinux.org/nightly/20120423-1/machines/qemu/qemuppc/
git info : 35196ff703726addf7f4051ee09d70bf9ee0c5d0
git branch : poky/denzil</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>