Package: libmcrypt4 Version: 2.5.8-3.2 Severity: serious File: libmcrypt Tags: patch Justification: fails to build from source (but built successfully in the past) User: debian-...@lists.debian.org
Dear Maintainer, Hi there. I've made some tweaks to how dh_autoreconf is called in the packaging as there seems to be a problem with debhelper and dh-autoreconf when both dh_auto_configure and dh_auto_clean are overridden. The attached patch calls dh_autoreconf in the overridden targets but only once using the existence of a well-known file that dh_autoreconf creates. This patch allows arm64 to build. Regards, Tim. -- System Information: Debian Release: jessie/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: arm64 (aarch64) Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages libmcrypt4 depends on: ii libc6 2.19-7 libmcrypt4 recommends no packages. Versions of packages libmcrypt4 suggests: pn libmcrypt-dev <none> pn mcrypt <none> -- no debconf information
--- libmcrypt-2.5.8/debian/rules 2014-09-09 05:46:45.000000000 +0000 +++ rules 2014-09-09 05:31:30.000000000 +0000 @@ -5,6 +5,7 @@ # Upstream bug: halfly ./configure finished directory tar.gz'd up as orig.tar.gz override_dh_auto_clean: + [ -e debian/autoreconf.after ] || dh_autoreconf dh_auto_configure -- --enable-static dh_auto_clean @@ -13,4 +14,5 @@ mv debian/libmcrypt-dev/usr/share/man/man3/mcrypt.3 debian/libmcrypt-dev/usr/share/man/man3/libmcrypt.3 override_dh_auto_configure: + [ -e debian/autoreconf.after ] || dh_autoreconf dh_auto_configure -- --enable-static