From owner-freebsd-current@FreeBSD.ORG Sat Nov 20 10:01:43 2004 Return-Path: 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 DB0BC16A4CE for ; Sat, 20 Nov 2004 10:01:43 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8AC943D46 for ; Sat, 20 Nov 2004 10:01:42 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAKA1RtA058467; Sat, 20 Nov 2004 12:01:27 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 21372-08; Sat, 20 Nov 2004 12:01:26 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAKA1QmA058458 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 Nov 2004 12:01:26 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iAKA1TX3026101; Sat, 20 Nov 2004 12:01:29 +0200 (EET) (envelope-from ru) Date: Sat, 20 Nov 2004 12:01:29 +0200 From: Ruslan Ermilov To: freebsd-current@FreeBSD.org Message-ID: <20041120100129.GA26009@ip.net.ua> References: <20041118101356.53ed3f78@dolphin.local.net> <20041120012134.GF20068@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <20041120012134.GF20068@dragon.nuxi.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: "Conrad J. Sabatier" Subject: Re: usr.bin/lex/lib object files not being placed under MAKEOBJDIRPREFIX X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 20 Nov 2004 10:01:44 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 19, 2004 at 05:21:34PM -0800, David O'Brien wrote: > On Thu, Nov 18, 2004 at 10:13:56AM -0600, Conrad J. Sabatier wrote: > > Noticed this during a cvs update today: > > dolphin:root:/usr/src/usr.bin# cvs -R update > > ? lex/lib/.depend > > ? lex/lib/libln.a > > ? lex/lib/libmain.o > > ? lex/lib/libyywrap.o >=20 > How did you build your system? At one time you maybe cd'ed into > usr.bin/lex and just typed 'make' without 'make obj'? >=20 > The fix is to: >=20 > rm -rf /usr/obj/* > cd /usr/src > make cleandir > make buildworld > cvs -q up >=20 > and you shouldn't see this again. >=20 Also may worth it finding any stray "obj" directories in the src/ tree. rm -rf /usr/obj/usr/src cd /usr/src find . -name obj -type d | xargs rm -rf make cleandir make cleandir "make cleandir" is run twice because if there's an "obj" symlink, the first cleandir will only remove the symlink but won't clean any object files, if there are any. A faster alternative to the above is: rm -rf /usr/obj/usr/src cd /usr/src find . -name obj | xargs rm -rfv make cleandir Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBnxX5qRfpzJluFF4RAhQ9AJ0Te92LCPA2jV5eY+yOrWC/ci+i9ACfRVWA kiCiy4E9NiRVGomhRULESUc= =gEeE -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--