<?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>756</bug_id>
          
          <creation_ts>2011-02-22 22:33:36 +0000</creation_ts>
          <short_desc>[rpm] installation errors on powerpc</short_desc>
          <delta_ts>2011-03-01 08:26:19 +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>ppc</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Qing He">qing.he</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>11974</commentid>
    <comment_count>0</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2011-02-22 22:33:36 +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/

# 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


Although it states &quot;warning&quot;, the package didn&apos;t get installed.

adding the line ppc603e-pc-linux-gnu in the /etc/rpm/platform, the problem will disappear</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12028</commentid>
    <comment_count>1</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-02-23 20:08:33 +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/
see below:
root@qemuppc:~# rpm -ivh man-1.6f-r0.ppc603e.rpm 
warning: package man-1.6f-r0.ppc603e is intended for a ppc603e-pc-linux-gnu platform
root@qemuppc:~# rpm -qa |grep man-1.6f
root@qemuppc:~#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12069</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-02-24 08:10:24 +0000</bug_when>
    <thetext>Can you check what the /etc/rpm/platform file says?

This file should be constructed based on the compatible CPUs mentioned by the Poky build environment.  It&apos;s possible something isn&apos;t working correctly with the construction of this file.

I&apos;ll attempt to build a qemuppc machine locally and see what I can reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12099</commentid>
    <comment_count>3</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2011-02-24 18:03:32 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Can you check what the /etc/rpm/platform file says?
&gt; This file should be constructed based on the compatible CPUs mentioned by the
&gt; Poky build environment.  It&apos;s possible something isn&apos;t working correctly with
&gt; the construction of this file.
&gt; I&apos;ll attempt to build a qemuppc machine locally and see what I can reproduce.

powerpc-unknown-linux
all-unknown-linux
any-unknown-linux
noarch-unknown-linux
powerpc-unknown-linux
ppc603e-unknown-linux
qemuppc-unknown-linux


What I did is adding &quot;ppc603e-pc-linux-gnu&quot; in it and installation can continue.

Btw, x86_64 images also observe this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12193</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-03-01 08:26:19 +0000</bug_when>
    <thetext>Fixed with:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=08c8f7bb7375a6f51c12ee5e7808e38e914d5413

The problem was due to the platform file not being configured properly.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>