Date: Tue, 11 Apr 2023 14:10:11 +0000 From: Brooks Davis <brooks@freebsd.org> To: Christopher Bowman <crb@chrisbowman.com> Cc: hackers@freebsd.org Subject: Re: make installworld -DNO_ROOT Message-ID: <ZDVqQ0FwfWADCsbf@spindle.one-eyed-alien.net> In-Reply-To: <ADBDBA5E-4B60-4C35-BD7D-9EDE84592358@chrisbowman.com> References: <ADBDBA5E-4B60-4C35-BD7D-9EDE84592358@chrisbowman.com>
next in thread | previous in thread | raw e-mail | index | archive | help
These warnings are annoying, but mostly harmless. A stalled and seemingly not quite right review to address the issue is at https://reviews.freebsd.org/D30990 -- Brooks On Mon, Apr 10, 2023 at 12:00:45AM -0700, Christopher Bowman wrote: > Id like to build some images and I???d like do that as an ordinary user NOT as root > > I???m experimenting with ???make installworld -DNO_ROOT TARGET_ARCH=armv7??? > > When I do that or ???make distribution -DNO_ROOT TARGET_ARCH=armv7??? > > I get the following error messages during the make run: > > make[4] warning: /etc: Permission denied. > make[4] warning: /lib: Permission denied. > make[5] warning: /lib/geom: Permission denied. > make[4] warning: /libexec: Permission denied. > make[4] warning: /bin: Permission denied. > make[4] warning: /rescue: Permission denied. > make[4] warning: /sbin: Permission denied. > make[4] warning: /etc: Permission denied. > make[2] warning: /etc: Permission denied. > make[3] warning: /etc/gss: Permission denied. > make[3] warning: /etc/mtree: Permission denied. > make[3] warning: /lib: Permission denied. > make[4] warning: /lib/geom: Permission denied. > make[3] warning: /libexec: Permission denied. > make[3] warning: /bin: Permission denied. > make[3] warning: /rescue: Permission denied. > make[3] warning: /sbin: Permission denied. > make[3] warning: /etc: Permission denied. > > I think as a results either the recursive makes are failing or not doing all they are supposed to. > > It???s possible I???m using -DNO_ROOT wrong but if anyone has some suggestions about what???s happening that would be very helpful. > > In the alternative I???m open to suggestions as to how to debug the hugs set of make invocations. I find reading and debug make files hard enough but on huge treee like this with all the invocations and arguments I???m kind lost as to even which command within the make files are causing this. > > Thanks > Christopher
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZDVqQ0FwfWADCsbf>