Re: Meson install warnings when running postgres build from a sandbox

From: "Matt Smith (matts3)" <matts3(at)cisco(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Meson install warnings when running postgres build from a sandbox
Date: 2025-10-24 04:18:42
Message-ID: MW6PR11MB8310E5F7066BC1B004F791888CF1A@MW6PR11MB8310.namprd11.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

It seems the project() function's meson_version arg describes the minimum version required. From the docs<https://mesonbuild.com/Reference-manual_functions.html#project>

Takes a string describing which Meson version the project requires. Usually something like >=0.28.0.

So perhaps a comment is the only option for now.

Matt

________________________________
From: Matt Smith (matts3) <matts3(at)cisco(dot)com>
Sent: Thursday, October 23, 2025 10:27 AM
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Meson install warnings when running postgres build from a sandbox

I'm not sure what that comment would say.

Should there be such a thing as a maximum meson version that postgres supports?

Matt
________________________________
From: Daniel Gustafsson <daniel(at)yesql(dot)se>
Sent: Wednesday, October 22, 2025 6:30 PM
To: Matt Smith (matts3) <matts3(at)cisco(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Meson install warnings when running postgres build from a sandbox

> On 22 Oct 2025, at 02:57, Matt Smith (matts3) <matts3(at)cisco(dot)com> wrote:

> This is all ok for now, but I'm wondering if meson changes the default behavior in a future version, how postgres would be able to support the old way of following symlinks with said future version.

Do you think it would be appropriate/helpful to add a comment for the future in
the project() portion of meson.build, where we already comment on meson
versions?

--
Daniel Gustafsson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2025-10-24 04:57:55 Re: Add uuid_to_base32hex() and base32hex_to_uuid() built-in functions
Previous Message Bryan Green 2025-10-24 04:02:50 Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows