buildworld fails as non-root user

Ruslan Ermilov ru at freebsd.org
Wed Feb 18 02:02:02 PST 2004


On Mon, Feb 16, 2004 at 10:24:23AM -0500, Robert Watson wrote:
> 
> On Mon, 16 Feb 2004, Joan Picanyol wrote:
> 
> > I can't buildworld as a regular user with a clean /usr/obj:
> ...
> > Is this expected behaviour? Is there a workaround?
> 
> 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? 
> 
I found the problem.  The make.conf(5) manpage and an example
make.conf file suggest INSTALL="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,
-- 
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040218/f39fa231/attachment.bin


More information about the freebsd-current mailing list