Buildworld Fails RELENG_7

Dave Uhring duhring at charter.net
Mon May 19 16:54:24 UTC 2008


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.
I have repeatedly cleaned /usr/obj to no avail, but I have a better method for
doing that:

umount /usr/obj
newfs /dev/da4s2f
mount /usr/obj



More information about the freebsd-stable mailing list