Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogBTl-0003Qq-2g for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Oct 2022 20:58:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ogBTj-0002lb-OC for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Oct 2022 20:58:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogBTj-0002jk-F1 for pgsql-hackers@lists.postgresql.org; Wed, 05 Oct 2022 20:58:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogBTe-0002LR-Rt for pgsql-hackers@postgresql.org; Wed, 05 Oct 2022 20:58:55 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 295Kwk902555942; Wed, 5 Oct 2022 16:58:46 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@postgresql.org, Nazir Bilal Yavuz , Peter Eisentraut Subject: Re: meson PGXS compatibility In-reply-to: <20221005204944.cwkaod6hfok2w7vj@awork3.anarazel.de> References: <20221005200710.luvw5evhwf6clig6@awork3.anarazel.de> <2551486.1665001222@sss.pgh.pa.us> <20221005204944.cwkaod6hfok2w7vj@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 05 Oct 2022 13:49:44 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2555940.1665003526.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 05 Oct 2022 16:58:46 -0400 Message-ID: <2555941.1665003526@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > My understanding, from that commit message, was that the issue originate= s in > apple's ranlib setting the timestamp to its components but only queries = / sets > it using second granularity. I verified that apple's ranlib and ar these= days > just set the current time, at a high granularity, as the mtime. Whether= or > not make then hides the problem seems not that relevant if the source of= the > problem is gone, no? Well, (a) it seemed to happen in only some circumstances even back then, so maybe your testing didn't catch it; and (b) even assuming that Apple has fixed it in recent releases, there may still be people using older, un-fixed versions. Why's it such a problem to keep the "touch" step? regards, tom lane