FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 11-24-2007, 12:30 AM
"Ondrej Certik"
 
Default how to cross architecture build a package

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

Ondrej


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-24-2007, 01:01 AM
Steve Langasek
 
Default 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/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 09:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org