From 21f670745edc8163b67a8f7979d5cec5f01f7bd3 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 4 Jun 2025 11:38:25 +0900 Subject: [PATCH] gnu: zeromq: Disable a failing test. * gnu/packages/networking.scm (zeromq) [phases] {disable-problematic-tests}: New phase. Fixes: #415 Change-Id: I8daaf4fa610bf03da9d2d47aa13fd03d247cbdb3 --- gnu/packages/networking.scm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index b2aa8322ac536063d686b41551fda2a92bfb2dc4..4798fabc019ce750aca2836e86404f8663912df8 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -26,7 +26,7 @@ ;;; Copyright © 2018, 2020-2022 Marius Bakke ;;; Copyright © 2018, 2020, 2021, 2022 Oleg Pykhalov ;;; Copyright © 2018 Pierre Neidhardt -;;; Copyright © 2019, 2020, 2021, 2022, 2023, 2024 Maxim Cournoyer +;;; Copyright © 2019-2025 Maxim Cournoyer ;;; Copyright © 2019 Vasile Dumitrascu ;;; Copyright © 2019 Julien Lepiller ;;; Copyright © 2019 Timotej Lazar @@ -1434,8 +1434,20 @@ transparently check connection attempts against an access control list.") (sha256 (base32 "0hxbpw9sk9g5ilxfnq3iki6nxjh3igk348z73y358ygi21cyylv6")))) (build-system gnu-build-system) - (arguments '(#:configure-flags '("--disable-static" - "--enable-drafts"))) + (arguments + (list + #:configure-flags #~(list "--disable-static" + "--enable-drafts") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-problematic-tests + (lambda _ + ;; Avoid the 'reconnect_stop_on_refused' test, which fails + ;; non-deterministically (see: + ;; https://github.com/zeromq/libzmq/issues/4793). + (substitute* "Makefile.in" + (("@ENABLE_DRAFTS_TRUE@\ttests/test_reconnect_options.*") + ""))))))) (home-page "https://zeromq.org") (synopsis "Library for message-based applications") (description