On Wed, Sep 27, 2006 at 11:15:48AM +0100, Joe Orton wrote:
On Tue, Sep 26, 2006 at 05:12:15PM +0200, Paul Wouters wrote:
On Tue, 26 Sep 2006, Joe Orton wrote:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=208059
This report has an x86_64 Xen guest where _libdir is expanding to /usr/lib; perhaps /etc/rpm/platform needs to be set up by the Xen guest-creating scripts? Is this a known issue?
Paul, if you do:
echo x86_64-redhat-linux > /etc/rpm/platform
does that fix the problem?
Hmm.
# more /etc/rpm/platform ia32e-redhat-linux
Scary! I think this file is created by anaconda. So if it's wrong in your xen0 and just gets copied as-is to the guests, there is probably something very wrong elsewhere. (I don't claim to understand how or why this file is used or needed by rpmbuild, sorry)
Yes, this is created by anaconda - it is, however, corect - ia32a is the canonical architecture for Intel's x86_64 CPUs. The problem is that the basic RPM / rpmbuild macros for some reason don't treat it as a 64-bit arch - redhat-rpm-config fixes it for reasons I don't understand, so I re-assigned it to rpm.
Dan.