From owner-freebsd-current@freebsd.org Wed Aug 24 16:49:01 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF937BC3ABA for ; Wed, 24 Aug 2016 16:49:01 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8D283122A; Wed, 24 Aug 2016 16:49:01 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 271445A9F27; Wed, 24 Aug 2016 16:48:54 +0000 (UTC) Date: Wed, 24 Aug 2016 16:48:54 +0000 From: Brooks Davis To: Bryan Drewery Cc: Randy Westlund , freebsd-current@freebsd.org Subject: Re: WITH_INSTALL_AS_USER broken? Message-ID: <20160824164854.GB81446@spindle.one-eyed-alien.net> References: <20160824075556.GI16695@gmail.com> <1fdf9db8-3c72-a7f3-aa4f-eaaf8ab5ab78@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <1fdf9db8-3c72-a7f3-aa4f-eaaf8ab5ab78@FreeBSD.org> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2016 16:49:01 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? > >=20 > > I'm cross compiling -current (r304727) for arm, and trying to install w= orld as > > a user. Install is trying to set the schg file flag on some libraries,= which > > is failing because I'm not root. > >=20 >=20 > 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 --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJXvc/1AAoJEKzQXbSebgfA5KcIAKMnmjKbc0LaGKvGQWrjrwMh Qr/wYGoZc800/F57DCWa/cbY0ST3axtPJ7K8KXRxcfvW8IIYcTZEss/uFikGs90k xwfaeqUW35WGfLCktHjVKelBT6zngDWGsLrRA/OGAMdwITexyT4krI6+Q51K5abc YViYpLBHRFeFQyF7nvUBW91VfDLp5nhbPf8KYwzk2EnWZZYwzYlnY5v/QM8VBPib 64Xf+DTALl9w7rVr6LcGwdfmkVDN4zMkO+05ZvBRMoaB017Xhh3cB2ajuqT/niSg y2YPEWF+ALbQ7TM6UQkLE+xun+B6ZlcBMxeCBodeAEVIQJnoxEf+6PqZMOCfFfo= =dkNG -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz--