WITH_INSTALL_AS_USER broken?

From: Randy Westlund <rwestlun_at_gmail.com>
Date: Wed, 24 Aug 2016 03:55:56 -0400
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.

> --------------------------------------------------------------
> >>> 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

Received on Wed Aug 24 2016 - 05:56:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC