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 1sEKyS-000vmO-Kr for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 04 Jun 2024 03:36:38 +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 1sEKyS-00EsuE-MO for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 04 Jun 2024 03:36:36 +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 1sEKyS-00Esu6-GI for pgsql-pkg-debian@lists.postgresql.org; Tue, 04 Jun 2024 03:36:36 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sEKyM-003LWu-Nh for pgsql-pkg-debian@lists.postgresql.org; Tue, 04 Jun 2024 03:36:35 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2e95a75a90eso54829491fa.2 for ; Mon, 03 Jun 2024 20:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717472189; x=1718076989; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kfMa2RhYTv6zfri5ys8EAbVf0PjigvjKI8jNx9uiPfc=; b=ZC+WV/LekY2QgR2xwV0isv5fR8k9hsHzCIO9xP62e3Pl5tysSb6m24QHugJbdMIosX uBhBueajzJp6d7SzdeXLqO6SepqDHALRH9xoCWiuQ+d2mXhPDbQE+Gl9SBWqFL1N45RH o6S85kFaWtVNcjBYPRkpb30wncnanX4DBfZRaXg13ObDQfsvLnOT2D2iVr/YUB75fyYs ycTz5HdLsjdXqA7BmQdHjUhyuckwSCs27WyOj+FgNFWikE2NduUePoxOP7B+vK4fQXAY dwBeUSfTTayStndqd1aqHimDXFTcyfMZPLDRxWE/aadFaEbzPr2gYF4rvG3a7TUpiZan V7ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717472189; x=1718076989; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kfMa2RhYTv6zfri5ys8EAbVf0PjigvjKI8jNx9uiPfc=; b=pAp5iLV2rn/9pylELa5zVmzmTj1jO0c0OO1tMJGM3E3PArkGdVpkFrILCe4JJnBaQ7 VIIR9lcRT04lEKs6ZsvP16MRy1U0yYfBSe1br9hlGV+v1VMncaDIPI/eCMkt1HqwUHaU R40w3QVeKYdhW53HNYQIcAqPYzecnZRGeTDd+T9QIWYB70mWkJBaKrg56yWGv9IHZr0A HrJivqQp8wnmvkWiFKzcegF4jzka2d8K8kLcLbVlY212aljXZxSZkRRo/SAXwmGVJ9jt 9CR9GbuBgfepClc0JkvVOqr3WgwoSd8sn/45WxsO12flpEjdbDIrofVWon9Op14Nf6wS erVw== X-Forwarded-Encrypted: i=1; AJvYcCUuyrWNjeNrsY69L4NhojYuCdRc8b0tTiZskUQx8lZ9Ny7dlZ4m0FRba9UpB5TXpl5yJ6EHt6NEK6T89v23KXJGZ3FZoNK1V2+k3iDIT5nmx84QsxAs X-Gm-Message-State: AOJu0YwPMoBDVEIzBidrR+JdbxCiQti6q35b4zkiqNS+4mrzZVaCGdQx GDCPzVEHfE/0QW4VI3uguaPEgnGTajTqwaH2MHGGTe4xUthu0upt5TJ4/GKybkD6kv4trObG0/j azsolO7FX83Q2czZ/6eNczXEWU9SJpP+k X-Google-Smtp-Source: AGHT+IFV8BbWn7iWI6r+veaUKrF6BABriRxQf2VlS+L/VGu5JnGwr+3rF9BTNyF/sisnWVhLRrAhCW9zprKRRb2+oJw= X-Received: by 2002:a2e:b54b:0:b0:2ea:7ccd:10a7 with SMTP id 38308e7fff4ca-2ea951d85ffmr61344821fa.45.1717472188769; Mon, 03 Jun 2024 20:36:28 -0700 (PDT) MIME-Version: 1.0 References: <213838ba-a1bb-4187-841a-1eed809e73e4@pgmasters.net> In-Reply-To: <213838ba-a1bb-4187-841a-1eed809e73e4@pgmasters.net> From: Bradford Boyle Date: Mon, 3 Jun 2024 20:36:17 -0700 Message-ID: Subject: Re: pgBackRest 2.52 - New upstream version To: David Steele Cc: Christoph Berg , pgsql-pkg-debian@lists.postgresql.org Content-Type: multipart/mixed; boundary="000000000000b941a4061a0827f1" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000b941a4061a0827f1 Content-Type: text/plain; charset="UTF-8" Hi David and Christoph, > This is actually a bug/typo in older versions of meson. What is actually > required (in some cases) is python3-distutils. I found [this issue][1] on GitHub repo for meson which indicates that meson 0.48.0 added a dependency on python's setuptools module. This issue is quite old but it was referenced by a [newer pull request][2] that seems to indicate that at some point meson depended on python's distutils module. This PR was referenced by an even [newer PR][3] that seems to indicate that meson moved away from using the distutils module. This is probably why this is only an issue in bullseye or focal and not older or newer dists. > 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? Adding python3-distutils for just bullseye and focal should be doable. I believe the scripts used to build the packages for the PGDG apt repo has an existing pattern for tweaking the package. Attached is a patch that should add python3-distutils to pgbackrest's list of build dependencies only on bullseye or focal. --Bradford [1]: https://github.com/mesonbuild/meson/issues/4267 [2]: https://github.com/mesonbuild/meson/pull/9288 [3]: https://github.com/mesonbuild/meson/pull/11133 --000000000000b941a4061a0827f1 Content-Type: application/octet-stream; name="0001-pgbackrest-Add-python3-distutils-dependency.patch" Content-Disposition: attachment; filename="0001-pgbackrest-Add-python3-distutils-dependency.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lwzuktz50 RnJvbSA3NmY5YjM3YzllZWMyY2QwZTc3OGU1NjYzNjNkZWE1ZjZjMmU4Nzg0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiAiQnJhZGZvcmQgRC4gQm95bGUiIDxicmFkZm9yZC5kLmJveWxl QGdtYWlsLmNvbT4KRGF0ZTogTW9uLCAzIEp1biAyMDI0IDIwOjMxOjEyIC0wNzAwClN1YmplY3Q6 IFtQQVRDSF0gcGdiYWNrcmVzdDogQWRkIHB5dGhvbjMtZGlzdHV0aWxzIGRlcGVuZGVuY3kKCi0t LQogamVua2lucy9nZW5lcmF0ZS1wZ2RnLXNvdXJjZSB8IDkgKysrKysrKysrCiAxIGZpbGUgY2hh bmdlZCwgOSBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvamVua2lucy9nZW5lcmF0ZS1wZ2Rn LXNvdXJjZSBiL2plbmtpbnMvZ2VuZXJhdGUtcGdkZy1zb3VyY2UKaW5kZXggMTUxYjFjZC4uNmI1 NzkxYSAxMDA3NTUKLS0tIGEvamVua2lucy9nZW5lcmF0ZS1wZ2RnLXNvdXJjZQorKysgYi9qZW5r aW5zL2dlbmVyYXRlLXBnZGctc291cmNlCkBAIC0yOTAsNiArMjkwLDE1IEBAIGNhc2UgJFBBQ0tB R0UgaW4KICAgICBlc2FjCiAgICAgOzsKIAorICBwZ2JhY2tyZXN0KQorICAgIGNhc2UgJGRpc3Ry aWJ1dGlvbiBpbgorICAgICAgYnVsbHNleWV8Zm9jYWwpCisgICAgICAgIHNlZCAtaSAtRSAncy8o ICspKHBrZ2NvbmYsKS9cMVwyXG5cMXB5dGhvbjMtZGlzdHV0aWxzLC8nIGRlYmlhbi9jb250cm9s CisgICAgICAgIFRXRUFLKz0oIkFkZCBweXRob24zLWRpc3R1dGlscyBkZXBlbmRlbmN5IikKKyAg ICAgICAgOzsKKyAgICBlc2FjCisgICAgOzsKKwogICBwb3N0Z2lzKQogICAgIGNhc2UgJHtkaXN0 cmlidXRpb246LX0gaW4KICAgICAgIGJ1c3RlcnxzdHJldGNofGZvY2FsfGVvYW58YmlvbmljfHhl bmlhbCkKLS0gCjIuNDUuMgoK --000000000000b941a4061a0827f1--