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 1mb4Sv-0005n2-Mk for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Oct 2021 17:24:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mb4Su-0007sw-Gg for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Oct 2021 17:24:24 +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 1mb4Ss-0007sm-Oc for pgsql-hackers@lists.postgresql.org; Thu, 14 Oct 2021 17:24:24 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mb4So-00056n-7D for pgsql-hackers@postgresql.org; Thu, 14 Oct 2021 17:24:21 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id ECAAA5C0095; Thu, 14 Oct 2021 13:24:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 14 Oct 2021 13:24:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm2; bh=k JB5oQ049TwdCdfYVpqYWvl+/CO+EfSoQtHTp6lDMy4=; b=BJXWDkJhHliTGxogA 0rlwOLWE8Xj1bWtfn1jhbyCO9khlHFCbRvJGzNKkjSMG6JN/qHvwYyElpzkORQpq P4l6UwWrR6tPgPDl+fIvHqlBDXkoqWjpBYgSFW1+jTYOMSy+nirKOpJa5LMVWYNp BCYhJcjw1oUwZZs1ZeTdAMVjob+mpf7J+3Z6CldJCSej3+2ohmjzRA95Oym3NS0X 8lbMYxDX6XOugWXYqoiRie3Ak6+yOfHPj2H3p62X0y2XJ6uy9em3i5Xl2EyVeFtw zxz5fmGW3K56sCR1RKhZdVpu3HysH+jdZmS0YZs0EzuWXczuqaO/ttaR3U/Y6fBi xJCXA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=kJB5oQ049TwdCdfYVpqYWvl+/CO+EfSoQtHTp6lDM y4=; b=Wu6zRx1jcfWjy70xcDlDJDTVxWtr3SfhHzmTSO51yDP3VRd+vuvrEVObV j0py1+4uTWfDkaraiXiQpKvo00zJ98MaeXyyC8tMOP4U92JukPzB5K9LwDyjJ62n ViU/WTjf9YCI8DR+yf0uxtSQ7dE44ustmMxi8ovo2t0KvokXnj/72mWkXJRBdZp7 lT91FfQ8iujG9KXBbINu1/99j238EB4Bc7epxUCUKGReBQLGmplm6mJSamkQyIjG tOW1HkiycoY9LrVXJfIVL3D9/4hdi6iRVXAAtuSJPqPhLjjSwiJk+LWyK1OECpkN VLE/xoatglxPsgoLtHpi47oIsRO7w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdduvddguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpeeiudeujefhueefffffffekiedthfelueffueelhfekheeujefffefg hfffffetffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 14 Oct 2021 13:24:14 -0400 (EDT) Date: Thu, 14 Oct 2021 10:24:12 -0700 From: Andres Freund To: Alvaro Herrera Cc: Josef =?utf-8?B?xaBpbcOhbmVr?= , Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?= , Pg Hackers Subject: Re: [RFC] building postgres with meson Message-ID: <20211014172412.rovmzox7dsahclis@alap3.anarazel.de> References: <202110141329.wrlws2i24syb@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202110141329.wrlws2i24syb@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2021-10-14 10:29:42 -0300, Alvaro Herrera wrote: > On 2021-Oct-14, Josef Šimánek wrote: > > > I'm using Fedora 34 and I still see perl-Opcode.x86_64 as a separate > > package. Anyway it behaves differently with autoconf tools and the > > meson build system. Is perl disabled by default in the current build > > system? Hm, so it seems we should make the test separately verify that perl -M{Opcode, ExtUtils::Embed, ExtUtils::ParseXS} doesn't fail, so that we can fail perl detection with a useful message? > Yes, you have to use --with-perl in order to get it. With the meson prototype I set most optional features to "auto", except for LLVM, as that increases compile times noticeably. For configure we didn't/don't want to do much auto-detection, because that makes life harder for distributors. But meson has one switch controlling all features set to 'auto' and not explicitly enabled/disabled: --auto-features {enabled,disabled,auto} Override value of all 'auto' features (default: auto). so the argument doesn't apply to the same degree there. We could default auto-features to something else too. There were two other reasons: 1) I got tired of needing to disable zlib, readline to be able to build on windows. 2) Exercising all the dependency detection / checking seems important at this stage Greetings, Andres Freund