Source: nethogs
Version: 0.8.5-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

nethogs fails to cross build from source, because it fails running tests
that shouldn't be run in the presence of DEB_BUILD_OPTIONS=nocheck.
After passing the correct targets to dh_auto_build and dh_auto_test,
nethogs cross builds successfully. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru nethogs-0.8.5/debian/changelog 
nethogs-0.8.5/debian/changelog
--- nethogs-0.8.5/debian/changelog      2016-12-04 13:46:00.000000000 +0100
+++ nethogs-0.8.5/debian/changelog      2017-10-13 21:46:37.000000000 +0200
@@ -1,3 +1,10 @@
+nethogs (0.8.5-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 13 Oct 2017 21:46:37 +0200
+
 nethogs (0.8.5-2) unstable; urgency=medium
 
   * debian/rules:
diff --minimal -Nru nethogs-0.8.5/debian/rules nethogs-0.8.5/debian/rules
--- nethogs-0.8.5/debian/rules  2016-12-04 13:43:49.000000000 +0100
+++ nethogs-0.8.5/debian/rules  2017-10-13 21:46:33.000000000 +0200
@@ -5,9 +5,10 @@
 #export PREFIX = /usr
 
 override_dh_auto_test:
+       dh_auto_test -- decpcap_test test
 
 %:
        dh $@
 
 override_dh_auto_build:
-       dh_auto_build -- VERSION="$(shell dpkg-parsechangelog --show-field 
Version)"
+       dh_auto_build -- VERSION="$(shell dpkg-parsechangelog --show-field 
Version)" nethogs

Reply via email to