Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2002 19:30:21 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Will Andrews <will@csociety.org>
Cc:        "David O'Brien" <obrien@FreeBSD.org>, Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: New i386 5.0 packages uploaded (and toolchain problems)
Message-ID:  <Pine.NEB.3.96L.1020309192857.61696F-100000@fledge.watson.org>
In-Reply-To: <20020309230124.GT53073@squall.waterspout.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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: obrien@FreeBSD.org
> >     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
robert@fledge.watson.org      NAI Labs, Safeport Network Services



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020309192857.61696F-100000>