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 1hDi6f-0007Hi-E5 for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Apr 2019 04:11:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hDi6e-0005Uk-1j for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Apr 2019 04:11:32 +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 1hDi6d-0005Ud-Pc for pgsql-hackers@lists.postgresql.org; Tue, 09 Apr 2019 04:11:31 +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 1hDi6a-0004MQ-4y for pgsql-hackers@postgresql.org; Tue, 09 Apr 2019 04:11:31 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x394B57k006041; Tue, 9 Apr 2019 00:11:05 -0400 From: Tom Lane To: Peter Eisentraut cc: Stephen Frost , Magnus Hagander , Joe Conway , Alvaro Herrera , David Steele , Michael Paquier , Nico Williams , Robbie Harwood , PostgreSQL-development Subject: Re: [PATCH v20] GSSAPI encryption support In-reply-to: <160445e8-2ccf-7ffd-728f-80597c248a57@2ndquadrant.com> References: <20190405025925.GN6197@tamriel.snowman.net> <7d0584ab-26a8-6731-aeee-9c8e195533e6@2ndquadrant.com> <20190405124803.GO6197@tamriel.snowman.net> <20190405213745.GR6197@tamriel.snowman.net> <160445e8-2ccf-7ffd-728f-80597c248a57@2ndquadrant.com> Comments: In-reply-to Peter Eisentraut message dated "Mon, 08 Apr 2019 14:05:53 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6039.1554783065.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 09 Apr 2019 00:11:05 -0400 Message-ID: <6040.1554783065@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > On 2019-04-05 23:37, Stephen Frost wrote: >> I've also reached out to some colleagues about having one of them test >> with MacOS. What version are you on..? = > macOS 10.14.14 it says. I tried to replicate this on my own laptop (macOS 10.14.4 ... I do not think there is or ever will be a 10.14.14). I can't, because the kerberos test fails immediately: 1..4 # setting up Kerberos # Running: krb5-config --version # Running: kdb5_util create -s -P secret0 Can't exec "kdb5_util": No such file or directory at /Users/tgl/pgsql/src/= test/kerberos/../../../src/test/perl/TestLib.pm line 190. Bail out! system kdb5_util failed and indeed, there's no kdb5_util in /usr/bin/ or anywhere else that I can find. So I speculate that Peter is running some weird hodgepodge of Apple and Homebrew code, making the question not so much "why does it fail" as "how did it ever work". I also notice that the build spews out a bunch of deprecation warnings, because just as with openSSL, Apple has stuck deprecation attributes on everything in gssapi/gssapi.h. They want you to use their GSS "framework" instead. So I'm not convinced we should spend a lot of effort on fooling with the test scripts for this. This platform has got much more fundamental problems than that. regards, tom lane