RPM Community Forums

Mailing List Message of <rpm-users>

Re: Building a 32-bit RPM on a 64-bit machine?

From: Matthew Dawkins <mattydaw@gmail.com>
Date: Fri 29 Oct 2010 - 15:11:47 CEST
Message-ID: <AANLkTikHtmd60eUAVfFfHni29JbrtS75bky5Ao9Nk7Tk@mail.gmail.com>
On Fri, Oct 29, 2010 at 7:07 AM, Joe Flowers <joe.flowers@nofreewill.com>wrote:

> Hello again,
> I would like to be able to create a 32-bit RPM (with no 64-bit library
> dependencies) on a 64-bit machine.
> I have a 64-bit, SuSE development machine, and I would like to create an
> RPM on this 64-bit machine that will install 32-bit software on a 32-bit
> SuSE machine.
> Any ideas on the correct way for me to proceed?
> Thanks for any and all guidance!
> Joe
> P.S. Thanks very much Jeff for the answer to my "Creating an RPM to install
> a daemon" question.
> --------------
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org

Joe, I use a 32bit chroot to build all my 32bit rpms along side the 64bit
rpms. You will also need to use something like "linux32 rpmbuild -ba
pkgname.spec" to trick some packages that check uname.

Received on Fri Oct 29 15:17:22 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.