public inbox for [email protected]  
help / color / mirror / Atom feed
From: David Steele <[email protected]>
To: Bradford Boyle <[email protected]>
To: Christoph Berg <[email protected]>
Cc: [email protected]
Subject: Re: pgBackRest 2.52 - New upstream version
Date: Tue, 4 Jun 2024 08:33:29 +1000
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAOMoQbT0rewgfaLNah69MLCkieKBBVD3V_DH5QpzGd5gq9RpyA@mail.gmail.com>
References: <CAOMoQbTzXVT+LhShQW4uQpwmp5kGrhWCPincsrSvd3S1Qn16UA@mail.gmail.com>
	<CAOMoQbQkL6yDJB2-vZur0S1uiuuzh6KqtdoxhtVEHfqLaeJcGQ@mail.gmail.com>
	<[email protected]>
	<CAOMoQbT0rewgfaLNah69MLCkieKBBVD3V_DH5QpzGd5gq9RpyA@mail.gmail.com>

On 6/4/24 06:41, Bradford Boyle wrote:
> Hi Christoph,
> 
>> But unfortunately, bullseye and focal are not happy:
>>
>> ../meson.build:117:0: ERROR: <ExternalProgram 'python3' -> ['/usr/bin/python3']> is not a valid python or it is missing setuptools
>>
>> (Interestingly, buster is happy with the meson+python3 combination)
> 
> I will take a look at this later today and see if I can identify and
> push a fix.

This is actually a bug/typo in older versions of meson. What is actually 
required (in some cases) is python3-distutils. See 
https://github.com/pgbackrest/pgbackrest/commit/e00e33b52. The purpose 
of this commit is to not hardcode the python bin.

However, this requirement is only for certain older (but not too old) 
versions of Debian/Ubuntu. Ubuntu 24.04, for instance, does not have 
this package and works fine without it. Of the Ubuntu versions only 
focal seems to require it. The only Debian version we currently have in 
CI, stretch, does not require it.

It's a bit of a mess, but looks like we need to install 
python3-distutils just for bullseye and focal as a build dependency. Is 
that possible?

Regards,
-David







view thread (8+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: pgBackRest 2.52 - New upstream version
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox