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 1s00YR-008p1s-L1 for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Apr 2024 14:58:32 +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 1s00YQ-007kzf-9o for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Apr 2024 14:58:30 +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 1s00YP-007kz5-CQ for pgsql-hackers@lists.postgresql.org; Thu, 25 Apr 2024 14:58:30 +0000 Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s00YM-004bJg-Nv for pgsql-hackers@lists.postgresql.org; Thu, 25 Apr 2024 14:58:28 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfhigh.nyi.internal (Postfix) with ESMTP id CCEE511400C8; Thu, 25 Apr 2024 10:58:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 25 Apr 2024 10:58:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1714057105; x=1714143505; bh=skRG6wijYe tUml/jk9aL1hoWOrICqo0oI18WrAMCeEA=; b=M5x5fkqZPpDGZEeK5t2NIMJ1ab LNEjYrAD4cxj11UHOqmFLAm1s8TiByDdELZ4pn84/5HLO7z+ilv68LkIoMcFbrVe BCYWsDIY4GgcZ4G+dUuH134Db50Ffq/4M+4Eayl1ZUdwVq2pSTB01By9lZgxle+E fmDv/iJvl+dvyyMGwNE5IdTBNaSCnu11/ceCMdb9CHZ2JyXAMZFB+cebCuWZom+u 0X0N8DvZhl72dTptFFXvHTO8BH0qLlEGlaiH2sXyGQaEYCPEKUZaF8UolLn93mqt jXe08v4oLkqln4PKzAQzUV0lxxEEy7bzDvCGOkVjelKOUnKABTyNj6YH966w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1714057105; x=1714143505; bh=skRG6wijYetUml/jk9aL1hoWOrIC qo0oI18WrAMCeEA=; b=k22r+3Z4tg/sqhmtklVLIBc7BqciSoRfp+3AomzT8UwM sz98loVc3M3vIEZrauAsXAjkgHmbA2MriMCcDZdRdHCm1i17RFUSoc5mBZnlAdDN X7BS3YP7jSIrmGWPsd8lU0AiGtcD7H08DB/w3MpjRxvH/Md8tEx+GqnK5uE8FeS8 nGAO9hqKeuRroRSL4c2QPwuB7Cj3ld8hGySknQnpXLaD9Jtr0PviS4lByZ6dEArY 0dvQ4L/1meRlfPdl90WcG7z+OgRlPIG/YkHqUW/HY5hwGng5uzpGUkyqGWXw2jnd EcA3GLIpxsJRsObLq1H67cPZmhJp7CAx16rutfB/FA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudeljedgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfhfgggtuggjsehttd ertddttddvnecuhfhrohhmpeetnhgurhgvshcuhfhrvghunhguuceorghnughrvghssegr nhgrrhgriigvlhdruggvqeenucggtffrrghtthgvrhhnpedvffefvefhteevffegieetfe fhtddvffejvefhueetgeeludehteevudeitedtudenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 25 Apr 2024 10:58:25 -0400 (EDT) Date: Thu, 25 Apr 2024 07:58:22 -0700 From: Andres Freund To: Christoph Berg Cc: pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: meson: Add initial version of meson based build system Message-ID: <20240425145822.af5oqti7zcy2pmni@alap3.anarazel.de> References: <20240417230002.mb2gv3hyetyn67gk@awork3.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 2024-04-18 10:54:18 +0200, Christoph Berg wrote: > Re: Andres Freund > > > This commit broke VPATH builds when the original source directory > > > contains symlinks. > > Argh, this is missing spaces around the '=', leading to the branch always > > being entered. > > Glad I found at least something :) Yep :). I pushed a fix to that now. > I've been using this directory layout for years, apparently so far > I've always only used non-VPATH builds or dpkg-buildpackage, which > probably canonicalizes the path before building, given it works. I wonder if perhaps find's behaviour might have changed at some point? > Since no one else has been complaining, it might not be worth fixing. I'm personally not excited about working on fixing this, but if somebody else wants to spend the cycles to make this work reliably... It's certainly interesting that we have some code worrying about symlinks in configure.ac: # prepare build tree if outside source tree # Note 1: test -ef might not exist, but it's more reliable than `pwd`. # Note 2: /bin/pwd might be better than shell's built-in at getting # a symlink-free name. But we only use this to determine if we're doing a vpath build, not as the path passed to prep_buildtree... Greetings, Andres Freund