[Bug 217544] Wrong platform in /etc/rpm/platform

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 4 19:10:51 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Wrong platform in /etc/rpm/platform


https://bugzilla.redhat.com/show_bug.cgi?id=217544


radford at blackbean.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard| bzcl34nup                  |bzcl34nup




------- Additional Comments From radford at blackbean.org  2008-04-04 15:10 EST -------
(In reply to comment #2)
> Is this still a problem in F8?

Yes.

  $ cat /etc/rpm/platform
  ia32e-redhat-linux

  $ uname -m
  x86_64

  $ rpm --eval "%{_libdir}"
  /usr/lib64

  $ setarch i686 uname -m
  i686

  $ setarch i686 rpm --eval "%{_libdir}"
  /usr/lib64

Wrong!

  $ rm /etc/rpm/platform
  $ setarch i686 rpm --eval "%{_libdir}"
  /usr/lib

Right.

This means that

  setarch i686 rpm --target i386 --rebuild *.src.rpm

puts the libraries in the wrong place (/usr/lib64) if /etc/rpm/platform exists
with the above contents.  What is the point of /etc/rpm/platform?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-triage-list mailing list