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

Re: how to cross architecture build a package



On Sat, Nov 24, 2007 at 02:30:17AM +0100, Ondrej Certik wrote:
> On Nov 24, 2007 1:17 AM, Pierre Habouzit <madcoder@debian.org> wrote:
> > On Sat, Nov 24, 2007 at 12:01:33AM +0000, Paul Wise wrote:
> > > On Nov 24, 2007 6:14 AM, Alex Samad <alex@samad.com.au> wrote:

> > > > trying to build a i386 package on a amd64 machine and i keep getting

> > > Are you building in an i386 chroot? If not, try that. Adding
> > > "--debootstrapopts --arch --debootstrapopts i386" to the
> > > pbuilder/cowbuilder create command line should get you an i386 chroot,
> > > or just run debootstrap with --arch i386.

> >   and when you build a package in there, wrap the
> > debuild/dpkg-buildpackage/... call inside linux32.

> Or use qemubuilder, follow the instructions here (find your case in
> there - emulating i386 on amd64):

> http://wiki.debian.org/qemubuilder

Which is inefficient, since there's no need to emulate i386 in software on
amd64.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/



Reply to: