tags 1093943 patch
thanks

Hi.

Sorry for the late reply. This is my proposal to fix the build failure
for trixie, in debdiff format. I've actually tested the patch and it works.

Note that this bug is also present in the current stable distribution 
(bookworm).

(In case you prefer to debug this, my offer for a VM where this happens 100%
of the time still holds).

Thanks.
diff -Nru spamassassin-4.0.1/debian/changelog 
spamassassin-4.0.1/debian/changelog
--- spamassassin-4.0.1/debian/changelog 2025-01-09 19:32:43.000000000 +0100
+++ spamassassin-4.0.1/debian/changelog 2025-05-04 23:35:00.000000000 +0200
@@ -1,3 +1,9 @@
+spamassassin (4.0.1-4) unstable; urgency=medium
+
+  * Disable spamd_client.t. Closes: #1093943.
+
+ -- Noah Meyerhans <no...@debian.org>  Sun, 04 May 2025 23:35:00 +0200
+
 spamassassin (4.0.1-3) unstable; urgency=medium
 
   * Incorporate upstream fix for PDFInfo.pm uninitialized value warnings
diff -Nru spamassassin-4.0.1/debian/patches/disable_spamd_client.patch 
spamassassin-4.0.1/debian/patches/disable_spamd_client.patch
--- spamassassin-4.0.1/debian/patches/disable_spamd_client.patch        
1970-01-01 01:00:00.000000000 +0100
+++ spamassassin-4.0.1/debian/patches/disable_spamd_client.patch        
2025-05-04 23:34:23.000000000 +0200
@@ -0,0 +1,15 @@
+Description: Disable spamd_client.t as it's not reliable enough
+Author: Santiago Vila <sanv...@debian.org>
+Bug-Debian: https://bugs.debian.org/1093943
+Last-Update: 2025-05-04
+
+--- a/t/spamd_client.t
++++ b/t/spamd_client.t
+@@ -6,6 +6,7 @@
+ use constant HAS_SDBM_FILE => eval { require SDBM_File; };
+ 
+ use Test::More;
++plan skip_all => "Disabling this test for now";
+ plan skip_all => "Spamd tests disabled" if $SKIP_SPAMD_TESTS;
+ plan skip_all => "Long running tests disabled" unless 
conf_bool('run_long_tests');
+ 
diff -Nru spamassassin-4.0.1/debian/patches/series 
spamassassin-4.0.1/debian/patches/series
--- spamassassin-4.0.1/debian/patches/series    2025-01-06 23:40:05.000000000 
+0100
+++ spamassassin-4.0.1/debian/patches/series    2025-05-04 23:34:23.000000000 
+0200
@@ -10,3 +10,4 @@
 spamd_disable_ai_addrconfig_for_ipv4_literals.patch
 sorbs-shutdown.patch
 bug1091683-pdfinfo.patch
+disable_spamd_client.patch

Reply via email to