WITH_INSTALL_AS_USER broken?

Randy Westlund rwestlun at gmail.com
Wed Aug 24 07:56:00 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160824/cf6861f4/attachment.sig>


More information about the freebsd-current mailing list