From owner-freebsd-current@FreeBSD.ORG Wed Aug 30 08:14:10 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5AC816A4DF for ; Wed, 30 Aug 2006 08:14:10 +0000 (UTC) (envelope-from root@solink.ru) Received: from mail.academ.org (mail.academ.org [81.1.226.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E00843D46 for ; Wed, 30 Aug 2006 08:14:10 +0000 (GMT) (envelope-from root@solink.ru) Received: from mail.academ.org (localhost [127.0.0.1]) by mail.academ.org (Postfix) with ESMTP id 5A85E65927 for ; Wed, 30 Aug 2006 15:12:57 +0700 (NOVST) Received: from bocha.solink.office (unknown [85.118.228.14]) by mail.academ.org (Postfix) with ESMTP id 3862864AD2 for ; Wed, 30 Aug 2006 15:12:57 +0700 (NOVST) From: Bachilo Dmitry Organization: Solink Ltd To: current@freebsd.org User-Agent: KMail/1.9.1 References: <200608301423.39047.root@solink.ru> <20060830080732.GD6089@rambler-co.ru> In-Reply-To: <20060830080732.GD6089@rambler-co.ru> MIME-Version: 1.0 Content-Disposition: inline Date: Wed, 30 Aug 2006 15:13:02 +0700 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Message-Id: <200608301513.02804.root@solink.ru> X-AV-Checked: ClamAV Cc: Subject: Re: buildworld fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 08:14:10 -0000 =F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 =F3=D2=C5=C4=C1 30 =C1=D7=C7=D5=D3= =D4=C1 2006 15:07 =D7=D9 =CE=C1=D0=C9=D3=C1=CC=C9: > On Wed, Aug 30, 2006 at 02:23:37PM +0700, Bachilo Dmitry wrote: > > I just tried to buildworld to upgrade another server from 5.5 to 6.1, b= ut > > while it went absolutely fine yet, on this server it told me this: > > > > =3D=3D=3D> sbin/ipf/ipf (obj) > > mkdir: /usr/obj/usr/src/sbin/ipf/ipf: File exists > > *** Error code 1 > > > > Stop in /usr/src/sbin/ipf/ipf. > > > > > > What do I do wrong this time? > > NO_CLEAN builds are NOT guaranteed to work. They work most of the > time, but they "rely" on the source tree not being changed a lot, > in ways that obfuscate make(1). In this particular case, it may > even have caused by using a regular (cleaning) build, because the > type of the file in question has changed from "file" to "directory" > (or vice versa, I don't recall for sure). Your action in this > case is to follow these steps: > > 1) Wipe out /usr/obj/usr/src. > 2) Start a build (it can be a NO_CLEAN to save time, since there > will be nothing to clean). > > > Cheers, Thanks, I've just did rm -rf /usr/obj and make cleandir cleandir. Now buildworld does not fail and compiles builds fine. =2D----------------------- =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E2=C1=DE=C9=CC=CF =E4=CD=C9=D4=D2=C9=CA =F2=D5=CB=CF=D7=CF=C4=C9=D4=C5=CC=D8 =CF=D4=C4=C5=CC=C1 =D3=C9=D3=D4=C5=CD= =CE=CF=CA =C9=CE=D4=C5=C7=D2=C1=C3=C9=C9 =EF=EF=EF "=EB=CF=CD=D0=C1=CE=C9=D1 =F3=CF=EC=C9=CE=CB"