Source: stunnel4
Version: 3:5.72-1
Severity: wishlist
Tags: patch

Hello Peter,

In #-devel a couple of us (not related to the people working on the t64
transition) thought it would be a good idea if stunnel4 could
temporarily disable tests on the involved architectures (all 32 bits
archs except i386).

rebuilds of stunnel4 are blocked being rebootstrapping rustc and cargo,
and stunnel is itself blocking libssl3 and everything under it from
progressing.
It feels like detaching stunnel from the rust world is an easy enough
pick to let everything else progress while somebody works on rust/cargo.


I'm attaching a patch that should do what I explained above, please
consider uploading it?

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
diff --git a/debian/control b/debian/control
index f32dc6f..f34acbd 100644
--- a/debian/control
+++ b/debian/control
@@ -10,13 +10,13 @@ Build-Depends:
  libssl-dev,
  libsystemd-dev [linux-any],
  libwrap0-dev,
- net-tools <!nocheck>,
- netcat-openbsd <!nocheck>,
+ net-tools [!armel !armhf !hppa !m68k !powerpc !sh4] <!nocheck>,
+ netcat-openbsd [!armel !armhf !hppa !m68k !powerpc !sh4] <!nocheck>,
  openssl,
  pkgconf,
- procps <!nocheck>,
- python3 <!nocheck>,
- python3-cryptography <!nocheck>,
+ procps [!armel !armhf !hppa !m68k !powerpc !sh4] <!nocheck>,
+ python3 [!armel !armhf !hppa !m68k !powerpc !sh4] <!nocheck>,
+ python3-cryptography [!armel !armhf !hppa !m68k !powerpc !sh4] <!nocheck>,
 Maintainer: Peter Pentchev <r...@debian.org>
 Uploaders: Laszlo Boszormenyi (GCS) <g...@debian.org>
 Standards-Version: 4.6.2
diff --git a/debian/rules b/debian/rules
index 8801c88..0507219 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,18 +30,22 @@ override_dh_auto_configure:
 	sleep 1
 	touch src/dhparam.c
 
+ifeq ($(DEB_HOST_ARCH_BITS)$(filter i386,$(DEB_HOST_ARCH_CPU)),32)
 execute_before_dh_auto_test:
 	env PYTHONPATH='$(CURDIR)/debian/tests/python' \
 		python3 -B -u -m struntime \
 		--certdir='$(CURDIR)/debian/tests/certs' \
 		--program='$(CURDIR)/src/stunnel'
+endif
 
+ifeq ($(DEB_HOST_ARCH_BITS)$(filter i386,$(DEB_HOST_ARCH_CPU)),32)
 override_dh_auto_test:
 	dh_auto_test || { \
 		printf '\n\n=== Some tests failed; here are all the logs...\n\n' 1>&2; \
 		find tests/logs/ -type f -name '*.log' -exec grep -EHe '^' -- '{}' + 1>&2; \
 		false; \
 	}
+endif
 
 override_dh_auto_install:
 	dh_auto_install -- -C src

Attachment: signature.asc
Description: PGP signature

Reply via email to