tags 727521 + patch
tags 727521 + pending
thanks

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).

I've prepared an NMU for xmlrpc-epi (versioned as 0.54.2-1.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 your package, and is a very simple
patch. 

diff -u xmlrpc-epi-0.54.2/debian/rules xmlrpc-epi-0.54.2/debian/rules
--- xmlrpc-epi-0.54.2/debian/rules
+++ xmlrpc-epi-0.54.2/debian/rules
@@ -20,6 +20,7 @@
 
 config.status:
 	dh_testdir
+	dh_autoreconf
 	./configure --build=$(DEB_BUILD_GNU_TYPE) --includedir=/usr/include/xmlrpc-epi \
 		--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
 		CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" $(DEB_CONFIGURE_EXTRA_FLAGS)
@@ -36,6 +37,7 @@
 	dh_testdir
 	dh_testroot
 	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_autoreconf_clean
 	dh_clean build_stamp
 
 install: build
diff -u xmlrpc-epi-0.54.2/debian/changelog xmlrpc-epi-0.54.2/debian/changelog
--- xmlrpc-epi-0.54.2/debian/changelog
+++ xmlrpc-epi-0.54.2/debian/changelog
@@ -1,3 +1,10 @@
+xmlrpc-epi (0.54.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf in build to support new architectures (Closes: #727521)
+
+ -- Chen Baozi <baoz...@gmail.com>  Thu, 05 Jun 2014 20:52:18 +0800
+
 xmlrpc-epi (0.54.2-1) unstable; urgency=low
 
   * New upstream release (Closes:#620437)
diff -u xmlrpc-epi-0.54.2/debian/control xmlrpc-epi-0.54.2/debian/control
--- xmlrpc-epi-0.54.2/debian/control
+++ xmlrpc-epi-0.54.2/debian/control
@@ -3,7 +3,7 @@
 Maintainer: Robin Cornelius <robin.cornel...@gmail.com>
 Uploaders: Paul TBBle Hampson <paul.hamp...@pobox.com>
 Homepage: http://xmlrpc-epi.sourceforge.net/
-Build-Depends: debhelper (>= 8.1.3~), autotools-dev, libexpat1-dev, pkg-config
+Build-Depends: debhelper (>= 8.1.3~), autotools-dev, libexpat1-dev, pkg-config, dh-autoreconf
 Standards-Version: 3.9.2
 Section: libs
 Vcs-GIT: git://github.com/robincornelius/xmlrpc-epi-debian.git

Reply via email to