This fix (version 2.5.8-3.2) does not actually build on any architeture that is not already known to the config.{sub,guess} files shipped with the package, because the clean traget tries to run configure and of course fails on arches it has never heard of. This happens before dh_autoreconf has had a chance to update things.
See http://buildd.debian-ports.org/status/fetch.php?pkg=libmcrypt&arch=arm64&ver=2.5.8-3.2&stamp=1409008135 for an example build failure. Runing configure like this in the clean is rather odd, and seems to be being done to work round some problem with the autotools state in the shipped tarball. Once we are using autoreconf, this step should be unnecessary, so the attached patch simply removes that extra step from the clean. The package now builds fine on a new arch (tested on arm64). Unless I have misunderstood what the point of the previous override was, I think this should be fine to upload. This package is blocking many builds in new architectures, so I will upload the fix to delayed/7 shortly. Do please say if it's OK to NMU this faster. Wookey -- Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM http://wookware.org/
diff -u libmcrypt-2.5.8/debian/changelog libmcrypt-2.5.8/debian/changelog --- libmcrypt-2.5.8/debian/changelog +++ libmcrypt-2.5.8/debian/changelog @@ -1,3 +1,10 @@ +libmcrypt (2.5.8-3.3) unstable; urgency=low + + * Non-maintainer upload. + * Really fix #754132 + + -- Wookey <woo...@debian.org> Mon, 15 Sep 2014 08:01:17 +0000 + libmcrypt (2.5.8-3.2) unstable; urgency=low * Non-maintainer upload. diff -u libmcrypt-2.5.8/debian/rules libmcrypt-2.5.8/debian/rules --- libmcrypt-2.5.8/debian/rules +++ libmcrypt-2.5.8/debian/rules @@ -3,11 +3,6 @@ %: dh "$@" --with autoreconf -# Upstream bug: halfly ./configure finished directory tar.gz'd up as orig.tar.gz -override_dh_auto_clean: - dh_auto_configure -- --enable-static - dh_auto_clean - override_dh_installman: dh_installman mv debian/libmcrypt-dev/usr/share/man/man3/mcrypt.3 debian/libmcrypt-dev/usr/share/man/man3/libmcrypt.3