Brooks Davis brooks at freebsd.org
Wed Aug 24 16:49:01 UTC 2016

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160824/6c0c615c/attachment.sig>

More information about the freebsd-current mailing list