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 1nwmf9-000423-Ks for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Jun 2022 15:23:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nwmf8-00089e-GW for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Jun 2022 15:23:02 +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 1nwmf8-00089V-6a for pgsql-hackers@lists.postgresql.org; Thu, 02 Jun 2022 15:23:02 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwmf6-0000qW-5s for pgsql-hackers@postgresql.org; Thu, 02 Jun 2022 15:23:01 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 13F415C01DB; Thu, 2 Jun 2022 11:22:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 02 Jun 2022 11:22:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1654183379; x=1654269779; bh=WsRYaWllTS 89AVDMbHLwkLKZkAw75SLjEEYqh7EfXxM=; b=D9PVUXAOuLUuDl7JDk+BavYHL6 f6qU8yE1qpjM6i2R/Lpp5Xe0GVd7vgkpX3sq4+85z+St872iWnX+bNs0ddfl9IyL 8zlCe/CW7HDfeXDrruhrU+e+6mbMWKVd19PAjP2+UurgrvHpjKdtgfQzs1YG6Mz8 pV6PLa1Exd6aaI3BFvZh9vrVEZIxnI4ayQtb5x8e6EmyA7B616QP7g9pb/4yxxO+ w4rxKqyXePXAqr3KY9PElTPGWkFCOVr0KHmLf+WsCn8sEhS5Xinip32gDepY6Ufs xHIIusCr1skAYM3G8NU/9hLN5i6wNJlS1sNk22aUgvOCHyV43x70JNa+s9zA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1654183379; x=1654269779; bh=WsRYaWllTS89AVDMbHLwkLKZkAw7 5SLjEEYqh7EfXxM=; b=Enp87d+ts2HSAtYc6rc5XMoRmTpZWNcl+xJgCt3toAsQ szFjrj+81JhKiZEG5VcY3C7nzpVON9wPSeduXBmI4SBl5rGDQSkF4NuXtMCdCX4R TNlsJ5ffGIy4JOWfwseNKycZLQ9GZZAXQgYFS1ViLgaO5brjn4N+AeArgnnMv5iF jy3eohU0ic+x4TdfSI/C9iYpFaesrnDi/N6ws5BqN9ceG/K6Wg3n2XLnGgZ//R/S ej/A2aVMUcRziSYhcMcH+U70ChduhB8ArWTUTZMNuHDjHv+cF7aHdkdWgXDsh6nJ dDaeOoqj/GQrhXelZf3QUqR8dh0JBw1et6fTwO1Udw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrledvgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrg htthgvrhhnpedvffefvefhteevffegieetfefhtddvffejvefhueetgeeludehteevudei tedtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Jun 2022 11:22:58 -0400 (EDT) Date: Thu, 2 Jun 2022 08:22:57 -0700 From: Andres Freund To: Aleksander Alekseev Cc: PostgreSQL Development , Tom Lane Subject: Re: [RFC] building postgres with meson Message-ID: <20220602152257.szbstfitf3lwdssp@alap3.anarazel.de> References: <2071393.1653529113@sss.pgh.pa.us> <20220526024159.d72mg3rvrlj7h5kv@alap3.anarazel.de> <2090591.1653533919@sss.pgh.pa.us> <20220528191442.5sdp7nalfa5rczrs@alap3.anarazel.de> <20220531192540.vvvgrwienjpoku2g@alap3.anarazel.de> <20220601210528.ok3rzjxjhbquf2if@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-06-02 15:34:23 +0300, Aleksander Alekseev wrote: > Hi Andres, > > > Cool. I think I pushed a fix/workaround for the issue now. Still can't decide > > whether it's apple's or meson's fault. > > Many thanks! The fix solved the problem, I can compile with -Dldap=enabled now. > The code passes the tests too. Cool. > > I suspect the errors might be due to CC/CPPFLAGS/... not being defined. I can > > try to make it output something roughly compatible with the old output, for > > most of those I already started to compute values for the PGXS compat stuff I > > was hacking on recently. > > Yes, that could explain the problem. Just for the record, I get several errors > regarding src/export.h in TimescaleDB code [1]: > I think this is timescale's issue. Why are you defining / undefining PGDLLEXPORT? Part of the patch series is to use visibility attributes, and your #if TS_EMPTY(PGDLLEXPORT) thing can't handle that. Greetings, Andres Freund