From nobody Mon Apr 10 07:18:46 2023 X-Original-To: hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pw0hF3XNsz44txh for ; Mon, 10 Apr 2023 07:18:53 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2070c.outbound.protection.outlook.com [IPv6:2a01:111:f403:704b::70c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pw0hD3jrbz4GSP for ; Mon, 10 Apr 2023 07:18:52 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L6gBSQ14iBVzjYJOE2dST6eIskfEdqDh/14GZdIvYPzBDrEgM8EHjjSdrjDsDYizdzPqCawFvLBbYsj7RoenW4p4VtzuYOOpHRpwCclNZIm8NFUmgs0kDWai/Dbl0YgnAeK9cTjmrR8YsXbsM5JTSqm8Qn5vkvdFEbVXjIxU2Gixj40lJLaUd0JtYRmySKVcyJgEcW6smOoP56S5LQPkvLamCdFBbulMZpKwWK+Vw9xP5X5FAKrl6viLKWZlKElQmX57d7r+pCoVCTWx8efwNKGBWOKMLAqqR9fdDZgFVhta5wft/IUlnxygdig4Kwk0ePz77gUu5Zq/7+2TMZeRAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vZxz5Vu2mfnEWtIOLIQ0zJ3qxDdNq3pRYpI5QG5HYtg=; b=kCLjg9d9JIxaQwbQWCkpFr96aoFB0wsaZcRwUhQRZABXE/U3kRCOZdDNqMavIw7jnVWsepyqySEh8tloAVAoU5L0HKsbbCbap/afKILVfaPvpGQK0ueMDgsHlGxVn9W74JNLSRcnxunJ/QLcaIdAArQorCMQ2L0493Vq5u3NkKgJhe2jYsdGUhV7qcyVU59SRiB/yaoMqHc9lziQjqX69Hen8BG199sLbu0O+Nb4dWJaOf9E0SXk/14kU4LTNqksHXQ1uXYOrTUdYB1gWWYO+tfqJbQLwDveGGpRXqNEONHRyF9yzxpZ6Z2TReHfvnc4cABc0D5mAtXOb14JGFDtug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vZxz5Vu2mfnEWtIOLIQ0zJ3qxDdNq3pRYpI5QG5HYtg=; b=Mr063KRM9uMghItcUU/kqngHOLeF8HvOzw4AJnI48GJCCUb2nFX+W36AsIMSB3ZTz+ORMfEizjuyg0qd59eZ2TfMSS7AWtxh46TzzWjUFIdI+DIyyunL+HrmzFGb9XeSe5NJM5CHNBqaix35KcATW9CVc+pjVUbFhC6eDEGCWzU= Received: from PSAP153MB0536.APCP153.PROD.OUTLOOK.COM (2603:1096:301:75::14) by SI2P153MB0703.APCP153.PROD.OUTLOOK.COM (2603:1096:4:19e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.2; Mon, 10 Apr 2023 07:18:46 +0000 Received: from PSAP153MB0536.APCP153.PROD.OUTLOOK.COM ([fe80::912c:f20a:859:d034]) by PSAP153MB0536.APCP153.PROD.OUTLOOK.COM ([fe80::912c:f20a:859:d034%3]) with mapi id 15.20.6319.002; Mon, 10 Apr 2023 07:18:46 +0000 From: Souradeep Chakrabarti To: Christopher Bowman , "hackers@freebsd.org" Subject: Re: [EXTERNAL] make installworld -DNO_ROOT Thread-Topic: [EXTERNAL] make installworld -DNO_ROOT Thread-Index: AQHZa3pCcHGLHnveEUKO+kvtHsMLUq8kIkOc Date: Mon, 10 Apr 2023 07:18:46 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2023-04-10T07:18:47.222Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PSAP153MB0536:EE_|SI2P153MB0703:EE_ x-ms-office365-filtering-correlation-id: e6175e4c-283b-496f-358d-08db3993d2bf x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7fG9l4mbJ2nRKABBw/G4bktAvhmywXKMWDmhmPyXrW5CtP/kgY2PC1TffgNK4ISpaXug8WE0UDmaUqsSHmeJPArXdL79arrBm+5Ri68i7xcyBqMPm0NDwHiSQAy1puUMrRutw2If3Uyt3KOcEbA3AZ6vCS9OLA2Le5C4hkKMMXf+zbYjAphyshV3ube3srEyXni05vi/ekMgk9ZUXZ8ofN6Uo3D4yTws2SQXhV+zU9HNmvPMA+N3AxPdZGIXl2hFGO7vLJ8BVO31QFZCYfZw7FIWxVyBPzqvmwpUaA/+DsCCia1WxsoVU2LlZMxucoCn1E6oJ4vxKVUiQmG6aS3vbH4g2CbGDsN9aFcaWgBI7qdMfySnFNkigpBCQPSw5PLgt72jAm+msGWejid/wd5MV1BmaUqHCgV/nx6zPyO8sjnO16bPTtG57wGZ2MHBA7NfF7rlK3uJpVEdhHn0gK/Z5VtCcqNrVkIArdlVGQrh/ACK9vE6MqQyaj59p/xXDI/ZyOR8t+ti9c24/LuLYijcPSb2Kw8ovfZ+PgWWULRCdz/GFrtp+ZKLZZ0ONK5HoyIBLx94etMMWLAw/lTsXD9aHhZ4RXayvf00ue+dI+tIG6F+Ruy4E8YfNyxg8A5Qd2dj0x1OJYqkYkzLjVJfefi3Y1zvxCdxpozhsxAay/34coc= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PSAP153MB0536.APCP153.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(39860400002)(346002)(136003)(396003)(366004)(451199021)(55016003)(83380400001)(76116006)(91956017)(71200400001)(478600001)(10290500003)(7696005)(186003)(110136005)(26005)(9686003)(6506007)(53546011)(8990500004)(2906002)(52536014)(33656002)(5660300002)(38100700002)(122000001)(66476007)(66556008)(66946007)(64756008)(82960400001)(82950400001)(41300700001)(66446008)(8676002)(8936002)(38070700005)(316002)(786003)(86362001)(19627405001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?NLBkQQ5ns0JpdE5+nLX7jFyGOf7pNHV7RAC1i3HokR5lDoB+/bOnNxha?= =?Windows-1252?Q?J4w9pRHILjBeCXC4vOBl4EJgt7WPodEatTw+fvId1iPS5t/zBBqu5oDp?= =?Windows-1252?Q?fDlwwdRkUSEQD0/JjFOko9HiY7lNxzqxaoFiykRxV9WCutjaVmA/BOoY?= =?Windows-1252?Q?onptedFGYG/qf2w4FWGlCQ3komA9dnFyWFlG9nNnXxirIhrqewDbbn9i?= =?Windows-1252?Q?G1f3SkfMrBfJ02iH9VJme/uPPn0JzKUjoCbfBHvaTiF2flMgX0c1gzFc?= =?Windows-1252?Q?up0+mbNU/XjNAvPnuKnIUC96Y3pT5Vvi+lox9txkujQTcT5V6sdpzT8U?= =?Windows-1252?Q?oJyU/XPSesCTdyNoGz3pi+aJeQ4bcG/+uUR09sVs4fLaxSqVuvHla8s0?= =?Windows-1252?Q?+m9P/2xpxfuLdec6a9mENx46KdUT/hZN5bUNOfR5LAhlZoqBhA+xRxSQ?= =?Windows-1252?Q?MhVHbAfxkzfPtccI9zGptOl3L8VqwqtiQD2o9iiuqEG+e4cg9S+xuSEJ?= =?Windows-1252?Q?DmRYkOd4oYo1SORnXpXJ6Y/fulhsNhTeWN8++3nV7hxIikjYnbKZcVjz?= =?Windows-1252?Q?XN7a0IUucTfgyBiENw/k6wmDGUHyjShMFxYmu22QwwhoVjJCNSY+X30a?= =?Windows-1252?Q?gWMfSrx2GKAmudGr32rUdITdU8NPjV9VnUUtnH1pTz54sn8woQlXQo2d?= =?Windows-1252?Q?JyMbIunNlWUxKmbb3M5fs8dlv+NkRcaqqysl01qHegs+2GoYKTMiEYrA?= =?Windows-1252?Q?olb/sDEx+ZO7ag6sVBJOFRg+d6lMuiEubIrxqS875fnLgsofrF26YP9m?= =?Windows-1252?Q?bfrI1aqqV8e3GvduV0JOBDoD2Ms6EJ/XIoVA9ocoPg10H2TWeBWWuP6L?= =?Windows-1252?Q?pQOhHyBNzuw/HDIcybgkzrwGJbBPeIHndJJGNjPOGxJuCA1xBeU7YUTa?= =?Windows-1252?Q?YZQ2CPrEh8jwp84bsNIBh+87tXDrqghThbPO18vkoFGFjaKGO00Doe3/?= =?Windows-1252?Q?n+p1SuhzpWzFWp2XvapN1MK28vdAdttsj3VLrJDrVT991kZPu70m6cX+?= =?Windows-1252?Q?cemE8xiAdscXsUn39t5Rs22T+CbnPLul53zCdFHU6wEa0Vw2E/HdcB8Z?= =?Windows-1252?Q?vtb7dl/6tUtfbXEwxCx0CSS85/7NeNldpAlX6NeLlJoVizQaoiHXhbeV?= =?Windows-1252?Q?xg1He0lNk+HV+cFi8w9SMrwtKpM17Kk5nYukYCJN3L7XwryD8HAiEbrd?= =?Windows-1252?Q?SIo+WQG1gSUqnoatKA8TrJUSHckk5s6NQuPl32wv7jGKwutwj/zxlRq+?= =?Windows-1252?Q?kwaKOTqy6p7HTY3U4CPGUVWOI6rihihjGHarEXi5A/c5kQ4BqpZjzhXW?= =?Windows-1252?Q?q2QxFnhJ2bci3pJRReLeniL0AQxHCTnHBl9G/XDRABdX9TCRyYxt6DZy?= =?Windows-1252?Q?QfzHC+LYRxYshH15nkV30503fUM0euYXS1tdHLopfx/LeiLZb3fAJlYd?= =?Windows-1252?Q?MmqVewcLOQy3tCfRP6NANvLlZowXdMz/Z1p3HPKpD0QqYZ2tyUvqvbsD?= =?Windows-1252?Q?7z4Ziwmx3P/2S2NScTIhXnDrCgSn4aGBnU0BBcsVnWVrye8EvwKpXlSC?= =?Windows-1252?Q?Ido+cMva3sAfXzZFmXXdCFHB?= Content-Type: multipart/alternative; boundary="_000_PSAP153MB0536D554620251C222A1D72BCC959PSAP153MB0536APCP_" List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PSAP153MB0536.APCP153.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: e6175e4c-283b-496f-358d-08db3993d2bf X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2023 07:18:46.1782 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: LRcWXng6gLPeZry9eZ9tYwE/f6eKBeVglPj9dBQqMMRDx5CwQEE/kdkLpCp1LAeYaFu2O+pdDtJ46X9OjoT025/eBL+TSb8JoD564/fq3AA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2P153MB0703 X-Rspamd-Queue-Id: 4Pw0hD3jrbz4GSP X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --_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 = on behalf of Christopher Bowman Sent: Monday, April 10, 2023 12:30 PM To: 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
Have you tried to use = ; export MAKEOBJDIRPREFIX ?


Thanks & Regards,
 Souradeep


From: owner-freebsd-hackers= @freebsd.org <owner-freebsd-hackers@freebsd.org> on behalf of Christo= pher 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 tha= t 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 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.

Thanks
Christopher
--_000_PSAP153MB0536D554620251C222A1D72BCC959PSAP153MB0536APCP_--