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

Re: How to build a 32-bit package in Debian?



On Mon, 17 Jan 2011 10:53:58 +0100
Adam Borowski <kilobyte@angband.pl> wrote:

> On Mon, Jan 17, 2011 at 11:49:17AM +0800, Paul Wise wrote:
> > On Mon, Jan 17, 2011 at 11:25 AM, Steve M. Robbins <steve@sumost.ca> wrote:
> > 
> > > What is the recommended course of action for such a package?
> > 
> > For now: build on a 32-bit system or in a 32-bit chroot.
> > 
> > Other options in increasing order of preference:
> > 
> > Add deps to ia32-libs.
> > 
> > Add lib32 packages for the deps.
> > 
> > Help fix squeeze RC bugs then start work on multi-arch when the wheezy
> > cycle starts.
> 
> There's a wonderful thing called "xapt", aka "multi-arch working today". 
> Sadly, it can't be integrated into build-depends like real multi-arch will
> be, but getting all libraries you need is a matter of typing:
> 
> # xapt -a pdp11 liblossage1 liblossage-dev

xapt is available as part of the pdebuild-cross package in Squeeze and
Sid (in /usr/share) and as a standalone package in experimental - the
later version in experimental is the updated version with more fixes.

xapt is NOT multiarch, it still uses dpkg-cross to rename packages, but
it is easier to use and more reliable than the old apt-cross package
which has been removed from Squeeze and will be removed from Sid when
Squeeze is released.

xapt is just a handy way to get people through the removal of apt-cross
until something more multiarch compatible turns up.

In the xapt package is a tool called embuilddeps which automates
reading the control information and identifying the packages to pass to
xapt.

The goal with both tools is simplicity - the tools tend to do more than
you need so that you don't end up with a broken build.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgpeKScDVQeNl.pgp
Description: PGP signature


Reply to: