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 1nhHUi-0008OU-5z for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Apr 2022 21:04:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nhHUg-00086S-TB for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Apr 2022 21:04:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhHUf-00082a-Tl for pgsql-hackers@lists.postgresql.org; Wed, 20 Apr 2022 21:04:10 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhHUd-0003pp-5w for pgsql-hackers@postgresql.org; Wed, 20 Apr 2022 21:04:08 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id C90AE5C009E; Wed, 20 Apr 2022 17:04:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 20 Apr 2022 17:04:05 -0400 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=fm1; t=1650488645; x=1650575045; bh=zXj7hc3BdI zyuMwCISWAr2z4DrSiaEZNqUQubcrOyBQ=; b=sJwwwrsQkO/7dAUsEgRSvq1w9i ng5HiOHGPkieDuyoQUwrzmbjLOK+PuQfuO+e3uD8/joB41uWyvl1ixnZihX4WcUn wUALDBTMCN9Np4oLlZI4UPzTqXpxQPmXnMesM2jDdIvFX395dbEP3DE/ra+UPIvP h3H9mOHZGdZ0sTMeaLzI+McoAuFsBGh3Z5OuBQmQcAG/3OXKDXfb9fnHZWnO/sSn c15ZodFFEkB2MT8m0MUi5v3CcNvLIvj/rDOODeB05bQxCZMwtbdiiM7+/lJvuGUM CD+2ENEQPnZBY5rbVGSgOZzF2KOqS21+/woxTEzq7C1mmF9JofE90PRV6rkQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; 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:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1650488645; x= 1650575045; bh=zXj7hc3BdIzyuMwCISWAr2z4DrSiaEZNqUQubcrOyBQ=; b=y d1tC+WKUymEviENKz44ywzY0S0RoeNq35Vli99a3iXhOu9qdATQDjegUrm88ygUZ wwb6JKKkKcjQYgr+SdnD9AxuOA7AAwX/k/F45OUMpC20YHbEpLsRaBT2U/a9rIi3 q7AdAKnDCV8GI2I0O1uFA0gQpALRxidJOY+qgr6L0pbw1TSBF40QUNIc6FKBEp3f d/Qfamb/hctYOin4tCzrvLWKv1GCrIrobTO1yP4ZVz7+7Ax3EvZf5XyndMJzZ6uz y1MPkjVnZRATl+e9mKLkna2tdLddkVKXp3vCcXWUdi3Clnz+WqB+sp9Pmu6tbvdi D0hpljNeA1uaOIYNwPR5w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrtddtgddufedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Apr 2022 17:04:05 -0400 (EDT) Date: Wed, 20 Apr 2022 14:04:03 -0700 From: Andres Freund To: Peter Eisentraut Cc: pgsql-hackers@postgresql.org Subject: Re: [RFC] building postgres with meson -v8 Message-ID: <20220420210403.zlyi42hx5thvwce3@alap3.anarazel.de> References: <20220308025629.3xh2yo4sau74oafo@alap3.anarazel.de> <721828a7-3043-6803-a85b-da63538db3cc@enterprisedb.com> <20220309164420.rr5lws22asrd5mfm@alap3.anarazel.de> <20220322022208.44py5lk7twdfuqb5@alap3.anarazel.de> <78b4383b-1e25-aacd-7c41-ecdeb8a3292f@enterprisedb.com> <20220328195913.rz3bllzhr26innoi@alap3.anarazel.de> <498f4933-7fa9-6815-7574-1d3b2ec85daf@dunslane.net> <1037188.1648508299@sss.pgh.pa.us> <20220328231140.7ylalxc76zli6p46@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-04-13 12:26:05 +0200, Peter Eisentraut wrote: > Some feedback and patches for your branch at > 3274198960c139328fef3c725cee1468bbfff469: Thanks! I just rebased the branch, will merge your changes once the fallout from that is fixed... > 0001-Install-a-few-more-files.patch > > These are just some files that were apparently forgotten to be installed so > far. > 0002-Adjust-some-header-file-installation-paths.patch > > The installation of server headers is apparently still in progress. This > just adjusts the installation directory of those that are already being > dealt with, so they match the existing installation layout. Yea. I've not at all paid attention to that so far, besides getting tests to pass. > 0003-Fix-warnings-about-deprecated-features.patch > > This fixes some deprecation warnings and raises the requirement to 0.56. I don't see any deprecation warnings - I see some notices about *future* deprecated features being used: NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path'} * 0.56.0: {'meson.source_root', 'meson.build_root'} (i.e. once the minimum version is increased to > 0.54, those will trigger deprecation warnings) What are you seeing with what version? > I'm not sure why the current cutoff at 0.54 was chosen. Perhaps that could > be documented. Not quite sure why I ended up with 0.54. We definitely should require at most 0.56, as that's the last version supporting python 3.5. > 0004-Install-postmaster-symlink.patch > > This needs 0.61, so maybe it's a bit too new. Yea, that's too new. I think we can just create the symlink using ln or such if we need it. > Or we could get rid of the postmaster symlink altogether? But that seems like a better approach. > 0005-Workaround-for-Perl-detection.patch > > This is needed on my system to get the Perl detection to pass. If I look at > the equivalent configure code, some more refinement appears to be needed in > this area. > From 1f80e1ebb8efeb0eba7d57032282520fd6455b0d Mon Sep 17 00:00:00 2001 > From: Peter Eisentraut > Date: Wed, 13 Apr 2022 11:50:52 +0200 > Subject: [PATCH 5/5] Workaround for Perl detection > > --- > meson.build | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/meson.build b/meson.build > index 1bf53ea24d..e33ed11b08 100644 > --- a/meson.build > +++ b/meson.build > @@ -545,9 +545,9 @@ else > # file existence. > if perl_may_work > perl_ccflags += ['-I@0@'.format(perl_inc_dir)] > - if host_machine.system() == 'darwin' > - perl_ccflags += ['-iwithsysroot', perl_inc_dir] > - endif > + #if host_machine.system() == 'darwin' > + # perl_ccflags += ['-iwithsysroot', perl_inc_dir] > + #endif > endif What problem do you see without this? It did build on CI and on my m1 mini box as is... Greetings, Andres Freund