tags 533687 + patch
tags 533687 + pending
thanks

Dear maintainer,

This bug has been pending for some time (5 years!), 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 dhcping (versioned as 1.2-4.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. 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

However this package does not use debhelper so re-autoconfing, whilst
best practice, is quite an intrusive change for an NMU. Instead I have
just used autotools-dev, and a manual config.{guess,sub} update which
is the most minimal change that (usually) solves the general case
problem of updating for future architectures. 

diff -u dhcping-1.2/debian/rules dhcping-1.2/debian/rules
--- dhcping-1.2/debian/rules
+++ dhcping-1.2/debian/rules
@@ -37,6 +37,7 @@
 endif
 
 build:
+	cp -f /usr/share/misc/config.{sub,guess} .
 	test -f config.cache || ./configure
 	$(MAKE) CFLAGS="$(CFLAGS)"
 	touch stamp-build
diff -u dhcping-1.2/debian/control dhcping-1.2/debian/control
--- dhcping-1.2/debian/control
+++ dhcping-1.2/debian/control
@@ -2,6 +2,7 @@
 Section: admin
 Priority: optional
 Maintainer: Martin Schulze <j...@debian.org>
+Build-Depends: autotools-dev
 Standards-Version: 3.6.2
 
 Package: dhcping
diff -u dhcping-1.2/debian/changelog dhcping-1.2/debian/changelog
--- dhcping-1.2/debian/changelog
+++ dhcping-1.2/debian/changelog
@@ -1,3 +1,10 @@
+dhcping (1.2-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update config.{guess,sub} to support new architectures (Closes: #533687)
+
+ -- Chen Baozi <baoz...@gmail.com>  Tue, 03 Jun 2014 11:04:13 +0800
+
 dhcping (1.2-4) unstable; urgency=low
 
   * Fixed typo in NMU-Disclaimer, thanks to Petter Reinholdtsen (See:

Reply via email to