Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2004 12:02:55 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        Dag-Erling Smorgrav <des@freebsd.org>
Subject:   Re: buildworld fails as non-root user
Message-ID:  <20040218100255.GD54588@FreeBSD.org.ua>
In-Reply-To: <Pine.NEB.3.96L.1040216102307.63057I-100000@fledge.watson.org>
References:  <20040216115323.GA94120@grummit.biaix.org> <Pine.NEB.3.96L.1040216102307.63057I-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040218100255.GD54588>