Re: debootstrap: [sid] sparc64 and lib64
On Wed, Oct 15, 2003 at 04:39:04PM +0200, Piotr Roszatycki wrote:
> On Wed, 15 Oct 2003, Ben Collins wrote:
> > On Wed, Oct 15, 2003 at 01:40:56PM +0200, Piotr Roszatycki wrote:
> > > Dnia ?ro 15. pa?dziernika 2003 13:06, J.H.M. Dassen (Ray) napisa?:
> > > > On Mon, Oct 13, 2003 at 17:17:06 +0200, Piotr Roszatycki wrote:
> > > > > debootstrap fails on sparc architecture. The patch in attachment.
> > > >
> > > > Is this patch needed for the sarge script as well?
> > >
> > > No, but...
> > >
> > > Please hold on this fix because if the libc6-sparc64 is installed, the gcc
> > > produces 64-bit binaries _always_ even without -m64 option.
> > No, not always, just when you are on a sparc64 system, and
> > libc6-dev-sparc64 is installed (IOW, /usr/lib64/libc.so exists).
> It means I can't use pbuilder on sparc64, because libc6-sparc64 is always
> installed (ncurses-bin depends on lib64ncurses).
Do what the buildd does, and add "sparc32" in front of commands that
pbuilder executes, or start pbuilder by adding "sparc32" in front of it,
which will make it think it is in a sparc32 environment. The sparc
buildd has been doing this for years to get around problems in autoconf
where uname=sparc64 means it thinks by default it is a 64-bit system.
Now that gcc actually reflects that fact, it means adding just a bit of
care to the builds.
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/