Date: Mon, 10 Apr 2023 07:18:46 +0000 From: Souradeep Chakrabarti <schakrabarti@microsoft.com> To: Christopher Bowman <crb@chrisbowman.com>, "hackers@freebsd.org" <hackers@freebsd.org> Subject: Re: [EXTERNAL] make installworld -DNO_ROOT Message-ID: <PSAP153MB0536D554620251C222A1D72BCC959@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM> 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
--_000_PSAP153MB0536D554620251C222A1D72BCC959PSAP153MB0536APCP_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Have you tried to use export MAKEOBJDIRPREFIX ? Thanks & Regards, Souradeep ________________________________ From: owner-freebsd-hackers@freebsd.org <owner-freebsd-hackers@freebsd.org>= on behalf of Christopher Bowman <crb@chrisbowman.com> Sent: Monday, April 10, 2023 12:30 PM To: hackers@freebsd.org <hackers@freebsd.org> Subject: [EXTERNAL] make installworld -DNO_ROOT Id like to build some images and I=92d like do that as an ordinary user NOT= as root I=92m experimenting with =93make installworld -DNO_ROOT TARGET_ARCH=3Darmv7= =94 When I do that or =93make distribution -DNO_ROOT TARGET_ARCH=3Darmv7=94 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 al= l they are supposed to. It=92s possible I=92m using -DNO_ROOT wrong but if anyone has some suggesti= ons about what=92s happening that would be very helpful. In the alternative I=92m open to suggestions as to how to debug the hugs se= t 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=92m kind = lost as to even which command within the make files are causing this. Thanks Christopher --_000_PSAP153MB0536D554620251C222A1D72BCC959PSAP153MB0536APCP_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1= 252"> <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo= ttom:0;} </style> </head> <body dir=3D"ltr"> <div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H= elvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0); background-colo= r: rgb(255, 255, 255);" class=3D"ContentPasted0">Have you tried to use = ; export MAKEOBJDIRPREFIX ?</span></div> <div class=3D"elementToProof"> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 11pt; color: rgb(0, 0, 0);"> <br> </div> <div id=3D"Signature"> <div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> Thanks & Regards,</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> Souradeep</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> </div> </div> </div> <div id=3D"appendonsend"></div> <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st= yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> owner-freebsd-hackers= @freebsd.org <owner-freebsd-hackers@freebsd.org> on behalf of Christo= pher Bowman <crb@chrisbowman.com><br> <b>Sent:</b> Monday, April 10, 2023 12:30 PM<br> <b>To:</b> hackers@freebsd.org <hackers@freebsd.org><br> <b>Subject:</b> [EXTERNAL] make installworld -DNO_ROOT</font> <div> </div> </div> <div class=3D"BodyFragment"><font size=3D"2"><span style=3D"font-size:11pt;= "> <div class=3D"PlainText">Id like to build some images and I=92d like do tha= t as an ordinary user NOT as root<br> <br> I=92m experimenting with =93make installworld -DNO_ROOT TARGET_ARCH=3Darmv7= =94<br> <br> When I do that or =93make distribution -DNO_ROOT TARGET_ARCH=3Darmv7= =94<br> <br> I get the following error messages during the make run:<br> <br> make[4] warning: /etc: Permission denied.<br> make[4] warning: /lib: Permission denied.<br> make[5] warning: /lib/geom: Permission denied.<br> make[4] warning: /libexec: Permission denied.<br> make[4] warning: /bin: Permission denied.<br> make[4] warning: /rescue: Permission denied.<br> make[4] warning: /sbin: Permission denied.<br> make[4] warning: /etc: Permission denied.<br> make[2] warning: /etc: Permission denied.<br> make[3] warning: /etc/gss: Permission denied.<br> make[3] warning: /etc/mtree: Permission denied.<br> make[3] warning: /lib: Permission denied.<br> make[4] warning: /lib/geom: Permission denied.<br> make[3] warning: /libexec: Permission denied.<br> make[3] warning: /bin: Permission denied.<br> make[3] warning: /rescue: Permission denied.<br> make[3] warning: /sbin: Permission denied.<br> make[3] warning: /etc: Permission denied.<br> <br> I think as a results either the recursive makes are failing or not doing al= l they are supposed to.<br> <br> It=92s possible I=92m using -DNO_ROOT wrong but if anyone has some suggesti= ons about what=92s happening that would be very helpful.<br> <br> In the alternative I=92m open to suggestions as to how to debug the hugs se= t of make invocations. I find reading and debug make files hard enoug= h but on huge treee like this with all the invocations and arguments I=92m = kind lost as to even which command within the make files are causing this.<br> <br> Thanks<br> Christopher<br> </div> </span></font></div> </body> </html> --_000_PSAP153MB0536D554620251C222A1D72BCC959PSAP153MB0536APCP_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAP153MB0536D554620251C222A1D72BCC959>