Re: how to cross architecture build a package
On Nov 24, 2007 1:17 AM, Pierre Habouzit <email@example.com> wrote:
> On Sat, Nov 24, 2007 at 12:01:33AM +0000, Paul Wise wrote:
> > On Nov 24, 2007 6:14 AM, Alex Samad <firstname.lastname@example.org> 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):