Re: WITH_INSTALL_AS_USER broken?

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Wed, 24 Aug 2016 07:57:04 -0700
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


Received on Wed Aug 24 2016 - 12:57:10 UTC

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