pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: Tristan Partin <tristan@neon.tech>
To: pgsql-hackers@postgresql.org
Cc: Andres Freund <andres@anarazel.de>
Subject: Re: Silence Meson warning on HEAD
Date: Thu, 4 Apr 2024 11:33:17 +0200
Message-ID: <05cbcee7-37da-451f-bf55-b37da4248e96@eisentraut.org> (raw)
In-Reply-To: <D096Q3NFFVH1.1T5RE4MOO9ZFH@neon.tech>
References: <D096Q3NFFVH1.1T5RE4MOO9ZFH@neon.tech>

On 02.04.24 01:46, Tristan Partin wrote:
> A warning was recently[0] introduced into the Meson build:
> 
> WARNING: Project targets '>=0.54' but uses feature introduced in 
> '0.55.0': Passing executable/found program object to script parameter of 
> add_dist_script
> 
> There are 3 way to solve the issue that I have laid out in 3 separate 
> patches that you pick at your leisure:
> 
> 1. version-check.diff
> 
> Wrap the offending line in a Meson version check.

I committed this.

> 2. perl-string.diff
> 
> Pass the perl program as a string via its .path() method.

The problem with this is that it doesn't contain any information why the 
workaround is used, and then if we increase the meson version and clean 
up all the version checks, we won't find this one.

> 3. meson-bump.diff
> 
> Bump the minimum meson version from 0.54 to 0.55, at least.

I think the beginning of the next dev cycle would be a good time to bump 
the meson version.  For now, I'm content to leave it alone.






view thread (3+ messages)

Message-ID: <05cbcee7-37da-451f-bf55-b37da4248e96@eisentraut.org>
Permalink:  ../05cbcee7-37da-451f-bf55-b37da4248e96@eisentraut.org/
Also on:    postgresql.org/message-id/05cbcee7-37da-451f-bf55-b37da4248e96@eisentraut.org

 · 

reply

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-hackers@postgresql.org
  Cc: peter@eisentraut.org, tristan@neon.tech, andres@anarazel.de
  Subject: Re: Silence Meson warning on HEAD
  In-Reply-To: <05cbcee7-37da-451f-bf55-b37da4248e96@eisentraut.org>
  References: <D096Q3NFFVH1.1T5RE4MOO9ZFH@neon.tech> <05cbcee7-37da-451f-bf55-b37da4248e96@eisentraut.org>

* 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