Re: WITH_INSTALL_AS_USER broken?

From: Brooks Davis <brooks_at_freebsd.org>
Date: Wed, 24 Aug 2016 16:48:54 +0000
On Wed, Aug 24, 2016 at 07:57:04AM -0700, Bryan Drewery wrote:
> On 8/24/2016 12:55 AM, Randy Westlund wrote:
> > Is WITH_INSTALL_AS_USER supposed to work, or is it known to be broken?
> > 
> > I'm cross compiling -current (r304727) for arm, and trying to install world as
> > a user.  Install is trying to set the schg file flag on some libraries, which
> > is failing because I'm not root.
> > 
> 
> Has this ever worked?  I recently changed stuff here but I would think
> that it wouldn't work before my changes too.

WITH_INSTALL_AS_USER never worked except in select individual directories.
Anything complicated caused it to break and it definitely never worked
for installworld.  For installworld you want NO_ROOT.

NO_ROOT support should be migrated to share/mk/* rather than overriding
things in Makefile.inc1 and WITH_INSTALL_AS_USER should be removed or
made into a synonym for NO_ROOT.

-- Brooks

Received on Wed Aug 24 2016 - 14:49:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC