tags 727922 + patch
tags 727922 + 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 lnpd (versioned as 0.9.0-7.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 lnpd-0.9.0/debian/control lnpd-0.9.0/debian/control
--- lnpd-0.9.0/debian/control
+++ lnpd-0.9.0/debian/control
@@ -2,7 +2,7 @@
 Section: devel
 Priority: extra
 Maintainer: Michael Tautschnig <m...@debian.org>
-Build-Depends: debhelper (>= 5), quilt, autotools-dev
+Build-Depends: debhelper (>= 5), quilt, autotools-dev, dh-autoreconf
 Standards-Version: 3.8.3
 Homepage: http://brickos.sourceforge.net
 
diff -u lnpd-0.9.0/debian/changelog lnpd-0.9.0/debian/changelog
--- lnpd-0.9.0/debian/changelog
+++ lnpd-0.9.0/debian/changelog
@@ -1,3 +1,10 @@
+lnpd (0.9.0-7.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf in build to support new architectures (Closes: #727922)
+
+ -- Chen Baozi <baoz...@gmail.com>  Fri, 06 Jun 2014 11:04:53 +0800
+
 lnpd (0.9.0-7) unstable; urgency=low
 
   * Bumped standards version (no changes)
diff -u lnpd-0.9.0/debian/rules lnpd-0.9.0/debian/rules
--- lnpd-0.9.0/debian/rules
+++ lnpd-0.9.0/debian/rules
@@ -28,8 +28,7 @@
 
 config.status: configure $(QUILT_STAMPFN)
 	dh_testdir
-	cp -f /usr/share/misc/config.sub config.sub
-	cp -f /usr/share/misc/config.guess config.guess
+	dh_autoreconf
 	# 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
 
@@ -57,6 +56,7 @@
 	rm -f config.log
 	rm -f Makefile
 
+	dh_autoreconf_clean
 	dh_clean 
 
 install: build

Reply via email to