Re: how to cross architecture build a package

2007-11-25 Thread Roger Leigh
Alex Samad <[EMAIL PROTECTED]> writes: > On Sat, Nov 24, 2007 at 01:17:52AM +0100, Pierre Habouzit wrote: >> and when you build a package in there, wrap the >> debuild/dpkg-buildpackage/... call inside linux32. > why do i need linux32, I have build my package and used schroot. all seems to > b

Re: how to cross architecture build a package

2007-11-25 Thread Alex Samad
On Sun, Nov 25, 2007 at 11:54:28AM -0800, Steve Langasek wrote: > On Sun, Nov 25, 2007 at 08:07:46PM +1100, Alex Samad wrote: > > On Sat, Nov 24, 2007 at 10:59:32PM +, brian m. carlson wrote: > > > On Sun, Nov 25, 2007 at 07:15:29AM +1100, Alex Samad wrote: > > >> On Sat, Nov 24, 2007 at 01:17:

Re: how to cross architecture build a package

2007-11-25 Thread Steve Langasek
On Sun, Nov 25, 2007 at 08:07:46PM +1100, Alex Samad wrote: > On Sat, Nov 24, 2007 at 10:59:32PM +, brian m. carlson wrote: > > On Sun, Nov 25, 2007 at 07:15:29AM +1100, Alex Samad wrote: > >> On Sat, Nov 24, 2007 at 01:17:52AM +0100, Pierre Habouzit wrote: > >>> and when you build a package

Re: how to cross architecture build a package

2007-11-25 Thread Alex Samad
On Sat, Nov 24, 2007 at 10:59:32PM +, brian m. carlson wrote: > On Sun, Nov 25, 2007 at 07:15:29AM +1100, Alex Samad wrote: >> On Sat, Nov 24, 2007 at 01:17:52AM +0100, Pierre Habouzit wrote: >>> and when you build a package in there, wrap the >>> debuild/dpkg-buildpackage/... call inside lin

Re: how to cross architecture build a package

2007-11-24 Thread brian m. carlson
On Sun, Nov 25, 2007 at 07:15:29AM +1100, Alex Samad wrote: On Sat, Nov 24, 2007 at 01:17:52AM +0100, Pierre Habouzit wrote: and when you build a package in there, wrap the debuild/dpkg-buildpackage/... call inside linux32. why do i need linux32, I have build my package and used schroot. all s

Re: how to cross architecture build a package

2007-11-24 Thread Alex Samad
On Sat, Nov 24, 2007 at 01:17:52AM +0100, Pierre Habouzit wrote: > On Sat, Nov 24, 2007 at 12:01:33AM +, Paul Wise wrote: > > On Nov 24, 2007 6:14 AM, Alex Samad <[EMAIL PROTECTED]> wrote: > > > > > trying to build a i386 package on a amd64 machine and i keep getting > > > > Are you building

Re: how to cross architecture build a package

2007-11-23 Thread Steve Langasek
On Sat, Nov 24, 2007 at 02:30:17AM +0100, Ondrej Certik wrote: > On Nov 24, 2007 1:17 AM, Pierre Habouzit <[EMAIL PROTECTED]> wrote: > > On Sat, Nov 24, 2007 at 12:01:33AM +, Paul Wise wrote: > > > On Nov 24, 2007 6:14 AM, Alex Samad <[EMAIL PROTECTED]> wrote: > > > > trying to build a i386 pa

Re: how to cross architecture build a package

2007-11-23 Thread Ondrej Certik
On Nov 24, 2007 1:17 AM, Pierre Habouzit <[EMAIL PROTECTED]> wrote: > On Sat, Nov 24, 2007 at 12:01:33AM +, Paul Wise wrote: > > On Nov 24, 2007 6:14 AM, Alex Samad <[EMAIL PROTECTED]> wrote: > > > > > trying to build a i386 package on a amd64 machine and i keep getting > > > > Are you building

Re: how to cross architecture build a package

2007-11-23 Thread Pierre Habouzit
On Sat, Nov 24, 2007 at 12:01:33AM +, Paul Wise wrote: > On Nov 24, 2007 6:14 AM, Alex Samad <[EMAIL PROTECTED]> 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 --deb

Re: how to cross architecture build a package

2007-11-23 Thread Paul Wise
On Nov 24, 2007 6:14 AM, Alex Samad <[EMAIL PROTECTED]> 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 shoul

how to cross architecture build a package

2007-11-23 Thread Alex Samad
Hi trying to build a i386 package on a amd64 machine and i keep getting dpkg-gencontrol: error: current host architecture 'amd64' does not appear in package's architecture list (i386) I am using debhelper to build the packages and I have tried dh_gencontrol -- -VArch=i386 but doesn't seem to b