From: Andres Freund <andres@anarazel.de>
To: Christoph Berg <myon@debian.org>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: pgsql: meson: Add initial version of meson based build system
Date: Thu, 25 Apr 2024 07:58:22 -0700
Message-ID: <20240425145822.af5oqti7zcy2pmni@alap3.anarazel.de> (raw)
In-Reply-To: <ZiDful1M9pEhpno4@msg.df7cb.de>
References: <E1obF3v-001S9d-UD@gemulon.postgresql.org>
<Zh_RxBKH86OEsccE@msg.df7cb.de>
<20240417230002.mb2gv3hyetyn67gk@awork3.anarazel.de>
<ZiDful1M9pEhpno4@msg.df7cb.de>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de, myon@debian.org, pgsql-hackers@lists.postgresql.org
Subject: Re: pgsql: meson: Add initial version of meson based build system
In-Reply-To: <20240425145822.af5oqti7zcy2pmni@alap3.anarazel.de>
References: <E1obF3v-001S9d-UD@gemulon.postgresql.org> <Zh_RxBKH86OEsccE@msg.df7cb.de> <20240417230002.mb2gv3hyetyn67gk@awork3.anarazel.de> <ZiDful1M9pEhpno4@msg.df7cb.de> <20240425145822.af5oqti7zcy2pmni@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox