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 1pWcf0-00057Q-07 for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Feb 2023 12:31: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 1pWcey-0001Fg-Gh for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Feb 2023 12:31:16 +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 1pWcew-0001FX-SV for pgsql-hackers@lists.postgresql.org; Mon, 27 Feb 2023 12:31:16 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWceo-0000Md-90 for pgsql-hackers@postgresql.org; Mon, 27 Feb 2023 12:31:14 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id DDAA4320027A; Mon, 27 Feb 2023 07:31:02 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 27 Feb 2023 07:31:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h=cc :cc:content-transfer-encoding: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=1677501062; x= 1677587462; bh=fhk6BtXxKYcKLuZoZZ7XDNntFAK+8A+FUzaHySbrNQw=; b=X i+kB4IAZ3dZJ6+s5HNDgXO/1aElieEmY2RqulL0XFOgChMTEeaJTbaUKU1knCe9b xgwr2Eq2ZLOoCIEphMm1xSBZFUO2zJqL6z2ylLNryt5eTU80BSWXOIyQzMWS9HBX e5CepN5r4nfS2v19mo16jkKqeRYysIyHys8Ond/nEPGa8Ng8adsRuvQDM+WCpl8w ZCxDw7MtctJADAO5PUwVYIJRmXF6/3GLNouJNEWJzMsShzIDe34ZIkEpNlYjfr9G IYYVgR7FiQ6/Q0OBPwLaiH1y0B333ytnBs7Pw5R76Q0UAZhQTFsWku6mTsHXlcIs 2P94NmEWLb7Es+T5lXVZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=fm1; t=1677501062; x= 1677587462; bh=fhk6BtXxKYcKLuZoZZ7XDNntFAK+8A+FUzaHySbrNQw=; b=A 6/mmXRvNQ+RwFIxSTha1CW/cEZg8N/62APheXOSmDtL40rfSWQqOoutfZAG2o8K8 7R4vTU9HSGP3Trqzrc3cgDxzHHsjN6FIQMpCHhzmLPhfJ4uMvgmiBlFzKRcsF+kb jHIKR+K3WAX7eQNTDAaq65Zqmyk/BTujKbcGkZ1tw7zSVOa0hOw+h8UokkgAV2sN CICcI+DlvRAd+/t52LmdzN1yx9zSxP+4PfKHB6PX43QwtyaLmO1TDiDZMsjkV3SY XYk3cGEPpL17fvEqOUfK0s8JtdW67XkhRzvXUinSBxiOF6msXIxW34lLn9LWuSnI lsTDDJjvJK8fbH0aD3YDA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeltddgfeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpeffrghg fhhinhhnucfklhhmrghrihcuofgrnhhnshonkhgvrhcuoehilhhmrghrihesihhlmhgrrh hirdhorhhgqeenucggtffrrghtthgvrhhnpeduieevleffvdetffdthedtkedvfefggffg udduhedtueejfffhtedtgeeiueduvdenucffohhmrghinhepmhgvthgrtghprghnrdhorh hgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihhl mhgrrhhisehilhhmrghrihdrohhrgh X-ME-Proxy: Feedback-ID: i1ff147bf:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Feb 2023 07:31:01 -0500 (EST) From: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= To: Justin Pryzby Cc: Andres Freund , pgsql-hackers@postgresql.org, Peter Eisentraut Subject: Re: meson vs make: missing/inconsistent ENV References: <20230226225239.GL1653@telsasoft.com> <20230226232104.5djexwyitlfemrhg@awork3.anarazel.de> <20230227020029.GN1653@telsasoft.com> <87edqbjr1i.fsf@wibble.ilmari.org> Date: Mon, 27 Feb 2023 12:30:59 +0000 In-Reply-To: <87edqbjr1i.fsf@wibble.ilmari.org> ("Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker=22's?= message of "Mon, 27 Feb 2023 11:17:45 +0000") Message-ID: <87a60zjnng.fsf@wibble.ilmari.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Dagfinn Ilmari Mannsåker writes: > Justin Pryzby writes: > >> On Sun, Feb 26, 2023 at 03:21:04PM -0800, Andres Freund wrote: >>> > Is there any consideration of promoting these or other warnings to >>> > fatal? >>> >>> You mean the perl warnings? >> >> Yes - it'd be nice if the warnings caused an obvious failure to allow >> addressing the issue. I noticed the icu warning while looking at a bug >> in 0da243fed, and updating to add ZSTD. > > Perl warnings can be made fatal with `use warnings FATAL => > ;`, but one should be careful about which categories to > fatalise, per . > > Some categories are inherently unsafe to fatalise, as documented in > . One disadvantage of making the warnings fatal is that it immediately aborts the test. Another option would be to to turn warnings into test failures, à la https://metacpan.org/pod/Test::Warnings or https://metacpan.org/pod/Test::FailWarnings. Both those modules support all the Perl versions we do, and have no non-core dependencies, but if we don't want to add any more dependencies we can incorporate the logic into one of our own testing modules. - ilmari