WITH_INSTALL_AS_USER broken?
Bryan Drewery
bdrewery at FreeBSD.org
Wed Aug 24 14:57:10 UTC 2016
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.
>> --------------------------------------------------------------
>>>>> Installing everything
>> --------------------------------------------------------------
>> cd /usr/home/randy/tegra/freebsd; make -f Makefile.inc1 install
>> ===> lib (install)
>> ===> lib/csu (install)
>> ===> 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/
>> ===> lib/libc (install)
>> install -C -o randy -g 1001 -m 444 libc.a /usr/home/randy/tegra/freebsd-root/usr/lib/
>> install -C -o randy -g 1001 -m 444 libc_p.a /usr/home/randy/tegra/freebsd-root/usr/lib/
>> install -s -o randy -g 1001 -m 444 -fschg -S libc.so.7 /usr/home/randy/tegra/freebsd-root/lib/
>> install: /usr/home/randy/tegra/freebsd-root/lib/libc.so.7: chflags: Operation not permitted
>> *** Error code 71
>>
>> Stop.
>> make[5]: stopped in /usr/home/randy/tegra/freebsd/lib/libc
>> *** Error code 1
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160824/92c1e915/attachment.sig>
More information about the freebsd-current
mailing list