Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2008 09:59:25 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Dave Uhring <duhring@charter.net>
Cc:        Doug Rabson <dfr@rabson.org>, freebsd-stable@freebsd.org
Subject:   Re: Buildworld Fails RELENG_7
Message-ID:  <20080519165925.GA77907@eos.sc1.parodius.com>
In-Reply-To: <20080519165421.GA62264@charter.net>
References:  <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <DB8B754A-5994-4358-9F8C-93218AAEF9F4@rabson.org> <20080519165421.GA62264@charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 19, 2008 at 11:54:21AM -0500, Dave Uhring wrote:
> On Mon, May 19, 2008 at 05:42:56PM +0100, Doug Rabson wrote:
> >
> > On 19 May 2008, at 17:38, Dave Uhring wrote:
> >
> >> On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote:
> >>> This symbol has been added to fcntl.h recently. It appears as if your 
> >>> build
> >>> is picking up the installed header rather than the one from the source
> >>> tree. Are you using 'make buildworld'?
> >>
> >> Yes, although at this point is it 'make -DNO_CLEAN buildworld' until I get 
> >> a clean
> >> build.
> >>
> >> The header files in /usr/include/sys are those from 7.0 RELEASE, however, 
> >> and I
> >> have had to copy 3 files (so far) from /usr/src/sys/sys to get the build 
> >> to
> >> continue.
> >
> > You should never have to copy any header files to /usr/include to get a 
> > buildworld to work. Try without the -DNO_CLEAN and if that still fails, 
> > clean your /usr/obj (e.g. with rm -rf /usr/obj/*).
> 
> The build is going nowhere without the correct header files in /usr/include/sys.

Is there breakage of some sort being caused by your make.conf or (less
probable) your src.conf?  Any filesystem corruption (boot single user
and force fsck on all the filesystems)?

In all the years I've used FreeBSD, I've never had to copy include files
from parts of /usr/src to get buildworld to work, so this is very odd
behaviour.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080519165925.GA77907>