Retiring WITH_INSTALL_AS_USER

Dag-Erling Smørgrav des at des.no
Fri Oct 24 08:59:56 UTC 2014


"Simon J. Gerraty" <sjg at juniper.net> writes:
> Hmm I have it permanently set in a projects/bmake tree that builds
> buildworld etc fine (while producing meta files) - though its been a
> month or two since last sync.

WITH_INSTALL_AS_USER does not modify buildworld, so that's moot.  It
modifies installworld, and it does not work:

% make installworld WITH_INSTALL_AS_USER=YES DESTDIR=/tmp/wiau
[...]
===> lib/libc (install)
install -C -o des -g des -m 444   libc.a /tmp/wiau/usr/lib
install  -o des -g des -m 444   -fschg -S  libc.so.7 /tmp/wiau/lib
install: /tmp/wiau/lib/libc.so.7: chflags: Operation not permitted
*** Error code 71

All it does is set the default *BIN / *GRP to the user name and primary
group name of the current user.  It does not prevent Makefiles from
overriding them (or from setting chflags like libc does).

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-arch mailing list