tags 727448 + patch
tags 727448 + pending
thanks

Dear maintainer,

This bug has been pending for some time, and needs fixing for new
ports, including arm64 which is building now:
(http://buildd.debian-ports.org/status/architecture.php?a=arm64&suite=sid).

So I've prepared an NMU for libxcrypt (versioned as 1:2.4-3.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I should
delay it longer.

Discussion on debian-devel revealed consensus that the right way to
ensure successful builds on all new architectures was to autoreconf
packages, so that method has been used to fix this bug. This works for
all arches, even those that need libtool changes, and will continue to
work into the future without an update as each new arch comes along.
(Discussion at
https://lists.debian.org/debian-devel/2014/04/msg00383.html, thread
starting at https://lists.debian.org/debian-devel/2014/04/msg00342.html

As you can see this works fine on this package, and is a very simple
patch. 


Regards.
diff -u libxcrypt-2.4/debian/changelog libxcrypt-2.4/debian/changelog
--- libxcrypt-2.4/debian/changelog
+++ libxcrypt-2.4/debian/changelog
@@ -1,3 +1,10 @@
+libxcrypt (1:2.4-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf in build to support new architectures (closes: #727448)
+
+ -- Chen Baozi <baoz...@gmail.com>  Thu, 05 Jun 2014 20:38:32 +0800
+
 libxcrypt (1:2.4-3) unstable; urgency=low
 
   * QA upload (see #679703).  Skipping 1:2.4-2 to avoid archive filename
diff -u libxcrypt-2.4/debian/rules libxcrypt-2.4/debian/rules
--- libxcrypt-2.4/debian/rules
+++ libxcrypt-2.4/debian/rules
@@ -35,6 +35,7 @@
 
 config.status: configure
 	dh_testdir
+	dh_autoreconf
 	# Add here commands to configure the package.
 	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
@@ -64,7 +65,7 @@
 	#cp -f /usr/share/misc/config.guess config.guess
 endif
 
-
+	dh_autoreconf_clean
 	dh_clean 
 
 install: build
diff -u libxcrypt-2.4/debian/control libxcrypt-2.4/debian/control
--- libxcrypt-2.4/debian/control
+++ libxcrypt-2.4/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Debian QA Group <packa...@qa.debian.org>
-Build-Depends: debhelper (>= 4.0.0), quilt
+Build-Depends: debhelper (>= 4.0.0), quilt, dh-autoreconf
 Standards-Version: 3.6.0
 
 Package: libxcrypt-dev

Reply via email to