From owner-freebsd-current Sat Dec 23 11:24:53 2000 From owner-freebsd-current@FreeBSD.ORG Sat Dec 23 11:24:51 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from earth.backplane.com (placeholder-dcat-1076843399.broadbandoffice.net [64.47.83.135]) by hub.freebsd.org (Postfix) with ESMTP id B38C537B400; Sat, 23 Dec 2000 11:24:50 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id eBNJOo798006; Sat, 23 Dec 2000 11:24:50 -0800 (PST) (envelope-from dillon) Date: Sat, 23 Dec 2000 11:24:50 -0800 (PST) From: Matt Dillon Message-Id: <200012231924.eBNJOo798006@earth.backplane.com> To: Mike Smith Cc: freebsd-current@FreeBSD.ORG Subject: found the fragger. Re: Problem building -current kernel with read-only /usr/src. References: <200012231234.eBNCYKj10745@mass.osd.bsdi.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, I found it. /usr/src/sys/conf/Makefile.i386 is broken. It looks like either you or David O'Brien (I'm guessing, your guys names are prominent in the CVS logs but I haven't tracked it down exactly) screwed up the object directory creation while trying to optimize it. It looks like it is trying to create short object directory names. But the make program can't find them when looking for object directories. This breaks MAKEOBJDIRPREFIX. The 'make' program looks in: 1. ${MAKEOBJDIRPREFIX}/`pwd` 2. ${MAKEOBJDIR} 3. obj.${MACHINE} 4. obj 5. /usr/obj/`pwd` (taken from the 'make' man page) And NONE of these is the object path you create in the Makefile. This causes the make system to revert to tring to create the files in the source directory rather then the object directory. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message