From nobody Thu Feb 23 06:23:49 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 4PMjgZ0RpRz3t3Y1 for ; Thu, 23 Feb 2023 06:25:14 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 4PMjgY72Wtz3FJ3; Thu, 23 Feb 2023 06:25:13 +0000 (UTC) (envelope-from sjg@juniper.net) Authentication-Results: mx1.freebsd.org; none Received: from pps.filterd (m0108162.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31N2IAIU013938; Wed, 22 Feb 2023 22:24: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 : date : message-id; s=PPS1017; bh=SKwfTvPs8ayXXrCQSlpsuAuMLMGu5loIWIwvgUjhnYI=; b=10+uQCjG8LeKfvg1O7iu512RmRv0xwtCks0Qrx4zLkqDflmLmrXt1uVvOecdc0toOGml F0jDYt0x8DVL93Z7Sby7/PEunWTnXql4hw0ZnFMYfI0HfBIbSZTBzb/4JKFN6Idv/M1/ Qd4xR/kkcPy08JdcOdXecJgI/OSRwQh46wmz0GGenm0SUtXjj05bBeDb4lOZKbq4P3PY S5e4Ll/sMG9XMSGIodyB6IWHf+a8pRL6lc7aBZbHs0sfcV9Q1ljDG4IZTbrcT4DNK2oG 45vOGAFGh2G6tHWCplVhD+mdUSlhTTpu/Sz37AvtynlYS33dlJx99YCtpJ+i+2oKFxT+ nQ== Received: from dm4pr02cu001-vft-obe.outbound.protection.outlook.com (mail-centralusazlp17012026.outbound.protection.outlook.com [40.93.13.26]) by mx0b-00273201.pphosted.com (PPS) with ESMTPS id 3nwy858dc9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Feb 2023 22:24:53 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GfHo2J/fVbqlyH8zYLpsT7nx0ew0ckBxObCe99mV8KHI+mFGXiFNl2noYemeNIbsPLdCamoJkPI2zxLx4LOsanLeJXV2IGuoFgh9PvLWQlrt9oEc7GLSfx2ieRYNXk9tWcVsC61EBWno2dQx+Ce7N0yatP3j168OrfgcGYysgKg2K0aU04XeKDhu8QYjfQ+XzNY7rrVSy7/jZuFkb4Ud8KYD1Cm2vMd91jnKDHUR+bfkONbPI/3M242tFIxuvGUKD7xPVnTtnQWMYNvl+yIBMDHn3ywaVmG2EyvTyBNQ6aq06lL+oxr08hLqbiRvhPUssqQ9xNg5NJPo4A6mka0qvA== 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=SKwfTvPs8ayXXrCQSlpsuAuMLMGu5loIWIwvgUjhnYI=; b=NiifrTEkut8zyrJsWScZhC0JxB8GfNei/hchxgemY0qDkGQu8OZFwuNfwJDsKll5f8w6yUb7eonTWpPXav6PEhdZnXddGPj3H54Txlc8UohcOddmaaK4vhtFf0OD0zGwySTVqgfGBkjVMdEHVny6IUGQ/cdvpEH41FEoNj/ICBdSX0QF79HknuVu8CrPlQOVkLLhBuKKW4CQ2jJ4F3a2S28vPEcJeElzc8SMyfxqQuw1B6+H8NQpoVndvGZothhRZ7V6DGO51ZSmguJ39YNGDlHvaN6cCA2aQTcU2VAQlamNYulJkx+fK0xjGLmZ+itkY/ZuU6i5iNh/B/RtFyoyDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 66.129.239.15) 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=SKwfTvPs8ayXXrCQSlpsuAuMLMGu5loIWIwvgUjhnYI=; b=VOIdefVNxauHzb3s+CcLbA1sRBoqadLAKNdwR/7hLXap6rfDKysRAryVYvxTvVaJosHUI518K5Vh4AxMASzusIg48sJi7Cf1PK0HnHKJO67Rp+zbRrkunsj+VtW4htrsF3mztDC0DB/Z6HL/oSHhQJGTtYep2pCA45okSRN/wbQ= Received: from MW4PR03CA0316.namprd03.prod.outlook.com (2603:10b6:303:dd::21) by SA0PR05MB7226.namprd05.prod.outlook.com (2603:10b6:806:c1::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.19; Thu, 23 Feb 2023 06:24:49 +0000 Received: from MW2NAM12FT102.eop-nam12.prod.protection.outlook.com (2603:10b6:303:dd:cafe::7) by MW4PR03CA0316.outlook.office365.com (2603:10b6:303:dd::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.21 via Frontend Transport; Thu, 23 Feb 2023 06:24:49 +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 MW2NAM12FT102.mail.protection.outlook.com (10.13.181.221) 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 06:24:49 +0000 Received: from p-exchbe-eqx-02.jnpr.net (10.104.9.15) 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.986.30; Thu, 23 Feb 2023 00:24:48 -0600 Received: from p-exchbe-eqx-01.jnpr.net (10.104.9.14) by p-exchbe-eqx-02.jnpr.net (10.104.9.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.30; Thu, 23 Feb 2023 00:24:48 -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; Thu, 23 Feb 2023 00:24:48 -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 31N6OmMN001280; Wed, 22 Feb 2023 22:24:48 -0800 (envelope-from sjg@juniper.net) Received: by kaos.jnpr.net (Postfix, from userid 1377) id D98CA20C35; Wed, 22 Feb 2023 22:23:49 -0800 (PST) Received: from kaos.jnpr.net (localhost [127.0.0.1]) by kaos.jnpr.net (Postfix) with ESMTP id D84C2209FB; Wed, 22 Feb 2023 22:23:49 -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: <27790339-240F-4C97-97C7-38AFD8DE03D5@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> <29887.1677115125@kaos.jnpr.net> <27790339-240F-4C97-97C7-38AFD8DE03D5@yahoo.com> Comments: In-reply-to: Mark Millard message dated "Wed, 22 Feb 2023 19:47:41 -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: <67738.1677133429.1@kaos.jnpr.net> Date: Wed, 22 Feb 2023 22:23:49 -0800 Message-ID: <72419.1677133429@kaos.jnpr.net> X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW2NAM12FT102:EE_|SA0PR05MB7226:EE_ X-MS-Office365-Filtering-Correlation-Id: 5527e35e-e383-45dc-d614-08db1566aa6a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HQ9RSDQ8hTJv9v7Nf3qmB8LLWZDCkFvH08xcupj3RADXWReeyALg3i3XCD9wpo4dZuKkdZj1MzPlJaXAB0BnupEYONTL9vrXJrY8E6QBwnZN+TgFiWqlJk+uVO+dW6pvHaOioXQgVwxnTPEK+KChG/MSGotVTfNN4nG/02ybm25trj27UgQw/qWr6sN/1s1oSFAYODl4T3i6VI79H502XRU+5C94BRz/fBL577hg7Q6A5SQb4JFmLuBlvBlFJrdJC09w3UWhDYdSxP5jq+kqcVlzmnYPb7dQnFbukkGarqKq5P3L5ko0UpiVqFqtoysRfIOXZusxCtXV7kI0oHTVWPcw8662DQ+a0OSRLJVC+bIWmzQDrgx1nRmynHftX3cgnA4H6+8AuXRhnNXi93om5zKW5oDz4AETakk0tJYRYXc0rj5UcSV2je5OiIRmJwS2WuKt+HxNpFvqSm8AWJvSwjAjUXwP1+QIR5g0zAPRABoIsxXzrjQRjOsOU/310EBi3F5r1M68hPR3OWni8DXqLxP1CXENDNDZz9veTf0YA3ydL4QB823TLYs0FF9EIfe3Wc3raBbHW+GgQVMAalGbmU8KnA+FVs+ebR2/C0uVHd+fEp15e9o2JbMhE7YZ/arBCr8oNXJpmeqp4ThRMF07uR3CYuIntXDHE2UoTOxvU81IyUabWBnW0oG8aVN5/NJ/U5x+uWyptyvfGQinGpNcM4sc8280ZOE25tztlzFHFNlVygKxvaY1wZRTV6MRA5vUcFgEJaweXjHBFG4mRq1Ry/HTY2gTEdXsfOzB7U/JjhY= X-Forefront-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:(13230025)(4636009)(396003)(136003)(39860400002)(346002)(376002)(451199018)(46966006)(36840700001)(40470700004)(186003)(107886003)(6266002)(26005)(9686003)(7126003)(336012)(478600001)(54906003)(7696005)(47076005)(316002)(83380400001)(82740400003)(6916009)(70586007)(70206006)(4326008)(5660300002)(41300700001)(8676002)(8936002)(36860700001)(2906002)(81166007)(40460700003)(356005)(40480700001)(55016003)(82310400005)(86362001)(36900700001);DIR:OUT;SFP:1102; X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2023 06:24:49.2564 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5527e35e-e383-45dc-d614-08db1566aa6a 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: MW2NAM12FT102.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR05MB7226 X-Proofpoint-ORIG-GUID: 1q2qcWI8XMwuYVoctk3SsxOb1fxcAr96 X-Proofpoint-GUID: 1q2qcWI8XMwuYVoctk3SsxOb1fxcAr96 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-23_02,2023-02-22_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 clxscore=1015 impostorscore=0 mlxscore=0 suspectscore=0 malwarescore=0 spamscore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302230054 X-Rspamd-Queue-Id: 4PMjgY72Wtz3FJ3 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:22843, ipnet:67.231.152.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: > > > > Is there anything under ${OBJTOP}/tmp that you don't want to ignore? > > More than just _bootstrap_tools_links entries end up in > ${WORLDTMP}/legacy/bin/ (so in ${WORLDTMP}/legacy/sbin/ > via the symbolic link pointing to ${WORLDTMP}/legacy/bin/ ). > So: yes. > > Also, OBJTOP is not constant over all the parts of > buildworld buildkernel . Having the late-substitution > form of notation ${OBJTOP} might not be appropriate > for the content of .MAKE.META.IGNORE_PATHS . Fwiw .MAKE.META.IGNORE_PATHS is evaluated when meta_init() is called after all the makefiles have been read - and had a chance to influence .MAKE.MODE, so I'm not sure how varaiablity of OBJTOP would matter? > > .MAKE.META.IGNORE_PATHS+= ${OBJTOP}/tmp/ > > (Ignoring the variability of OBJTOP issue . . .) > > I do not expect that would work: ignoring things > it likely should not. Sure, but it may be useful as an experiment to ensure things are behaving as expected. > Also, I'd rather grow a smaller set of ignores > gradually to make it easier to detect if an > addition starts causing a problem and can be > backed out. Starting with everything ignored > would make things much harder to figure out > when ignoring creates a problem. Yes. > > > You might need ${OBJTOP:tA}/tmp/ > > or both. I found it necessary in the unit tests to add :tA to both TMPDIR and .OBJDIR to get sane result on one test platform. > >> It is using paths that match the -dM output lines ( sbin > >> use despite sbin -> ../bin being a symbolic link). use :tA if you want to ensure consistent results. > > I really need to add some unit-tests for these... Done - not yet imported to FreeBSD though > You may want to wait while I see if I can come up with > a better example context to show things. I only just > noticed the late-substitution potential issue and > started looking for a way to avoid it, for example. > (Either a value that does not vary or a form of > causing up-front substitutions in my make.conf .) Ok