public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Andres Freund <[email protected]>
Cc: Nazir Bilal Yavuz <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Cc: Noah Misch <[email protected]>
Subject: Re: 'Bad file descriptor: dup2( 1, 2 )' error on MacOS CI tasks
Date: Wed, 01 Apr 2026 10:26:54 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <x5exjaepg73inqwj2dlaicle2pki2pjkpzwa2rksyvrkl7nhzq@rnsgrxmenl3i>
References: <CAN55FZ3VOUSO2ZmBUE9wRNnL9fUQfGv5qWefk_1pWYqgJ1bRSQ@mail.gmail.com>
	<x5exjaepg73inqwj2dlaicle2pki2pjkpzwa2rksyvrkl7nhzq@rnsgrxmenl3i>

Andres Freund <[email protected]> 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)

indri and laptop are both on latest macOS Tahoe, maybe the
problem only manifests on older releases?

			regards, tom lane





view thread (6+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: 'Bad file descriptor: dup2( 1, 2 )' error on MacOS CI tasks
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox