Re: Re: rpmbuild environment issues for xen guest?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux