From owner-freebsd-current@FreeBSD.ORG Wed Feb 18 02:02:01 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 EE4BD16A4CE; Wed, 18 Feb 2004 02:02:01 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id A505D43D1F; Wed, 18 Feb 2004 02:01:59 -0800 (PST) (envelope-from ru@FreeBSD.org.ua) Received: from phantom.cris.net (ru@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i1IA2umt056064; Wed, 18 Feb 2004 12:02:56 +0200 (EET) (envelope-from ru@FreeBSD.org.ua) Received: (from ru@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i1IA2uVh056056; Wed, 18 Feb 2004 12:02:56 +0200 (EET) (envelope-from ru) Date: Wed, 18 Feb 2004 12:02:55 +0200 From: Ruslan Ermilov To: Robert Watson Message-ID: <20040218100255.GD54588@FreeBSD.org.ua> References: <20040216115323.GA94120@grummit.biaix.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E/DnYTRukya0zdZ1" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1i cc: current@freebsd.org cc: Dag-Erling Smorgrav Subject: Re: buildworld fails as non-root user 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: Wed, 18 Feb 2004 10:02:02 -0000 --E/DnYTRukya0zdZ1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 16, 2004 at 10:24:23AM -0500, Robert Watson wrote: >=20 > On Mon, 16 Feb 2004, Joan Picanyol wrote: >=20 > > I can't buildworld as a regular user with a clean /usr/obj: > ... > > Is this expected behaviour? Is there a workaround? >=20 > I build world using a non-root user frequently, so I'd say it's not > expected. Could you rm -Rf /usr/obj again (and make sure the contents are > really gone -- rm will need you to manually remove the schg flag, if it's > set), set the ownership, and try again?=20 >=20 I found the problem. The make.conf(5) manpage and an example make.conf file suggest INSTALL=3D"install -C" setting, which breaks the non-root build feature. This is caused by the fact that global make(1) variables (those in /etc/make.conf also) have preference over environment variables (that's how we set INSTALL in BMAKEENV). I will commit a fix as soon as I test it. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --E/DnYTRukya0zdZ1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAMzhPUkv4P6juNwoRAjDMAJ4w/uUx30YaUaOoCbT3buiCNBrkHQCfQ2hp 6Bm4GKp/PuAHy5CheVgSO2Y= =Ms31 -----END PGP SIGNATURE----- --E/DnYTRukya0zdZ1--