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 1nw7V0-0005vB-85 for pgsql-hackers@arkaria.postgresql.org; Tue, 31 May 2022 19:25:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nw7Uz-0001ph-2M for pgsql-hackers@arkaria.postgresql.org; Tue, 31 May 2022 19:25:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nw7Uy-0001pX-P1 for pgsql-hackers@lists.postgresql.org; Tue, 31 May 2022 19:25:48 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nw7Us-00021G-Ea for pgsql-hackers@postgresql.org; Tue, 31 May 2022 19:25:47 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E159D5C0222; Tue, 31 May 2022 15:25:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 31 May 2022 15:25:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-transfer-encoding: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=1654025141; x= 1654111541; bh=FDhsM2cGN70BZtPTEIj/HcqnDK3VeVPQOGS/9bFUyGI=; b=o 5KqJCiIQagZNLdTnon+5V4BLvXnvscpSY//30K4L2MCeU36BuNlgsYaVK1Wax0ix BRDQKBAzVXMZzC83xiCDhycC0waMMK/WcJpYnarxSg+CYxqz2agxxlyaXauuULka Hi5l67/23BIRpSNjLpuNXiAutLBrJRVU5sFO9HVF7B6mE8vkqWC84vX2/DLP540F sMz0afALb+9Crn5cB+PVytYhXarIX5U+r7N3+ZKNKx5rvmy+APSumJBbffeU1gwf 0427/bdsKeErNkxa5mvgEd4YosQU8mMDcwAhBZPMY9NGACiaHnxlpgQ/OGWQHkMx sErXW/AcLHNiURRA4dgRQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=1654025141; x= 1654111541; bh=FDhsM2cGN70BZtPTEIj/HcqnDK3VeVPQOGS/9bFUyGI=; b=r nU6JaLYhmYF02ScJN7Z8XoRhv0kMWpycSvb9oVRPRCmnCEr+juOmaiVnxZEH7m8s Qj2xn4NP+KBlZYjyN9IOuc7kMxyM4XpDot3TYBByo7vbNhRWoaaHUdDggAcoF9r3 SKpXqeqU4lGpoLEAbvL2GiBZj5jyUET6uVrjYXv9w1wXjP0Bamz4yjF6IAbHjexe GAgd/VbnCu4xj0bWFJdFP2NKkD2K+xHQNsjvVp6eVZ2Nmt1kSD05hbBgMspw//gd X/nxk+k4tPOP9PsMQVV0YQZUCkZ3j8CqW2PqqLKsz0jHNfLoPLwrTVpALpCcGoCq 6Cv151QpnbpF91TRPv9AQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrkeekgddufeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpefhieetgfelveettdffjeevudejkeejudfgtdevffejledvtdefkeeg gfejhffggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 31 May 2022 15:25:41 -0400 (EDT) Date: Tue, 31 May 2022 12:25:40 -0700 From: Andres Freund To: Aleksander Alekseev Cc: PostgreSQL Development , Tom Lane Subject: Re: [RFC] building postgres with meson Message-ID: <20220531192540.vvvgrwienjpoku2g@alap3.anarazel.de> References: <20211012083721.hvixq4pnh2pixr3j@alap3.anarazel.de> <20220526004731.km2ykossewzramt3@alap3.anarazel.de> <2071393.1653529113@sss.pgh.pa.us> <20220526024159.d72mg3rvrlj7h5kv@alap3.anarazel.de> <2090591.1653533919@sss.pgh.pa.us> <20220528191442.5sdp7nalfa5rczrs@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-05-31 16:49:17 +0300, Aleksander Alekseev wrote: > I tried the branch on GitHub on MacOS Monterey 12.3.1 and Ubuntu 20.04 LTS. > I was going to test it against several third party extensions, but it looks like > it is a bit early for this. On Ubuntu I got the following error: What do those extensions use to build? Since the unconference I added some rudimentary PGXS compatibility, but it's definitely not complete yet. > ``` > ../src/include/parser/kwlist.h:332:25: error: ‘PARAMETER’ undeclared here (not > in a function) > 332 | PG_KEYWORD("parameter", PARAMETER, UNRESERVED_KEYWORD, BARE_LABEL) > > ../src/interfaces/ecpg/preproc/keywords.c:32:55: note: in definition of macro > ‘PG_KEYWORD’ > 32 | #define PG_KEYWORD(kwname, value, category, collabel) value, > ``` Huh. I've not seen this before - could you provide a bit more detail about what you did? CI isn't testing ubuntu, but it is testing Debian, so I'd expect this to work. > On MacOS I got multiple errors regarding LDAP: Ah, yes. Sorry, that's an open issue that I need to fix. -Dldap=disabled for the rescue. There's some crazy ordering dependency in macos framework headers. The ldap framework contains an "ldap.h" header that includes "ldap.h". So if you end up with the framework on the include path, you get endless recursion. Greetings, Andres Freund