Your message dated Tue, 21 Nov 2017 13:04:17 +0000
with message-id <e1eh8dp-000ew4...@fasolo.debian.org>
and subject line Bug#881912: fixed in keyutils 1.5.9-9.2
has caused the Debian Bug report #881912,
regarding keyutils: FTBFS on mips and mipsel: keyctl_describe: Function not 
implemented
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
881912: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881912
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: keyutils
Version: 1.5.9-9.1
Severity: serious
Tags: sid buster patch pending

Hi,

keyutils currently FTBFS on mips and mipsel with the error:
> #### Some tests require root privileges.
> #### It is recommended that this be run as root.
> keyctl_describe: Function not implemented
> Running with session keyring RHTS/keyctl/7093
> keyctl_join_session_keyring: Function not implemented
> Makefile:42: recipe for target 'run' failed
> make[3]: *** [run] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> Makefile:201: recipe for target 'test' failed
> make[2]: *** [test] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: make -j1 test 
> PATH=/<<PKGBUILDDIR>>:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
>  LD_LIBRARY_PATH=/<<PKGBUILDDIR>> SKIPROOT=yes SKIPINSTALLED=yes returned 
> exit code 2
> debian/rules:29: recipe for target 'override_dh_auto_test' failed
> make[1]: *** [override_dh_auto_test] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> debian/rules:16: recipe for target 'build-arch' failed
> make: *** [build-arch] Error 2
> dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

This happens due to a regression in linux 4.8 where the compat keyctl
syscall is not properly enabled (see #881830 for more details).

I attach an NMU to fix this by temporarily disabling the testsuite on
mips and mipsel, which I have uploaded to DELAYED/5. Please tell me if
you want me to cancel it. I'll try to open a bug to remind you to remove
the temporary fix after the kernel bug has been fixed on the buildds.

Thanks,
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 11:59:37.000000000 +0000
@@ -1,3 +1,11 @@
+keyutils (1.5.9-9.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Disable testsuite on mips and mipsel until kernel bug #881830 is fixed.
+    (Closes: #XXXXXXX)
+
+ -- James Cowgill <jcowg...@debian.org>  Thu, 16 Nov 2017 11:59:37 +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 11:59:37.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


--- End Message ---
--- Begin Message ---
Source: keyutils
Source-Version: 1.5.9-9.2

We believe that the bug you reported is fixed in the latest version of
keyutils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 881...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James Cowgill <jcowg...@debian.org> (supplier of updated keyutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 16 Nov 2017 12:19:11 +0000
Source: keyutils
Binary: keyutils libkeyutils1 libkeyutils-dev
Architecture: source
Version: 1.5.9-9.2
Distribution: unstable
Urgency: medium
Maintainer: Christian Kastner <c...@debian.org>
Changed-By: James Cowgill <jcowg...@debian.org>
Description:
 keyutils   - Linux Key Management Utilities
 libkeyutils-dev - Linux Key Management Utilities (development)
 libkeyutils1 - Linux Key Management Utilities (library)
Closes: 881912
Changes:
 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)
Checksums-Sha1:
 755cedfff812e33bf2db3457cc6cd2ea106c21ae 2093 keyutils_1.5.9-9.2.dsc
 7ffe386b7b9a45d4823c7345aaa77dedd35a1d57 17848 keyutils_1.5.9-9.2.debian.tar.xz
 1345f1f85f65c1d1fd8bbe15075ef3d4b929eae4 5646 
keyutils_1.5.9-9.2_source.buildinfo
Checksums-Sha256:
 41496f40742131ecb8ff0bb51df26989f58dc1c0698b85e04e9e30938e583709 2093 
keyutils_1.5.9-9.2.dsc
 c137f4a426819253a9416177ffb1cf943691210b6910239779b82aa4c4714337 17848 
keyutils_1.5.9-9.2.debian.tar.xz
 1f3f3d4882c324ded626c33d1310ea6f93ed00274350c93e8e3c8b39da6fd98c 5646 
keyutils_1.5.9-9.2_source.buildinfo
Files:
 72793725bb7c98f9a29917e8ada75ca4 2093 admin optional keyutils_1.5.9-9.2.dsc
 5586e5c2664f2efb8bad1b7723440194 17848 admin optional 
keyutils_1.5.9-9.2.debian.tar.xz
 215769467f4141268b9d002426f3467f 5646 admin optional 
keyutils_1.5.9-9.2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE+Ixt5DaZ6POztUwQx/FnbeotAe8FAloNgvoACgkQx/Fnbeot
Ae+TeA/+M05zhsLmtO/Td1UVIPCZ1xuF1G0BVXwKFxtAq9py6bDBaRvEVPJ/j+ma
wYd/5ThoUUf9MjtQEHSGeeo9DjtHtHr7SxWLga4vAzNtA0BxVOlq2x08nD4ARrFJ
PCUcxYoyCJIJiEa5u3vrZAJQb7k0ZnR2aDZKKeHkJHCpR6h+a3vRBcX1a+OZr3fF
t0mFmU9qx+cvISz8JRHVuwfXZeUMFrw7peo/I35nabNCr/LaZUz+4qld9tj9aY3R
cGE+qipVBPIEJN2P0TTV+LiBeJMHwiwigL/E53mTzuqRJqtDPxGohu2/ToGwIAFw
gr2wVc5mjLtCzGL5NxGa4d7T66zc8OrENKbGn3m+rnw2TTRGsdA+BUZiYd7ET+I8
XAvBmLrjN0yv38k/4OabzWPAxd/iqUXWJG10WWHFp8nDSa/4K3sqyY74ArS2Sq3I
gjucLSZKGzPJr4roN+e9gynPSqDN1Pyl+g1h7pzYY+LuhxSw6Y1Lc93H9NBiqWBu
zoduXwVWttRETt96apfsevsC+yCNfy5t0veGVuzBeMfEVNf7nrRhgchR3jHLNH7Z
5xOrj1WcvW34XT4xBS8kkAc+aFFPqj2ZiUdVQA9Sz034giQQXv+6k05svOcipXDz
ilRHNH3kyjZsByBkmgAJxDEVoMXTsQGxgG7xUMVsFdG1AWYR5Jc=
=HJte
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to