From owner-freebsd-stable@FreeBSD.ORG Mon May 16 22:38:46 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 773AE16A4CE; Mon, 16 May 2005 22:38:46 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 159E143D9A; Mon, 16 May 2005 22:38:46 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3E2BD5145C; Mon, 16 May 2005 15:38:41 -0700 (PDT) Date: Mon, 16 May 2005 15:38:41 -0700 From: Kris Kennaway To: Steven Hartland Message-ID: <20050516223841.GA18115@xor.obsecurity.org> References: <000301c55a67$8115d470$b3db87d4@multiplay.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <000301c55a67$8115d470$b3db87d4@multiplay.co.uk> User-Agent: Mutt/1.4.2.1i cc: freebsd-hackers@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: Strange make buildworld behaviour with 5.4-RELEASE ( amd64 ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 22:38:46 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 16, 2005 at 11:16:41PM +0100, Steven Hartland wrote: > Doing a make buildworld from a directory other than /usr/src > results in the following: > [log] > /usr/obj/.usr/amd64/src/lib32/usr/lib32/libl.a ->=20 > /usr/obj/.usr/amd64/src/lib32/usr/lib32/libln.a > /usr/obj/.usr/amd64/src/lib32/usr/lib32/libfl.a ->=20 > /usr/obj/.usr/amd64/src/lib32/usr/lib32/libln.a > /usr/obj/.usr/amd64/src/lib32/usr/lib32/libl_p.a ->=20 > /usr/obj/.usr/amd64/src/lib32/usr/lib32/libln_p.a > /usr/obj/.usr/amd64/src/lib32/usr/lib32/libfl_p.a ->=20 > /usr/obj/.usr/amd64/src/lib32/usr/lib32/libln_p.a > =3D=3D=3D> usr.sbin/pcvt/keycap > Warning: Object directory not changed from original=20 > /.usr/amd64/src/usr.sbin/pcvt/keycap > make: don't know how to make /usr/obj/usr/src/lib32/usr/include/stdio.h.= =20 > Stop > *** Error code 2 >=20 > Stop in /.usr/amd64/src. > *** Error code 1 >=20 > Stop in /.usr/amd64/src. > *** Error code 1 >=20 > Stop in /.usr/amd64/src. > *** Error code 1 >=20 > Stop in /.usr/amd64/src. > [/log] >=20 > My /usr is a symlink to /.usr/amd64/ which shouldnt cause any > issues but buildworld get most upset. I first thought it was bad > source set but booting to single user and moving things around > so /usr is a real dir with the contents of /.usr/amd64 in works > just fine. Anyone got any ideas why and how to fix? You need to make sure you don't have stale object files (the pathnames are recorded), so try removing /usr/obj/ and then running 'make cleandir' from your source tree. Kris --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCiSDwWry0BWjoQKURAr2LAKC+juBqq/4vTOFRQPuWG+H0mKqZswCfbh4g HI62yebcFvF+wmacG/053h4= =UfFZ -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3--