Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2016 07:57:04 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Randy Westlund <rwestlun@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: WITH_INSTALL_AS_USER broken?
Message-ID:  <1fdf9db8-3c72-a7f3-aa4f-eaaf8ab5ab78@FreeBSD.org>
In-Reply-To: <20160824075556.GI16695@gmail.com>
References:  <20160824075556.GI16695@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--wqvnLM0jqesRXCIflSxm6KvH6LTNFD7vT
Content-Type: multipart/mixed; boundary="A9mda46V52Pkqqg32UifO2vcONBDtIVFa"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Randy Westlund <rwestlun@gmail.com>, freebsd-current@freebsd.org
Message-ID: <1fdf9db8-3c72-a7f3-aa4f-eaaf8ab5ab78@FreeBSD.org>
Subject: Re: WITH_INSTALL_AS_USER broken?
References: <20160824075556.GI16695@gmail.com>
In-Reply-To: <20160824075556.GI16695@gmail.com>

--A9mda46V52Pkqqg32UifO2vcONBDtIVFa
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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

Has this ever worked?  I recently changed stuff here but I would think
that it wouldn't work before my changes too.

>> --------------------------------------------------------------
>>>>> Installing everything
>> --------------------------------------------------------------
>> cd /usr/home/randy/tegra/freebsd; make -f Makefile.inc1 install
>> =3D=3D=3D> lib (install)
>> =3D=3D=3D> lib/csu (install)
>> =3D=3D=3D> lib/csu/arm (install)
>> install  -o randy -g 1001  -m 444 crt1.o crti.o crtn.o Scrt1.o gcrt1.o=
 /usr/home/randy/tegra/freebsd-root/usr/lib/
>> =3D=3D=3D> lib/libc (install)
>> install  -C -o randy -g 1001 -m 444   libc.a /usr/home/randy/tegra/fre=
ebsd-root/usr/lib/
>> install  -C -o randy -g 1001 -m 444   libc_p.a /usr/home/randy/tegra/f=
reebsd-root/usr/lib/
>> install  -s -o randy -g 1001 -m 444   -fschg -S  libc.so.7 /usr/home/r=
andy/tegra/freebsd-root/lib/
>> install: /usr/home/randy/tegra/freebsd-root/lib/libc.so.7: chflags: Op=
eration not permitted
>> *** Error code 71
>>
>> Stop.
>> make[5]: stopped in /usr/home/randy/tegra/freebsd/lib/libc
>> *** Error code 1


--=20
Regards,
Bryan Drewery


--A9mda46V52Pkqqg32UifO2vcONBDtIVFa--

--wqvnLM0jqesRXCIflSxm6KvH6LTNFD7vT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJXvbXAAAoJEDXXcbtuRpfP3RIH/03qSmXGxDeJ42n+meGxVa6X
eVg9XNiagt7Z377y0eH/ucGMLV1DKB1eRw6KAfLhkW0Jla76wz80VuE8AED/0PWV
NjZTNxNOCkAtL6WSwMBE+Ys71s024Ok91Cyp8kCHGIPyqpJFK0hMUHNcGGpSz/OB
e71ysiS2I5JgMHqaViNiW3vywI7msn925MH8G9tMqzE4oRns3taujsW3wxZCQZ/T
w2PIzThQybxvK60grvK/A51+0vUX8C7xCRm738a65Y0Hy0iRP1p/YgNy3sAiFl7n
rFRIoI43iBF9YFBFa8B5Ijw22ca1IT/ZmR5oYmARkWlnnohLTlgtsQb0jPtvPK0=
=4Ja2
-----END PGP SIGNATURE-----

--wqvnLM0jqesRXCIflSxm6KvH6LTNFD7vT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1fdf9db8-3c72-a7f3-aa4f-eaaf8ab5ab78>