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
Description: PGP signature