Re: i386 package building on an amd64 system

From: Maxim Sobolev <sobomax_at_FreeBSD.org>
Date: Tue, 18 Sep 2007 09:40:54 -0700
Dmitry Morozovsky wrote:
> On Mon, 17 Sep 2007, Maxim Sobolev wrote:
> 
> MS> > possibly stupid question: it there a way to fool jail (real, not
> MS> > "tinderbox" one) that it's working under i386 kernel? This would be
> MS> > extremely useful for local package building.
> MS> > 
> MS> > Quick googling does not reveal anything, or did I miss something obvious?
> MS> > 
> MS> > Thanks in advance.
> MS> 
> MS> Works here like a charm. The only thing is that you need to set UNAME_p=i386
> MS> UNAME_m=i386 and CPUTYPE=i686 variables in the chroot/jail.
> 
> I know aboot uname tricks ;-)
> 
> What about sysctls revealing amd64 system internals? Did you compare packages 
> built by this jailed system with native?

Any package that uses some sysctls from build machine to somehow alter 
build process should be considered b0rken.

-Maxim
Received on Tue Sep 18 2007 - 14:42:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC