Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w7wsy-0003xh-04 for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 14:49:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w7wsw-000bm5-1f for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 14:49:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w7wsv-000blx-2Y for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 14:49:34 +0000 Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w7wss-000000001ts-2ZlB for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 14:49:33 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id 77A4A1400280; Wed, 1 Apr 2026 10:49:29 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Wed, 01 Apr 2026 10:49:29 -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:subject :subject:to:to; s=fm2; t=1775054969; x=1775141369; bh=uZ7ocVdRFM IDO6vFfVsg0x4wnOf0+IHeWlErl0P4OEI=; b=T1S43S7kfeA05kYnsTfHtUWx4W NYAmorcO2+1myx2s6wUXYnSKRC4nCwdvVKNAzw/APmhmx+IbmJFWFTu5hNhjy7VE Yhf7a8wTiQLNXfDGFNVi0EurJUvoXe9+rv+2WWOHqCJE6XLsDafPb09LR6/VK8ZA D0s3gIDjnuiiyR4LezAFAMOHQ+es08gJyOtvqREoaS5RlbTiup/I9vTMhgF8gdzk KAQAceWEFY4xe/wwd054p1xvuywVj1Y7OIigCkHXLfbQFoNqZJY+sPjVTHc64UV2 6P+gDLlwE+syHnzPH4OaZpjddnOawIAw4G+LP8Cr/XBTopXfP9G4mAGbc0KQ== 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:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1775054969; x=1775141369; bh=uZ7ocVdRFMIDO6vFfVsg0x4wnOf0+IHeWlE rl0P4OEI=; b=E8c8Px9LhJnFgc5opTMkkvmzyEUnygp6h/Eef3nhb+rBtKW8D9p DOaPpLOAQ05bfftKJSxKmzgWgiK0rtfxfVQv273VcErXTTfsRxRuBPe6HCGnHxBW amt83eO2VOi6rVXU1iMLCli3egHvC0pE3u5Ny1cM8bqupFCbzVxtOUT/EQQ+qcpm OkxY6blfta5v54LpdydP17Tnm1zKhb01e2wtUsKBhzB92KhlPeb69wuuaH6CiCtu 3pvskrZGi1KPncamTru9o0vtd2HpkC1nNoX56HRbwGdOvh0veFOCwqPDkLk7xdaO IKNU4osj3VUCfhNxBze9E4CwQRW0Jgk1D7Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdefgedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh epfffhvfevuffkfhggtggujgesthdtsfdttddtvdenucfhrhhomheptehnughrvghsucfh rhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrfgrthhtvg hrnheptedtkeefffeuudeufeeiffekgeeujefgteefvefhudegleehieeufeffhfehgffh necuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghlrdguvgdp nhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepsgihrg hvuhiikedusehgmhgrihhlrdgtohhmpdhrtghpthhtohepnhhorghhsehlvggruggsohgr thdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpoh hsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehtghhlsehsshhsrdhpghhhrdhprgdr uhhs X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 1 Apr 2026 10:49:29 -0400 (EDT) Date: Wed, 1 Apr 2026 10:49:28 -0400 From: Andres Freund To: Tom Lane Cc: Nazir Bilal Yavuz , PostgreSQL Hackers , Noah Misch Subject: Re: 'Bad file descriptor: dup2( 1, 2 )' error on MacOS CI tasks Message-ID: References: <2901836.1775053614@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2901836.1775053614@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2026-04-01 10:26:54 -0400, Tom Lane wrote: > Andres Freund writes: > > On 2026-04-01 16:28:21 +0300, Nazir Bilal Yavuz wrote: > >> My current hypothesis is that all of these three tests use 'IO::Pty'. > >> On MacOS CI, we install this via MacPorts using the 'p5.34-io-tty' > >> package [2], which was updated about 2.5 days ago. I am not sure if is > >> relevant but it has a known issue on Darwin [3]: > > > This presumably means that every macports user (e.g. Tom), will see this as > > well after installing the latest updates. > > There must be some other factor involved. indri has been using > p5.34-io-tty since I last did "port update" there, which looks > to have been 22 March. And it's not failing. My laptop is > also okay with these tests, and it likewise has > > $ port installed | grep io-.ty > p5.34-io-tty @1.200.0_0 (active) I think that means you have the old version. The new, broken, version appears to be p5.34-io-tty @ 1.240.0 The problematic version was just released two days ago, so if you last did a port update on the 22nd, it'd make sense that you don't have the problematic version yet. The macports change was: https://github.com/macports/macports-ports/commit/7aafb014a1204e7bef28d5ec5b907bd2b0dee018 Greetings, Andres Freund