From nobody Thu Dec 12 03:47:46 2024 X-Original-To: freebsd-current@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 4Y7z4L4wKZz5gwVW for ; Thu, 12 Dec 2024 03:49:38 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from mx0b-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.pphosted.com", Issuer "Sectigo RSA Organization Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y7z4L2Hrcz4cgL for ; Thu, 12 Dec 2024 03:49:38 +0000 (UTC) (envelope-from sjg@juniper.net) Authentication-Results: mx1.freebsd.org; none Received: from pps.filterd (m0108157.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BBLsYk0026242; Wed, 11 Dec 2024 19:49:36 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h= cc:content-id:content-type:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=PPS1017; bh=9WCicXnxGCzr4 G7ZlCPOTzHBln0MJraF0kqpqdRe2UY=; b=U6x+k2FWyqHShj5ze/MkvaxiDlTew kaxYzQOEwBapXPXxAT6FOIZ5ZUKmTHiC6jP31hrBjLkUFyFPxcNrAlE6/GtEdk+Y vTLyEzjJaMCSj6eTuugXFfFWf1zA+4q940AcDzxMzISZ/cY/I9hjyZsesvGkvP4y tXWwJO3P/GYOWDBwpmLQdMXUsZ/GUTgWCG7iwO0caiX4eTYea3pddzNXMcnRa99f ylvqdVIC4FoJWOGrbzUHYK4OwQk2oyFsMb+hDFZI9lI7h8kzCSJ0uUOZ4zn3Lm/I 3tw6oBkw6faXIim4U2icUzXNOezTZcpadHmphuDIMxxXzjtCmAEDK20Yg== Received: from cy7pr03cu001.outbound.protection.outlook.com (mail-westcentralusazlp17012036.outbound.protection.outlook.com [40.93.6.36]) by mx0a-00273201.pphosted.com (PPS) with ESMTPS id 43exwuk7r5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Dec 2024 19:49:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ipyilacj8RDbq2yLFw0N+aEfq8f49LN1xrDSEvQPtbAX40RZdMpqIQmHVPAF6dyJv0njEXUSUWrVf7KOGtK6ZSvaCTwDOoKAU45CIg4RScZNka/0xY9Z0aly7RUsqqMsJCt4FPsgIQ04hHBweAzQ7G0XdY4yIKU8PB5YvVfrBuMbbruensKaqvLE0LJCuZKHKmxY2RjX+x22Jn5NlX94/wgvgyStxdNzuKGWQPNO3DsNhongrJJKHgKW75mBzJqxWxTuX+SHKMhivGZ6w2d8Vmg9g2+Q1BHUt/K6PyHBqwSrWzd9okjHmtYcUvGBVxDz6E243Y1B7sKQBgb2V2rHpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=9WCicXnxGCzr4G7ZlCPOTzHBln0MJraF0kqpqdRe2UY=; b=YYPBnZWHd17m5rZOvaXWkt9oqYNmQZqg5p67dE+tSXGoxwJyIrkH/irHJR0CUzXlN5WnF4giTHW0pG/QIHFAnbdjeSEpHyKwuGMv78MNa1/yoHhQBA9IHW7OY0dzY+CkXTQHkx6LcqAlNOaegTgf2YOepkapsGnnILXfHIm2rI4x3nMFuA0D/F82g0npVkWxenUdfDudYfd1Fv955Sjrc0GxVY78fjhb8NZiAeVtdRQFnH8KCFtFOzicfcFWXHgAMeeKoEiPGNH8FPlvcBGaOtRmML54np7VdDXBvsvc8p+6gaalXPK+BcCRCorDhG0o9at5G6XXH0Hq0g2Xfqw7Aw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 66.129.239.15) smtp.rcpttodomain=www.zefox.net smtp.mailfrom=juniper.net; dmarc=fail (p=reject sp=reject pct=100) action=oreject header.from=juniper.net; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9WCicXnxGCzr4G7ZlCPOTzHBln0MJraF0kqpqdRe2UY=; b=KZPORpYFp2EmkxEIjkyQR4OWhBPn3bTY3SQvB+Jd5eIOf6MgjrQwXf/flmM6MpTQwle+HEiIuyl9S/nECuQlNzJrci3LGnUo59RYH1XWIKMVtTfsbKhxQt1aEdMuuVqm0SEG912xsMxdn7B5JkE8xjPRlD4HtgZ0n5d/DbQGk/g= Received: from BL1PR13CA0086.namprd13.prod.outlook.com (2603:10b6:208:2b8::31) by DS0PR05MB10953.namprd05.prod.outlook.com (2603:10b6:8:200::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.15; Thu, 12 Dec 2024 03:49:33 +0000 Received: from BN3PEPF0000B36D.namprd21.prod.outlook.com (2603:10b6:208:2b8:cafe::bb) by BL1PR13CA0086.outlook.office365.com (2603:10b6:208:2b8::31) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8251.13 via Frontend Transport; Thu, 12 Dec 2024 03:49:32 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 66.129.239.15) smtp.mailfrom=juniper.net; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=juniper.net; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.15 as permitted sender) Received: from p-exchfe-eqx-02.jnpr.net (66.129.239.15) by BN3PEPF0000B36D.mail.protection.outlook.com (10.167.243.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.0 via Frontend Transport; Thu, 12 Dec 2024 03:49:32 +0000 Received: from p-exchbe-eqx-01.jnpr.net (10.104.9.14) by p-exchfe-eqx-02.jnpr.net (10.104.9.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 11 Dec 2024 21:49:31 -0600 Received: from p-mailhub01.juniper.net (10.104.20.6) by p-exchbe-eqx-01.jnpr.net (10.104.9.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4 via Frontend Transport; Wed, 11 Dec 2024 21:49:31 -0600 Received: from kaos.jnpr.net (kaos.jnpr.net [172.23.255.201]) by p-mailhub01.juniper.net (8.14.4/8.11.3) with ESMTP id 4BC3nU5i020939; Wed, 11 Dec 2024 19:49:30 -0800 (envelope-from sjg@juniper.net) Received: by kaos.jnpr.net (Postfix, from userid 1377) id 75653ACE7F; Wed, 11 Dec 2024 19:47:46 -0800 (PST) Received: from kaos.jnpr.net (localhost [127.0.0.1]) by kaos.jnpr.net (Postfix) with ESMTP id 7294EACF49; Wed, 11 Dec 2024 19:47:46 -0800 (PST) To: bob prohaska CC: , Subject: Re: Cleaning before using WITH_META_MODE In-Reply-To: References: Comments: In-reply-to: bob prohaska message dated "Wed, 11 Dec 2024 10:38:28 -0800." From: "Simon J. Gerraty" X-Mailer: MH-E 8.6+git; nmh 1.8; Emacs 29.3 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <93832.1733975266.1@kaos.jnpr.net> Date: Wed, 11 Dec 2024 19:47:46 -0800 Message-ID: <96807.1733975266@kaos.jnpr.net> X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PEPF0000B36D:EE_|DS0PR05MB10953:EE_ X-MS-Office365-Filtering-Correlation-Id: 3467db40-42d0-4551-6d63-08dd1a5ffcdf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|376014|36860700013|7053199007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?MIW/PTu5cRXkEruHOinl23L+peBuuPvMJ7mt6AtaXY7NdSHl/AVVXxhbWmm6?= =?us-ascii?Q?yDGUtqOr4b/OH4q4paYag22Wh0TkdYb+CyQsi7iUe6LGDewnkCsYNowiQIRJ?= =?us-ascii?Q?2ctAmxz41jLqWgwj+QMlfBUw0bARN2iw7hLOGmE/SAlFp4OVRJ4ZSIMWR125?= =?us-ascii?Q?TcHEFMXLqWaYsRpGyuePfJ4ndI/kxEHSRc94PXFnepljoqnW6P6+158H007E?= =?us-ascii?Q?HKqGP2OwWTCjGrAQCHNfsjJwfIFrYpli2DU6f/RT+GLuxwcyFBQjmngN+/2i?= =?us-ascii?Q?yRM2aKcR13mVRNCfPMIOK4Ai9YhBgEUylTcq3gcPm/EUCPw5TssJ5au+Klcc?= =?us-ascii?Q?EjgBDeQgYF2j4nPVTb+tca0K6YY9+t0Cmkr1UKyLs8zQUZU02bDSJ+iuox9v?= =?us-ascii?Q?8ha8Wt3FPYttxKCHLIkhujIBAW7pEATxCu5dz9guAE1VF8pEJrTRaXRaWLvf?= =?us-ascii?Q?XDhQd6KZSIrTSMKUu9CqydBlrpiC6mclxLogLmtep4YLqeFHI8blsRJ52hiP?= =?us-ascii?Q?ttObT+PKgow28pzE/GWSo/Dl8JI8uTIOfw3u2qc1Xr/Nsn71IWT3vqfiQ4l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Antispam-Report: CIP:66.129.239.15;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:p-exchfe-eqx-02.jnpr.net;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(1800799024)(376014)(36860700013)(7053199007);DIR:OUT;SFP:1102; X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Dec 2024 03:49:32.1788 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3467db40-42d0-4551-6d63-08dd1a5ffcdf X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4;Ip=[66.129.239.15];Helo=[p-exchfe-eqx-02.jnpr.net] X-MS-Exchange-CrossTenant-AuthSource: BN3PEPF0000B36D.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR05MB10953 X-Proofpoint-GUID: FmZ5Up-TfqUURSEaRMs_2wy4ZgIEiCXW X-Proofpoint-ORIG-GUID: FmZ5Up-TfqUURSEaRMs_2wy4ZgIEiCXW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 suspectscore=0 bulkscore=0 impostorscore=0 spamscore=0 mlxscore=0 malwarescore=0 priorityscore=1501 mlxlogscore=927 clxscore=1011 phishscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412120025 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:26211, ipnet:208.84.65.0/24, country:US] X-Rspamd-Queue-Id: 4Y7z4L2Hrcz4cgL X-Spamd-Bar: ---- bob prohaska wrote: > What cleaning options minimize interference with the use of WITH_META_MODE ? FWIW I very rarely clean a tree where I use META_MODE, maybe once a year or so. > Occasionally buildworld stops because of a missing dependency, usually > just re-running git pull fixes the problem. In cases where it does not If I need to clean I tend to use one of the 'destroy' targets, which is equivalent to your rm -rf /usr/obj below - which is way faster than any alternative. Note: bsd.obj.mk only defines destroy et al if you have OBJROOT defined (eg you use MAKEOBJDIRPREFIX or MAKEOBJDIR) > fix the problem how should one rank the various cleaning commands, from > least to most thorough? Using rm -rf /usr/obj obviously works but AIUI > deletes the data needed by WITH_META_MODE. The cleaning commands I've That's true, but the info in a .meta file is not needed in a clean tree build - it is most useful when re-building. > used include > make clean > make cleandir run once > make cleandir run twice > rm -rf /usr/obj > > but it isn't obvious how they interact with META_MODE. The short answer is they don't and it doesn't really matter. HTH --sjg