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 1pboZT-0006M6-Fp for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Mar 2023 20:15:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pboZS-0000lN-Dz for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Mar 2023 20:15:02 +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 1pboZS-0000kw-3w for pgsql-hackers@lists.postgresql.org; Mon, 13 Mar 2023 20:15:02 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pboZP-000059-NG for pgsql-hackers@postgresql.org; Mon, 13 Mar 2023 20:15:01 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3C9335C020E; Mon, 13 Mar 2023 16:14:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 13 Mar 2023 16:14:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type: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=1678738498; x=1678824898; bh=g3 j5j3JqiC0BEZAsHXz6BCTdGKR999EcXh58OPPuMWs=; b=TaPiuScRGELqvXTxDH fivS+DV+O3Ef3UwInwurez5ibg0YmeAcU3c0JVnTvTQJ2EydFkjH9Ninqc/J+U3+ HnhMPK/JwHSlQyDQISNISJvkabHlehQmSb796XKZpmbuw5XzjPKzyOC5/cPR0bzC 0rggHU7XZX/4RlTivY5XRR7Y4nCTHnbmLCf36KP/4yiFzXuNeextD1tJ60YSO/An n48+D7luTwm9fX563fU/72DHBaeS4TDxtY0R/b1vFojorEQ2YkggJN5vPDGzgWHx IMrecOzc82DjNMbUuKmWJNJZV+GlU0Qnqxc8rAD1ec/HWonglNMnwpWyztROA9ks 8m2w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type: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=1678738498; x=1678824898; bh=g3j5j3JqiC0BE ZAsHXz6BCTdGKR999EcXh58OPPuMWs=; b=ETRcBYYIVaRn2tvIvcs1zE5M1i7kX ZFM4XH1XI0kym4Kke+O1zNEsiVp5yIIpFgrAYNyB6puczpE3LkaX3gXCTcsDx2Am iLGZzgfBY9prhO/wa8mtUT9or7xfir6GNWhpHKJIgr9omjl9KkUw70GMVRllNf50 6u2h+1J8xrX6Oj/HxFQ7QRlLgJn2X9qomZMdXP9y+atIDMXhraEO11rShgTM9ZIO Nb1nwBnLA44/aeqgCAljbJ8zGlKQCYPSnR556opEj5VQuKacQiynvpyvgsH+bt1H VFya6nxhRctu1X3JsXJVRr47iaD1VEotojlHSo5Yct/JoRwERCuwXnpPg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddvgedgudefvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpedvffefvefhteevffegieetfefhtddvffejvefhueetgeeludehteev udeitedtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 13 Mar 2023 16:14:57 -0400 (EDT) Date: Mon, 13 Mar 2023 13:14:56 -0700 From: Andres Freund To: Nazir Bilal Yavuz Cc: Nathan Bossart , Peter Eisentraut , Daniel Gustafsson , PostgreSQL Hackers Subject: Re: meson: Non-feature feature options Message-ID: <20230313201456.k2u64icabmn4l2e2@awork3.anarazel.de> References: <0fff0827-c1f5-d29c-2ee3-dc8c871176bf@enterprisedb.com> <9df9067d-5651-2d3e-e838-9e5d273f5524@enterprisedb.com> <5250E85B-4A97-4DA1-8900-7DCDE925441A@yesql.se> <6d3310fb-50e3-34d8-fe10-8dd8c4ffdf23@enterprisedb.com> <20230313180432.GA246741@nathanxps13> 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 2023-03-13 21:57:22 +0300, Nazir Bilal Yavuz wrote: > On Mon, 13 Mar 2023 at 21:04, Nathan Bossart wrote: > > > > On Mon, Mar 13, 2023 at 07:27:18AM +0100, Peter Eisentraut wrote: > > > I have committed it like this. > > > > I noticed that after 6a30027, if you don't have the OpenSSL headers > > installed, 'meson setup' will fail: > > > > meson.build:1195:4: ERROR: C header 'openssl/ssl.h' not found > > > > Shouldn't "auto" cause Postgres to be built without OpenSSL if the required > > headers are not present? > > Yes, I tested again and it is working as expected on my end. It > shouldn't fail like that unless the 'ssl' option is set to 'openssl'. > Is it possible that it has been set to 'openssl' without you noticing? It worked for the dependency() path, but not the cc.find_library() path. See the patch I just sent. Greetings, Andres Freund