Hi,

This is the NMU actually uploaded (with cosmetic changes to the changelog).

James
diff -Nru keyutils-1.5.9/debian/changelog keyutils-1.5.9/debian/changelog
--- keyutils-1.5.9/debian/changelog     2017-09-28 13:19:16.000000000 +0100
+++ keyutils-1.5.9/debian/changelog     2017-11-16 12:19:11.000000000 +0000
@@ -1,3 +1,12 @@
+keyutils (1.5.9-9.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules:
+    - Disable testsuite on mips and mipsel until kernel bug #881830 is fixed.
+      (Closes: #881912)
+
+ -- James Cowgill <[email protected]>  Thu, 16 Nov 2017 12:19:11 +0000
+
 keyutils (1.5.9-9.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru keyutils-1.5.9/debian/rules keyutils-1.5.9/debian/rules
--- keyutils-1.5.9/debian/rules 2017-09-28 13:16:32.000000000 +0100
+++ keyutils-1.5.9/debian/rules 2017-11-16 12:01:56.000000000 +0000
@@ -8,6 +8,7 @@
 DEB_VERSION := $(shell dpkg-parsechangelog -S Version)
 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
@@ -26,6 +27,7 @@
        dh_auto_install -- LIBDIR=/lib/$(DEB_HOST_MULTIARCH) 
USRLIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
 
 override_dh_auto_test:
+ifeq ($(filter $(DEB_HOST_ARCH), mips mipsel),)
        # Use  the library and executable we just built;
        # skip tests requiring root
        dh_auto_test -- \
@@ -33,6 +35,14 @@
                LD_LIBRARY_PATH=$(CURDIR) \
                SKIPROOT=yes \
                SKIPINSTALLED=yes
+else
+       # Disable the testsuite on mips and mipsel where the kernel might not
+       #  have the nessesary compat keyctl syscall available.
+       # This can be removed when either:
+       # - All the buildds use kernel >= 4.12
+       # - #881830 is fixed in stable
+       echo Testsuite disabled on $(DEB_HOST_ARCH)
+endif
 
 override_dh_install:
        dh_install --fail-missing

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to