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 1lGaVj-0001xg-Az for pgsql-general@arkaria.postgresql.org; Mon, 01 Mar 2021 04:50:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lGaVi-0000F8-9H for pgsql-general@arkaria.postgresql.org; Mon, 01 Mar 2021 04:50:22 +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 1lGaVi-0000F1-1v for pgsql-general@lists.postgresql.org; Mon, 01 Mar 2021 04:50:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lGaVb-0001TX-JK for pgsql-general@lists.postgresql.org; Mon, 01 Mar 2021 04:50:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1214oCiQ671183; Sun, 28 Feb 2021 23:50:12 -0500 From: Tom Lane To: Ben Madin cc: pgsql-general@lists.postgresql.org Subject: Re: Problem building psql on Mac OS 10.15 (around readline bit I think) In-reply-to: References: Comments: In-reply-to Ben Madin message dated "Mon, 01 Mar 2021 11:45:54 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <671181.1614574212.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 28 Feb 2021 23:50:12 -0500 Message-ID: <671182.1614574212@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Ben Madin writes: > I am trying to build PostgreSQL 13.2 on Mac OS X 10.15.7. I was about to > build 13.1 on the same 10.15 (but probably not 10.15.7) about 8 weeks ag= o > without problems, so I was a bit surprised to find this error happening. > > *input.c:82:3: error: implicit declaration of function > 'rl_reset_screen_size' is invalid in C99* > [-Werror,-Wimplicit-function-declaration] > rl_reset_screen_size(); > ^ > input.c:82:3: note: did you mean 'rl_set_screen_size'? > /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/rea= dline/history.h:198:8: > note: > 'rl_set_screen_size' declared here > void rl_set_screen_size(int, int); > ^ That's odd. Did you update Xcode or Apple's "command line tools" since your last successful PG build? Do you have either MacPorts or Homebrew stuff on this machine? FWIW, I don't think we've changed anything in this immediate area in quite some time. So I guess something in your environment changed, but it's not clear what. regards, tom lane