From nobody Thu Feb 23 01:18:45 2023 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 4PMZvh6cRjz3sk66 for ; Thu, 23 Feb 2023 01:20:16 +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 "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PMZvh59Mxz46vC; Thu, 23 Feb 2023 01:20:16 +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.17.1.19/8.17.1.19) with ESMTP id 31MLAh9o024098; Wed, 22 Feb 2023 17:19:54 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=to : cc : subject : in-reply-to : references : from : mime-version : content-type : content-id : content-transfer-encoding : date : message-id; s=PPS1017; bh=j9lIQJugf5KHnTLcw/fk9AYgXyooL/daNgyjNUfQkOk=; b=y6xxx3FB9olWbmSnV3i59ULGeVY6qElTEpUmJwMU+n3ocjfxvWisfeMDFKd44cBN17jC 3+opqt1YTDcU+tqipcf3xR3S62Q5sPyp91Qt0+J60jz48unTFyjawt4SJ6gnKSO5BdmJ dGEmVFS+zED+mWxECXZ8twNsXCXMNb07yUlJdc5U66AFiBPKk2vbP3iSxPCjRZqlRet9 zYxTVyno2t0D4hejPWHwZKAeK7tR2MZwdQOHq6SHrVjLeAJBkQW2q1N+58uoNcTkdG0U zecahgtQWTOQQarn/mz68uHl7L77MyZcjzIgpfKzFIvbozXIV34JolbD6Vtt4wtNxSMG Ww== Received: from dm4pr02cu002-vft-obe.outbound.protection.outlook.com (mail-centralusazlp17013033.outbound.protection.outlook.com [40.93.13.33]) by mx0a-00273201.pphosted.com (PPS) with ESMTPS id 3nwkgc1ag0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Feb 2023 17:19:54 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HSaI83C9Pcw45yqPSWYke5bxFGoBUiPwqrlbWABpE99RKoiVpkEMvmKSeAJDRzkjS08Cp86RYc/O0A4E3jV3kYgULMGu0UebFxXQZCBDf0Q/RRirUcviK3HcCDFb9rmI2L3bgAagS02MMRprC4f8CPgMmAhkY3kvjvj7Kz3JUtYDZIJyv6L85QpDWdP8mQRB7lqF9imd7dlAVzp5Ny7c5Sr3AKfKnI7zHD0YMxQ6doj2Qv39qjhsohsMKuIKsIIoDHBcHs2dh/b7fqjORsjrj/dNd+nt2y/Y+0V4ZN+I/Nfh8IzWgOHrjV3ApOutffoI5aImISZJylhh8nWtYuD+hw== 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=j9lIQJugf5KHnTLcw/fk9AYgXyooL/daNgyjNUfQkOk=; b=jWlh/koQjprmmo29Suht+GQ56zSRI+TGKiSxAuNvu3CzAZxPKIdMz+T5bpHXx5DkHh9yh3WTTUuxiEizLbRr1adp0OKqWCEZceNQ7uy4JZmO/bZ2ymY3s//mwSK5sEvPGXnadm3Fnwbmsx+w5j0bVP134OC8H4ZuZnWA1hymksVQoo49YoElgRzmYsnIxd5SerFe8i+i7MG0eG/h5vILPxm3naLUXIO1fRjeZhEDOj9sRGzlvJeos9bYXuIeS8AfLJ9NjR1o+RYITUBNz7uOohA9zGctWbRKUAvxxG+lQ21BRMdeISjTfgejzMLcyEIkvDzcR5kTn31KMv4gzJavRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 66.129.239.14) smtp.rcpttodomain=yahoo.com 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 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=j9lIQJugf5KHnTLcw/fk9AYgXyooL/daNgyjNUfQkOk=; b=UWPu/6qwG77TKwBn3ODe5+DrFa0uc+easFl260pObZJSQFUQxlp3th8bCQjizJ2+lTXMNR9FEgAfOhHSwka6aynb6j5CQPC/vhe9CfAaQsvgpTQnHqDF5W3SWY6zLJpI935pdtrvood1QV5hvIYK34KrvUMMuy7L7tQu4ICDcvE= Received: from BN8PR04CA0063.namprd04.prod.outlook.com (2603:10b6:408:d4::37) by CY4PR05MB3512.namprd05.prod.outlook.com (2603:10b6:910:5a::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.23; Thu, 23 Feb 2023 01:19:47 +0000 Received: from BN8NAM12FT073.eop-nam12.prod.protection.outlook.com (2603:10b6:408:d4:cafe::60) by BN8PR04CA0063.outlook.office365.com (2603:10b6:408:d4::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.19 via Frontend Transport; Thu, 23 Feb 2023 01:19:47 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 66.129.239.14) 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.14 as permitted sender) Received: from p-exchfe-eqx-01.jnpr.net (66.129.239.14) by BN8NAM12FT073.mail.protection.outlook.com (10.13.183.168) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.5 via Frontend Transport; Thu, 23 Feb 2023 01:19:46 +0000 Received: from p-exchbe-eqx-01.jnpr.net (10.104.9.14) by p-exchfe-eqx-01.jnpr.net (10.104.9.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.30; Wed, 22 Feb 2023 19:19:45 -0600 Received: from p-exchbe-eqx-01.jnpr.net (10.104.9.14) 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.986.30; Wed, 22 Feb 2023 19:19:45 -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.986.30 via Frontend Transport; Wed, 22 Feb 2023 19:19:45 -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 31N1Jh4t016911; Wed, 22 Feb 2023 17:19:45 -0800 (envelope-from sjg@juniper.net) Received: by kaos.jnpr.net (Postfix, from userid 1377) id 5A15620A55; Wed, 22 Feb 2023 17:18:45 -0800 (PST) Received: from kaos.jnpr.net (localhost [127.0.0.1]) by kaos.jnpr.net (Postfix) with ESMTP id 5799920A54; Wed, 22 Feb 2023 17:18:45 -0800 (PST) To: Mark Millard CC: Bryan Drewery , Current FreeBSD , Peter , Subject: Re: FYI: Why META_MODE rebuilds so much for building again after installworld (no source changes) In-Reply-To: <76FA98EF-6184-4D7E-A01F-0EE8117D0D10@yahoo.com> References: <3345EBA5-A09C-4E3F-B94D-39F57F56BDBB@yahoo.com> <73088.1611797582@kaos.jnpr.net> <10819.1677108389@kaos.jnpr.net> <76FA98EF-6184-4D7E-A01F-0EE8117D0D10@yahoo.com> Comments: In-reply-to: Mark Millard message dated "Wed, 22 Feb 2023 16:40:26 -0800." From: "Simon J. Gerraty" X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.1 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: <28362.1677115125.1@kaos.jnpr.net> Content-Transfer-Encoding: quoted-printable Date: Wed, 22 Feb 2023 17:18:45 -0800 Message-ID: <29887.1677115125@kaos.jnpr.net> X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM12FT073:EE_|CY4PR05MB3512:EE_ X-MS-Office365-Filtering-Correlation-Id: a4829c32-a154-470a-3032-08db153c0d13 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TTTCv9GIsYqN6CKhITFe/PTVZiAYmrGw+PM0xGQ0p7BxEp9VixlZroRAf1MF7olh3iIDpQpoBm9ltlZYK/ecS0v8KupLGW5nlLSl8YUt437H5i9ooi6QmLsUdBTEn+2m0FMYNBails1jfg4SiAyhs0w765zDhidhjkREYctPpmzXjSkel5FwDoey+mftoKZOsDJehDe936MUMITnb9/LqqQmeX2DYCLkbZYB1MWsTMhNuqd/OxcKBHI4xyBeQ9VFite24xdANSXRsc+5hZjvT8qiWn5MCgbSXmkCjoLbtk5W91AeLf5wmEUDL42IhaRSsc/bDgfknX1kVAMB4IFPrA/WKrgxDnYO6J3rf1MvFKOrovcwLcDr0KNV3GEDQ4oOINxWTIRmuwGliZph0tnWaB9k1X8ZbAug649/012Z4KstdSUCGvx7EEeRhTl+AYM6aYpA4nfJ95gS+HDXCcElSXiMgEGYe571Cu2x2M0VACbuJYzZMS+9s5umfNRB9YU+ThiF08f76C1MDUvHkvgrbQeNsv+6eqfHMGXVm9vnz4yRSwui5hFSJSI39yBiS6Ug8LkgSyO1VTYUnu0UCEZpNxoYGA6FutBh0hU7K14gwuWFV8x6tmqVeMgizwR8a7CF58iyzJukBSkZeQEIQuVDwOu2bYQHwlTWNea7ycREjOw8FagfHkITOMZOnynpUihg2WhsPNrDze9eBzFmqyDfGBcotrX7iZzYm6pEakonOKg++Z2KFyAQuV5I+TwY2vQiJRaI7s12KWxwBopP12uzaQ== X-Forefront-Antispam-Report: CIP:66.129.239.14;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:p-exchfe-eqx-01.jnpr.net;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230025)(4636009)(136003)(376002)(39860400002)(346002)(396003)(451199018)(36840700001)(40470700004)(46966006)(356005)(81166007)(40460700003)(2906002)(26005)(6266002)(186003)(9686003)(82740400003)(107886003)(36860700001)(5660300002)(7126003)(8936002)(316002)(478600001)(41300700001)(70206006)(70586007)(55016003)(86362001)(4326008)(336012)(6916009)(8676002)(7696005)(82310400005)(47076005)(40480700001)(54906003)(83380400001)(36900700001);DIR:OUT;SFP:1102; X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2023 01:19:46.3233 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a4829c32-a154-470a-3032-08db153c0d13 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.14];Helo=[p-exchfe-eqx-01.jnpr.net] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM12FT073.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR05MB3512 X-Proofpoint-ORIG-GUID: eIGPk0ecVQ1NbD9cL7EDREDFOf9BOcPW X-Proofpoint-GUID: eIGPk0ecVQ1NbD9cL7EDREDFOf9BOcPW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-22_12,2023-02-22_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 mlxscore=0 clxscore=1015 priorityscore=1501 phishscore=0 mlxlogscore=807 bulkscore=0 suspectscore=0 spamscore=0 adultscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302230009 X-Rspamd-Queue-Id: 4PMZvh59Mxz46vC X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Mark Millard wrote: > Thanks for the information. > = > > strings `which bmake` | grep META.IGNORE > > .MAKE.META.IGNORE_PATHS > > .MAKE.META.IGNORE_PATTERNS > > ${.MAKE.META.IGNORE_PATHS:O:u:tA} > = > The -dM output's "is newer than the target" lines > show the path from before the above transformation. > (The :tA results possibly could use another > sort/uniq sequence for the realpath results?) That indicates the above IGNOREs are not working. > I've been pondering things because, so far, my > attempts to experiment with this has failed to make > the -dM output lines for the paths go away and it > still does the related build activity. I've been > trying the likes of: > = > .for ignore_legacy_tool in awk cap_mkdb cat cp crunchgen crunchide dd eg= rep env file2c gencat grep gzip jot lex lb ln m4 mkcsmapper mktemp mv patc= h realpath rm sed sh touch truncate uudecode uuencode > xargs Is there anything under ${OBJTOP}/tmp that you don't want to ignore? Otherwise you could simply use .MAKE.META.IGNORE_PATHS+=3D ${OBJTOP}/tmp/ You might need ${OBJTOP:tA}/tmp/ or both. > .MAKE.META.IGNORE_PATHS+=3D ${OBJTOP}/tmp/legacy/usr/sbin/${ignore_legac= y_tool} > .endfor > .for ignore_other_tool in ctfconvert objcopy nm > .MAKE.META.IGNORE_PATHS+=3D ${OBJTOP}/tmp/usr/bin/${ignore_other_tool} > .endfor > = > in what I use for make.conf via: > = > __MAKE_CONF=3D/usr/home/root/src.configs/make.conf > = > It is using paths that match the -dM output lines ( sbin > use despite sbin -> ../bin being a symbolic link). > = > Note: WORLDTMP is not defined that early, thus the ${OBJTOP}/tmp > use. > = > -V.MAKE.META.IGNORE_PATHS is showing the paths I would > expect, matching the -dM lines. Do you have example? I really need to add some unit-tests for these...