Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2023 00:00:45 -0700
From:      Christopher Bowman <crb@chrisbowman.com>
To:        hackers@freebsd.org
Subject:   make installworld -DNO_ROOT
Message-ID:  <ADBDBA5E-4B60-4C35-BD7D-9EDE84592358@chrisbowman.com>

next in thread | raw e-mail | index | archive | help
Id like to build some images and I=E2=80=99d like do that as an ordinary =
user NOT as root

I=E2=80=99m experimenting with =E2=80=9Cmake installworld -DNO_ROOT =
TARGET_ARCH=3Darmv7=E2=80=9D

When I do that or  =E2=80=9Cmake distribution -DNO_ROOT =
TARGET_ARCH=3Darmv7=E2=80=9D

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=E2=80=99s possible I=E2=80=99m using -DNO_ROOT wrong but if anyone =
has some suggestions about what=E2=80=99s happening that would be very =
helpful.

In the alternative I=E2=80=99m 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=E2=80=99m 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?ADBDBA5E-4B60-4C35-BD7D-9EDE84592358>