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.94.2) (envelope-from ) id 1r2aIr-00HW4V-C6 for pgsql-general@arkaria.postgresql.org; Mon, 13 Nov 2023 17:00:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r2aIp-00GtVd-Qb for pgsql-general@arkaria.postgresql.org; Mon, 13 Nov 2023 17:00:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2aIp-00GtVU-Fn for pgsql-general@lists.postgresql.org; Mon, 13 Nov 2023 17:00:47 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2aIi-005OTt-T7 for pgsql-general@lists.postgresql.org; Mon, 13 Nov 2023 17:00:46 +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 3ADH0ddY2075565; Mon, 13 Nov 2023 12:00:39 -0500 From: Tom Lane To: Shaik Mohammad Mujeeb cc: pgsql-general@lists.postgresql.org Subject: Re: Issue in compiling postgres on latest macOS 14.1.1 In-reply-to: References: <1998997.1699890540@sss.pgh.pa.us> Comments: In-reply-to Shaik Mohammad Mujeeb message dated "Mon, 13 Nov 2023 21:49:33 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2075563.1699894839.1@sss.pgh.pa.us> Date: Mon, 13 Nov 2023 12:00:39 -0500 Message-ID: <2075564.1699894839@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Shaik Mohammad Mujeeb writes: > Sorry for not providing the context properly in the previous mail. I have > recently updated to macOS 14.1.1 and tried to compile postgres. I have > mentioned the steps I had followed and the output of those steps in the > attached file. I am getting the same error during build time for all the > branches [ REL_14_STABLE, REL_15_STABLE, master, etc,. ]. Please note that > the same steps were working fine, when I was in macOS 13. Hm. There's not anything obviously wrong in this make trace, until it blows up trying to use libpgcommon.a. I think there must be something wrong with your tool chain. Ideas to check: * Did you update Xcode/Command Line Tools along with your OS? If you use Xcode, note that you typically have to open it and let it install derived files before everything's up to date. * If you use MacPorts or Homebrew, maybe that's out of date? Try removing the associated directories from your PATH to see if it works better. * It doesn't look like you're using ccache, but if you are, flushing its cache might not be a bad idea. regards, tom lane