Source: gnutls28
Version: 3.6.13-4
Tags: patch ftbfs
User: [email protected]
Usertags: rebootstrap

gnutls28 fails to build from source when activating the nocheck build
profile, because it uses netstat, but the corresponding depdendency is
conditional to the profile. Please consider applying the attached patch
to fix the buile.

Helmut
diff --minimal -Nru gnutls28-3.6.13/debian/changelog 
gnutls28-3.6.13/debian/changelog
--- gnutls28-3.6.13/debian/changelog    2020-06-01 10:34:25.000000000 +0200
+++ gnutls28-3.6.13/debian/changelog    2020-06-04 05:59:42.000000000 +0200
@@ -1,3 +1,10 @@
+gnutls28 (3.6.13-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTFBS with nocheck build profile. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 04 Jun 2020 05:59:42 +0200
+
 gnutls28 (3.6.13-4) unstable; urgency=medium
 
   * Output some network related debugging from debian/rules.
diff --minimal -Nru gnutls28-3.6.13/debian/rules gnutls28-3.6.13/debian/rules
--- gnutls28-3.6.13/debian/rules        2020-06-01 10:03:00.000000000 +0200
+++ gnutls28-3.6.13/debian/rules        2020-06-04 05:59:40.000000000 +0200
@@ -102,11 +102,13 @@
        dh_compress $(BDIR) -X.pdf
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        @echo DEBUG info about network setup starts ...
        if test -x /sbin/ifconfig ; then /sbin/ifconfig ; else true ; fi
        netstat -tln
        @echo ... DEBUG info about network setup ends.
        dh_auto_test $(BDIR) --verbose -- VERBOSE=1
+endif
 
 override_dh_clean:
        dh_clean $(BDIR) -X.bak

Reply via email to