On Sat, 9 Mar 2002, Will Andrews wrote:

> On Sat, Mar 09, 2002 at 10:00:10AM -0800, David O'Brien wrote:
> > This isn't good:
> > 
> > http://bento.freebsd.org/errorlogs/5-latest/TenDRA-4.1.2.log
> > 
> >     building TenDRA-4.1.2 on gohan17
> >     in directory /x/tmp/5/chroot/31459
> >     with arguments: TenDRA-4.1.2.tgz /usr/ports/lang/TenDRA
> >     maintained by: [EMAIL PROTECTED]
> >     build started at Sat Mar  9 00:37:43 GMT 2002
> >     ...
> >     Operating system version = 4.4-STABLE
> > 
> > I thought uname was faked out to return the proper value.
> > I wonder if things like this could be one of the problems.
> More like, the port builds in a chroot which contains the environment of
> a 5.0 world.  So the chroot tarball for 5.0 being used here must be the
> wrong one, or it's screwed up. 

uname extracts the various strings it can report from the running kernel
using sysctl.  Unless you have a faked uname, it will return the
properties of the host non-chroot environment, rather than the chroot
environment.  Increasingly, it's going to be harder and harder to run 5.0
in a 4.x chroot, due to divergence in system calls, especially once
threaded applications start using KSE.  Running 4.x in a 5.0 chroot should
(hopefully) continue to work fine. 

Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
[EMAIL PROTECTED]      NAI Labs, Safeport Network Services

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to