Message ID | 20250504085747.6387-1-ngraves@ngraves.fr |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C1CD527BC4B; Sun, 4 May 2025 09:58:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F380C27BC49 for <patchwork@mira.cbaines.net>; Sun, 4 May 2025 09:58:32 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1uBVAq-0001eL-Ab; Sun, 04 May 2025 04:58:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1uBVAo-0001e3-8x for guix-patches@gnu.org; Sun, 04 May 2025 04:58:10 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1uBVAn-00042W-Tw for guix-patches@gnu.org; Sun, 04 May 2025 04:58:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=YN+EWVhFTh+RPcaMph+dp44FaKmsEP+VsKa9/SkekQ0=; b=BtmgXmhJYyESAfYzyPcGK9/ZKLubn9jrPELkfVHy+m7xIhTACpuIiQfCncfLMQtSaD+hScvb5JI7K7Ru5GJWTt746XtVcqpayFkD4irDfB45jUCXfxEXV9v4ltXWRZXVamMdGaWw3FPDYOzXvf9LekJFKmHxfMGDA0MGtQtA/f68lW6ywPp0F46iIE3gEnFjJPt/4vdySWqR77dRNPz0t+6bbtL1JN6D8R9BNWK+A08gVSHute+tEep4sUGtcJRbEQkZw1vHXQ7S9Z32hEXP2Oq0cAPfStUY2FHo186++ynduIcd+O4VU7ChyEyKTJzh6APiTCJaRyavUUvF5/Dmqg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1uBVAn-0000P8-HU for guix-patches@gnu.org; Sun, 04 May 2025 04:58:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78066] [PATCH v3 0/6] Fix fail2ban build References: <20250425201230.12492-1-rodion@goritskov.com> In-Reply-To: <20250425201230.12492-1-rodion@goritskov.com> Resent-From: Nicolas Graves <ngraves@ngraves.fr> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 May 2025 08:58:09 +0000 Resent-Message-ID: <handler.78066.B78066.17463490801424@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78066 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78066@debbugs.gnu.org Cc: Nicolas Graves <ngraves@ngraves.fr> Received: via spool by 78066-submit@debbugs.gnu.org id=B78066.17463490801424 (code B ref 78066); Sun, 04 May 2025 08:58:09 +0000 Received: (at 78066) by debbugs.gnu.org; 4 May 2025 08:58:00 +0000 Received: from localhost ([127.0.0.1]:51328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1uBVAd-0000Mb-GF for submit@debbugs.gnu.org; Sun, 04 May 2025 04:58:00 -0400 Received: from 10.mo562.mail-out.ovh.net ([46.105.72.220]:35867) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ngraves@ngraves.fr>) id 1uBVAX-0000Lu-5q for 78066@debbugs.gnu.org; Sun, 04 May 2025 04:57:57 -0400 Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net [79.137.60.37]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4Zqz7y630yz1VtB; Sun, 4 May 2025 08:57:50 +0000 (UTC) Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net. [127.0.0.1]) by director4.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <78066@debbugs.gnu.org>; Sun, 4 May 2025 08:57:50 +0000 (UTC) Received: from mta2.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.164.205]) by director4.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4Zqz7y3QxXz2cHc; Sun, 4 May 2025 08:57:50 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.2]) by mta2.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 0873ABA3FE1; Sun, 4 May 2025 08:57:49 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-103G005b0a78824-0cfb-42c7-8ba8-f526a99b26a4, 8CD8A0E5D230CF78A323F194FBE8D47D3072D94D) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Sun, 4 May 2025 10:56:20 +0200 Message-ID: <20250504085747.6387-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 3174474789347648226 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvjeejjeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejkedtieeiseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehiedvmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=YN+EWVhFTh+RPcaMph+dp44FaKmsEP+VsKa9/SkekQ0=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1746349070; v=1; b=YTd/wVDbcjNY5rOuxRUelw9t2CJT39DDOPEzCm0NedxO2JU2kPeL/ZeiiOgd84l/BgEM3qFU Y8gslI8g0ndN5Hwgt5Eeg/HoYmU1rAHpZs7X3BQ3aoQOPpRaBtN9qHne7ZhQb6bhAJ42SLVfX65 aX/2ADDIsXGbQsgnwTTf3vdEaghTvNltLjA3OMe0OG5XE7mtPpTpep5HjJeUAYurQRsHLqf3JRA n2cIoXmZ7Z4bf/rPeeIwQdIi0emyswjN4BGTnyJ1Hpnexr04DFCQelzvAFKKE7rL+nUqHYzN9GO +56gqGhPuDrJmbBRN3PxkEW4mgTrKrLaoWQmmnHWsIBwQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Nicolas Graves <ngraves@ngraves.fr> X-ACL-Warn: , Nicolas Graves via Guix-patches <guix-patches@gnu.org> From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Fix fail2ban build
|
|
Message
Nicolas Graves
May 4, 2025, 8:56 a.m. UTC
I think the fail2ban tests were broken before the Python@3.10 update. The -basic test runs properly, but the other tests do not. I focussed on fixing the -basic test because I don't understand why the other tests fail (socket is not found, but when I try it in real conditions, it is). The main issue was that the paths-debian.conf in jail.conf was substituted after the wheel was built, so the change didn't make it in the output. Probably related to the migration to the pyproject-build-system. So now the -basic test passes, but the -simple and -extension tests don't, but I guess it's because tests rather than the package are broken. Ready to be merged IMHO. Nicolas Graves (6): gnu: fail2ban: Move file deletion to source snippet. gnu: fail2ban: Move setup and test patches to phases. gnu: fail2ban: Update to 1.1.0. gnu: fail2ban: Improve style. gnu: fail2ban: Improve style. gnu: fail2ban: Improve snippet. gnu/local.mk | 6 - gnu/packages/admin.scm | 327 ++++++++---------- .../fail2ban-0.11.2_CVE-2021-32749.patch | 155 --------- ...2ban-0.11.2_fix-setuptools-drop-2to3.patch | 64 ---- .../fail2ban-0.11.2_fix-test-suite.patch | 48 --- .../fail2ban-python310-server-action.patch | 27 -- .../fail2ban-python310-server-actions.patch | 25 -- .../fail2ban-python310-server-jails.patch | 25 -- 8 files changed, 149 insertions(+), 528 deletions(-) delete mode 100644 gnu/packages/patches/fail2ban-0.11.2_CVE-2021-32749.patch delete mode 100644 gnu/packages/patches/fail2ban-0.11.2_fix-setuptools-drop-2to3.patch delete mode 100644 gnu/packages/patches/fail2ban-0.11.2_fix-test-suite.patch delete mode 100644 gnu/packages/patches/fail2ban-python310-server-action.patch delete mode 100644 gnu/packages/patches/fail2ban-python310-server-actions.patch delete mode 100644 gnu/packages/patches/fail2ban-python310-server-jails.patch
Comments
Nicolas Graves <ngraves@ngraves.fr> writes: > I think the fail2ban tests were broken before the Python@3.10 update. > The -basic test runs properly, but the other tests do not. > > I focussed on fixing the -basic test because I don't understand why > the other tests fail (socket is not found, but when I try it in real > conditions, it is). > > The main issue was that the paths-debian.conf in jail.conf was > substituted after the wheel was built, so the change didn't make it in > the output. Probably related to the migration to the > pyproject-build-system. > > So now the -basic test passes, but the -simple and -extension tests > don't, but I guess it's because tests rather than the package are > broken. Ready to be merged IMHO. > > Nicolas Graves (6): > gnu: fail2ban: Move file deletion to source snippet. > gnu: fail2ban: Move setup and test patches to phases. > gnu: fail2ban: Update to 1.1.0. > gnu: fail2ban: Improve style. > gnu: fail2ban: Improve style. > gnu: fail2ban: Improve snippet. Applied, thanks! Ludo'.