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 1sEGFO-000Ugo-RK for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 03 Jun 2024 22:33:48 +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 1sEGFO-00DLw8-74 for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 03 Jun 2024 22:33:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sEGFO-00DLud-0g for pgsql-pkg-debian@lists.postgresql.org; Mon, 03 Jun 2024 22:33:46 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sEGFH-003JUQ-6p for pgsql-pkg-debian@lists.postgresql.org; Mon, 03 Jun 2024 22:33:44 +0000 Received: from [10.5.0.2] (unknown [185.169.0.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 14A2154662; Mon, 3 Jun 2024 22:33:36 +0000 (UTC) Message-ID: <213838ba-a1bb-4187-841a-1eed809e73e4@pgmasters.net> Date: Tue, 4 Jun 2024 08:33:29 +1000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgBackRest 2.52 - New upstream version To: Bradford Boyle , Christoph Berg Cc: pgsql-pkg-debian@lists.postgresql.org References: Content-Language: en-US From: David Steele In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/4/24 06:41, Bradford Boyle wrote: > Hi Christoph, > >> But unfortunately, bullseye and focal are not happy: >> >> ../meson.build:117:0: ERROR: ['/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