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 1maiHH-0001Gi-Q2 for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Oct 2021 17:42:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1maiHG-0003yL-Hb for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Oct 2021 17:42:54 +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 1maiHF-0003yB-Ei for pgsql-hackers@lists.postgresql.org; Wed, 13 Oct 2021 17:42:54 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maiHC-0001uq-0w for pgsql-hackers@postgresql.org; Wed, 13 Oct 2021 17:42:53 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 195035C0182; Wed, 13 Oct 2021 13:42:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 13 Oct 2021 13:42:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=nyCYCBBwxj04Bz+6ZBLESsmw//k aWg1q/6TQyx8BR7o=; b=fq3YTZn+rPvKQh/A8RlIM4jGXEu95e9FfzvawSiLV2f bd0En7dxl1ddqHbN82hRmD6+AtAw0DQG8lg/i0fPnkTu7HuOYLVFpY+Ld00zFO+p L/Gyv90nwSRA+jFB3bI0I5GGldmHGrR/H+yGvSXKAdMaK+u/x9d3/C2F8GvPtUNx wpfXbiVFbUmQp7dBBrTVwhbgAFY/o0wJSQhT4N93Nzy6Hbo/mEaxq3rI6py4WuV3 bkIl0kGgjQGjxB3jwqNk1ef0IwS5vqLy0cWN5ANh/fAsIDGeCAzlHFl0JOY3isp6 QEeFEAym26w5yiCgCEU9xsDCz+zHu9GHCGGO7daG9Kw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=nyCYCB Bwxj04Bz+6ZBLESsmw//kaWg1q/6TQyx8BR7o=; b=NJ3tymBSfkhWiNycjE/+br jB0rGW9MRy0i/R4J9SvodS128cSm++BDcklAryqzBoOTrPGq1+kJ83DeJvP98ctq 7+e6mXedKfddLfVPTtMxY7Ee8FMPZWr+syAE9Za+KR0x7e6OxW0BuF/qNZ8Lc6uT CPo+bhvvCodTKHG+TqQlFU9FCs7CgA1tMMc3XZLIo8326O63FUrP74ZKtir+G0Ll 6P1D15ZN6/eWNaitzt96B6F7lNPVGReff3GFkSODZmi8YDSgq+llDKRFraNnn39C qQFynPBljMjvrggP2W+/5OfFFQxE1BzzmMYMP8k6XNgHOWR+vVLg9OtfaV2hnUMA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddutddguddugecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepudekhfekleeugeevteehleffffejgeelueduleeffeeutdelffeujeff hfeuffdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 13 Oct 2021 13:42:47 -0400 (EDT) Date: Wed, 13 Oct 2021 10:42:46 -0700 From: Andres Freund To: John Naylor Cc: pgsql-hackers Subject: Re: [RFC] building postgres with meson Message-ID: <20211013174246.zgp2sxdqsulhepea@alap3.anarazel.de> References: <20211012083721.hvixq4pnh2pixr3j@alap3.anarazel.de> <20211012205945.tkr6nam4ej2swram@alap3.anarazel.de> <20211013163721.oqwvztktwsym3iu4@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 2021-10-13 13:19:36 -0400, John Naylor wrote: > On Wed, Oct 13, 2021 at 12:37 PM Andres Freund wrote: > > > For the autoconf build CI currently does something similar via > > LIBS="/usr/local/lib:$LIBS" > > INCLUDES="/usr/local/include:$INCLUDES" > > ... > > LIBS="/usr/local/opt/openldap/lib:$LIBS" > > INCLUDES="/usr/local/opt/openldap/include:$INCLUDES" > > ... > > --with-includes="$INCLUDES" \ > > --with-libs="$LIBS" \ > > > > are you doing something like that? Or does it work for you without? I > vaguely > > recall hitting a similar problem as you report when not passing > > /usr/local/... to configure. > > I didn't do anything like that for the autoconf build. I have in the past > done things retail, like I'll try to see how this works / what causes the breakage. > Somehow our emails got lower-cased down here, but I tried it with capital D: :) > meson configure -Dldap=disabled > > inside the build dir and got this: > > ../meson.build:278:2: ERROR: Tried to assign the invalid value "None" of > type NoneType to variable. > > Line 278 is > > ldap_r = ldap = dependency('', required : false) Oops, I broke that when trying to clean things up. I guess I write too much C ;). It needs to be two lines. I pushed the fix for that. Greetings, Andres Freund