Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hZzWS-0000xn-Hn for pgsql-bugs@arkaria.postgresql.org; Sun, 09 Jun 2019 15:14:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hZzWQ-0000rA-Vr for pgsql-bugs@arkaria.postgresql.org; Sun, 09 Jun 2019 15:14:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hZzWQ-0000r3-OM for pgsql-bugs@lists.postgresql.org; Sun, 09 Jun 2019 15:14:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hZzWI-00078d-GD for pgsql-bugs@lists.postgresql.org; Sun, 09 Jun 2019 15:14:14 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x59FE1UT004888; Sun, 9 Jun 2019 11:14:01 -0400 From: Tom Lane To: Matthew Bauer cc: pgsql-bugs@lists.postgresql.org Subject: Re: Test suite fails on macOS after update to 9.6.13 and 11.3 In-reply-to: <4D8E1BC5-BBCF-4B19-8226-359201EA8305@gmail.com> References: <4D8E1BC5-BBCF-4B19-8226-359201EA8305@gmail.com> Comments: In-reply-to Matthew Bauer message dated "Thu, 06 Jun 2019 00:13:40 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8239.1560093241.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 09 Jun 2019 11:14:01 -0400 Message-ID: <8240.1560093241@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Matthew Bauer writes: > The postgresql updates to 9.6.13 and 11.3 ends up breaking tests on my m= acOS machine. The log is attached, but it looks like a serious issue that = may require significant changes. Here is the full build log for 11.3: > https://nix-cache.s3.amazonaws.com/log/8ip66iqpchrqq77l7f4ccrrks5zh1bav-= postgresql-11.3.drv It's been awhile since I tried to work on a Mac that has System Integrity Protection turned on, but I think that SIP causes "make check" to fail in more or less this way, because (for no defensible reason) it strips DYLD_LIBRARY_PATH from the environment that's passed down to psql, causing failure to find the right libpq.dylib file. If you don't wish to turn off SIP, a workaround is to do "make install" before "make check". regards, tom lane