Source: clamav
Version: 0.102.3+dfsg-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

clamav regressed in the reported version in that it now runs tests
despite DEB_BUILD_OPTIONS=nocheck. In a cross build setting, this makes
the build fail. Please consider applying the attached patch to restore
nocheck support.

Helmut
diff --minimal -Nru clamav-0.102.3+dfsg/debian/changelog 
clamav-0.102.3+dfsg/debian/changelog
--- clamav-0.102.3+dfsg/debian/changelog        2020-05-16 17:12:04.000000000 
+0200
+++ clamav-0.102.3+dfsg/debian/changelog        2020-05-17 12:15:30.000000000 
+0200
@@ -1,3 +1,10 @@
+clamav (0.102.3+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Honour DEB_BUILD_OPTIONS=nocheck again. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 17 May 2020 12:15:30 +0200
+
 clamav (0.102.3+dfsg-1) unstable; urgency=medium
 
   * Import 0.102.3
diff --minimal -Nru clamav-0.102.3+dfsg/debian/rules 
clamav-0.102.3+dfsg/debian/rules
--- clamav-0.102.3+dfsg/debian/rules    2020-05-16 15:01:00.000000000 +0200
+++ clamav-0.102.3+dfsg/debian/rules    2020-05-17 12:15:28.000000000 +0200
@@ -136,11 +136,13 @@
        dh_auto_build -a -- V=1
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 ifneq (,$(filter ia64 sparc, $(DEB_HOST_ARCH)))
        T=900 $(MAKE) check EF_ALIGNMENT=8 V=1 VERBOSE=1
 else
        T=900 $(MAKE) check V=1 VERBOSE=1
 endif
+endif
 
 override_dh_install:
        dh_install
_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-clamav-devel

Reply via email to