From owner-freebsd-questions@FreeBSD.ORG Sat Mar 29 16:44:46 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51A7671B for ; Sat, 29 Mar 2014 16:44:46 +0000 (UTC) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 16FC2357 for ; Sat, 29 Mar 2014 16:44:45 +0000 (UTC) X_CMAE_Category: , , X-CNFS-Analysis: v=2.0 cv=buTO9Tmi c=1 sm=1 a=uNsD4W5u/UlQopoDAqU1YA==:17 a=fZBWQ0Qh6m4A:10 a=_FRwFWQJ6DYA:10 a=AaUjGI9IrlcA:10 a=IkcTkHD0fZMA:10 a=OA2lqS22AAAA:8 a=kLETTxmP3mvjiCgyHkYA:9 a=QEXdDO2ut3YA:10 a=uNsD4W5u/UlQopoDAqU1YA==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=roberthuff; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 209.6.39.223 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.39.223] ([209.6.39.223:4646] helo=[10.0.0.3]) by smtp.rcn.com (envelope-from ) (ecelerity 3.5.1.37854 r(Momo-dev:3.5.1.0)) with ESMTPA id 26/40-59476-C78F6335; Sat, 29 Mar 2014 12:44:44 -0400 Message-ID: <5336F8A1.1090107@rcn.com> Date: Sat, 29 Mar 2014 12:45:21 -0400 From: Robert Huff User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: questions@freebsd.org Subject: Re: problem running "make cleandir" Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Beeblebrox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2014 16:44:46 -0000 Beeblebrox writes: > Just delete the contents of /usr/obj/src/, or if you have set in > /etc/make.conf WRKDIRPREFIX=/dir_path then delete the src folder > under that prefix. The complete process is: #! /bin/sh set -x cd /usr/src if [ -f buildworld.log ] then rm buildworld.log fi rm -rf /usr/obj cp -p /usr/src/sys/amd64/conf/JERUSALEM /root make cleandir date > ./buildworld.time make -d l buildworld 2>&1 ./buildworld.log tail -n 50 ./buildworld.log | sendmail huff Robert Huff