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 1rxNXF-0086h8-5T for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Apr 2024 08:54:25 +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 1rxNXD-002RLI-S2 for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Apr 2024 08:54:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rxNXD-002RKw-Il for pgsql-hackers@lists.postgresql.org; Thu, 18 Apr 2024 08:54:23 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rxNXA-001bC1-FJ for pgsql-hackers@lists.postgresql.org; Thu, 18 Apr 2024 08:54:22 +0000 Received: from msg.df7cb.de (unknown [62.23.211.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4VKs5l1P9cz3G82; Thu, 18 Apr 2024 10:54:19 +0200 (CEST) Date: Thu, 18 Apr 2024 10:54:18 +0200 From: Christoph Berg To: Andres Freund Cc: pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: meson: Add initial version of meson based build system Message-ID: References: <20240417230002.mb2gv3hyetyn67gk@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240417230002.mb2gv3hyetyn67gk@awork3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Andres Freund > > This commit broke VPATH builds when the original source directory > > contains symlinks. > > I.e. a symlink to the source directory, not a symlink inside the source > directory. Yes. > Argh, this is missing spaces around the '=', leading to the branch always > being entered. Glad I found at least something :) > Uh, I don't think it does? Afaict this failure is entirely unrelated to 'touch > meson.build'? From what I can tell the problem is that config/prep_buildtree > is invoked with the symlinked path, and that that doesn't seem to work: Apparently I messed up both the git bisect run and manually confirm the problem later. Trying again now, the problem has been existing at least since 2002, probably earlier. 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. Since no one else has been complaining, it might not be worth fixing. Sorry for the noise! Christoph