From owner-freebsd-stable@FreeBSD.ORG Sat Aug 30 02:06:09 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B794E106567A for ; Sat, 30 Aug 2008 02:06:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id 6330C8FC15 for ; Sat, 30 Aug 2008 02:06:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA06.westchester.pa.mail.comcast.net with comcast id 8Cof1a0080xGWP856Rq71Y; Sat, 30 Aug 2008 01:50:07 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA12.westchester.pa.mail.comcast.net with comcast id 8Rq61a00A4v8bD73YRq7qg; Sat, 30 Aug 2008 01:50:07 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=BS6JJNZ8a0ub7O5zSVwA:9 a=i6Il4TG_TsziFG3Rsa8A:7 a=-_vPxF5_l7fjlV-o2hz9vygaaoMA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 938D217B81A; Fri, 29 Aug 2008 18:50:06 -0700 (PDT) Date: Fri, 29 Aug 2008 18:50:06 -0700 From: Jeremy Chadwick To: Sean Bruno Message-ID: <20080830015006.GA88533@icarus.home.lan> References: <48B863EC.8030206@miralink.com> <48B87AA2.8010209@miralink.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48B87AA2.8010209@miralink.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: stable/6 make and build errors X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2008 02:06:09 -0000 On Fri, Aug 29, 2008 at 03:39:30PM -0700, Sean Bruno wrote: > Sean Bruno wrote: >> >> mkdep -f .depend -a -I/home/sbruno/bsd/6/lib/csu/i386-elf/../common >> -I/home/sbruno/bsd/6/lib/csu/i386-elf/../../libc/include >> /home/sbruno/bsd/6/lib/csu/i386-elf/crt1.c >> /home/sbruno/bsd/6/lib/csu/i386-elf/crti.S >> /home/sbruno/bsd/6/lib/csu/i386-elf/crtn.S >> /usr/bin/mkdep: cannot create _mkdep18423: Permission denied >> /usr/bin/mkdep: cannot create _mkdep18423: Permission denied >> mkdep: compile failed >> *** Error code 1 >> >> Stop in /home/sbruno/bsd/6/lib/csu/i386-elf. >> *** Error code 1 >> >> Stop in /home/sbruno/bsd/6/lib. >> *** Error code 1 >> >> Stop in /home/sbruno/bsd/6. >> *** Error code 1 >> >> >> > After poking around a bit, I discovered an old build dir in /usr/obj/ > that matched the path that my tree was currently a part of. > > So, a "make clean" or a "make cleanworld" doesn't delete /usr/obj/(DIR) > for some reason? Bug? It's known that 'make clean' will occasionally not nuke all the necessary objects in /usr/obj/*. rm -fr /usr/obj/* is a better bet. Do not rely on 'make clean'. -- | 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 |