From owner-freebsd-current@freebsd.org Wed Aug 24 17:07:20 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 5CFC5BC5335 for ; Wed, 24 Aug 2016 17:07:20 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 41AAA11C9; Wed, 24 Aug 2016 17:07:20 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 3AD6915B5; Wed, 24 Aug 2016 17:07:20 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id CD58B1A4B1; Wed, 24 Aug 2016 17:07:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id T7GykqtxL_Z3; Wed, 24 Aug 2016 17:07:12 +0000 (UTC) Subject: Re: WITH_INSTALL_AS_USER broken? DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 9AC461A4A6 To: Brooks Davis References: <20160824075556.GI16695@gmail.com> <1fdf9db8-3c72-a7f3-aa4f-eaaf8ab5ab78@FreeBSD.org> <20160824164854.GB81446@spindle.one-eyed-alien.net> Cc: Randy Westlund , freebsd-current@freebsd.org From: Bryan Drewery Organization: FreeBSD Message-ID: Date: Wed, 24 Aug 2016 10:06:53 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160824164854.GB81446@spindle.one-eyed-alien.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qLPpeXW1bJHRmObV8r32lItMtj9QRC4lR" 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 17:07:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qLPpeXW1bJHRmObV8r32lItMtj9QRC4lR Content-Type: multipart/mixed; boundary="I8sBTdD0NISpWrVaWwHQxoetnXbeF8M72" From: Bryan Drewery To: Brooks Davis Cc: Randy Westlund , freebsd-current@freebsd.org Message-ID: Subject: Re: WITH_INSTALL_AS_USER broken? References: <20160824075556.GI16695@gmail.com> <1fdf9db8-3c72-a7f3-aa4f-eaaf8ab5ab78@FreeBSD.org> <20160824164854.GB81446@spindle.one-eyed-alien.net> In-Reply-To: <20160824164854.GB81446@spindle.one-eyed-alien.net> --I8sBTdD0NISpWrVaWwHQxoetnXbeF8M72 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 8/24/16 9:48 AM, Brooks Davis wrote: > 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 librarie= s, 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. >=20 > WITH_INSTALL_AS_USER never worked except in select individual directori= es. > Anything complicated caused it to break and it definitely never worked > for installworld. For installworld you want NO_ROOT. Thanks for confirming. In this case install needs -U, but even then it would lack proper permissions in the final product. The mtree produced by NO_ROOT would definitely be needed over a -U hack. >=20 > 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. >=20 > -- Brooks >=20 --=20 Regards, Bryan Drewery --I8sBTdD0NISpWrVaWwHQxoetnXbeF8M72-- --qLPpeXW1bJHRmObV8r32lItMtj9QRC4lR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJXvdQtAAoJEDXXcbtuRpfP1moH/ApmK/T7OQ8nDk3NnKHu2Iu4 r+UJMWQggogndEw9ayeqplqc73aOyj33uJByf4TkB186O0JMkQPHy8NzjCS/iMZi Qr0c3j95Nq3+cT+AiO9lo/Yz2ynJkOE2I9fk8PpNWDURGCG6D/QetgGouWzclj7k NKbx2+x4W0k6ixmwUH5W/vF+c0JPJTSXNLitaiqxpLzyXJQgXYHvTa2bsVSoDh8d tkF5ZHc/XjNmEyq0csWxNrZn8v/5BwMXSTCyvxuBCSr4ukFrgoK3R5kStice+4T3 Z8OqBhXSTIFPojVGb9bZxpNdR6VgyEC4ZgbG0UKEDy7DUEqTnDlbWVMzoQMDe1I= =FRNO -----END PGP SIGNATURE----- --qLPpeXW1bJHRmObV8r32lItMtj9QRC4lR--