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 1pDBK2-0003IT-3m for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Jan 2023 21:29:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pDBK1-0004fA-0K for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Jan 2023 21:29:17 +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 1pDBK0-0004f1-NT for pgsql-hackers@lists.postgresql.org; Wed, 04 Jan 2023 21:29:16 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pDBJy-0007PN-Er for pgsql-hackers@lists.postgresql.org; Wed, 04 Jan 2023 21:29:16 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D19815C00DD; Wed, 4 Jan 2023 16:29:11 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 04 Jan 2023 16:29:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1672867751; x=1672954151; bh=Q3wGHw/Z5D uLJaJYphw3RZGGDoltRZ2hfx6L39i7R9A=; b=cb9LhKJ0SLVfz5PMRLyLeYzVui Vc4x/gdM21bUEGc/2sIUyCxi2iTDTgpRBqdZkNKkFTv8Ib1jD0AJoq+SV6zldLlb oZesA6LmFNsVkQ6f9GCjlOy93za213keSlnV3JDLD2hD/AWpdW4Kb3Mz0JtAfYAl MgxkeMuz45npUYqzLJnf0DnTnIG08nu+7K3lSyUV4Bdj3EtZsZUSYbBkpgh5GwWs ygKRn/6yAH18RSPFhUaUh6f3ApFTMcxWBID1XGuNhy2Ij66v9UkOxjC3Hvi5+IJF 4wT8denVDeLZhrerQi5wi3BxPoNHsBPdY59VN1Dc+vslWhpkho4HO6Td5okg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1672867751; x=1672954151; bh=Q3wGHw/Z5DuLJaJYphw3RZGGDolt RZ2hfx6L39i7R9A=; b=lFDjSAx1RKDxcJWlMU/6r04JWSEOQKuEJ6JX1t3PuXeH 8sdua8SPTAXpfkl57EPRrBH6bsb3txzfsKmlZvU43w8Pu4AEcGiPZ0rjx7yeA7ta 2JClsHCSXCDNo6xyOJ5r000wqpztxTdm77JLk4VVZ8yIsga+nX/ICtnBeqGGXTc9 hk/Q8/vYksRqSFpzR2QbBtIyC8BRAPwawTM/p78rPVw9rCGR41FVKW/5JiTziaOo ADdYhAoyWslnlIF9Sr0fu1ohpXSU5BDBgwqH70bZGUpID3c54RgLkKzQPRyV17Ly OK5lq8mOMeY9zibCjbSX+w6MEGV6jZCAc8MDBj9NeA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrjeeigdduhedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 4 Jan 2023 16:29:11 -0500 (EST) Date: Wed, 4 Jan 2023 13:29:10 -0800 From: Andres Freund To: Tom Lane Cc: Robert Haas , Peter Eisentraut , Andrew Dunstan , PostgreSQL Hackers Subject: Re: meson oddities Message-ID: <20230104212910.nt634pxxumhz7p3o@awork3.anarazel.de> References: <1197537.1668546515@sss.pgh.pa.us> <20221115234042.zkxyxzv5wgewit33@awork3.anarazel.de> <030d04cc-d4f3-cd28-5bcb-b2b5d00f0015@enterprisedb.com> <20221116164010.uxsrhsqiqhftvkfp@awork3.anarazel.de> <1360237.1668617650@sss.pgh.pa.us> <20221116170747.zpaijt6zz7lgkffd@awork3.anarazel.de> <8efbb197-c55a-0947-35ba-6b8403d9baff@enterprisedb.com> <20230104193502.ax5gmgt6yqznolvm@awork3.anarazel.de> <2339907.1672867118@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2339907.1672867118@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2023-01-04 16:18:38 -0500, Tom Lane wrote: > Robert Haas writes: > > If we don't do as Peter suggests, then any difference between the > > results of one build system and the other could either be a bug or an > > intentional deviation. There will be no easy way to know which it is. > > And if or when people switch build systems, stuff will be randomly > > different, and they won't understand why. Given the difference is "localized", I think calling this out in the docs would contain confusion. > > I hear your point too. It's unpleasant for you to spend a lot of > > effort overriding meson's behavior if the result is arguably worse > > than the default, and it has the effect of carrying forward in > > perpetuity hacks that may not have been a good idea in the first > > place, or may not be a good idea any more. Those seem like valid > > concerns, too. This specific instance luckily is trivial to change from code POV. > Yeah. I think the way forward probably needs to be to decide that > we are (or are not) going to make changes to the installation tree > layout, and then make both build systems conform to that. I don't > really buy the argument that it's okay to let them install different > layouts. I *am* prepared to listen to arguments that "this is dumb > and we shouldn't do it anymore". What exactly shouldn't we do anymore? I just want to re-iterate that, in my understanding, what we're talking about here is just whether libdir defaults to just "lib" or whether it adapts to the platform default (so we end up with libdir as 'lib64' or 'lib/x86_64-linux-gnu' etc). And *not* whether we should continue to force "postgresql" into the paths. Greetings, Andres Freund