tags 752791 + pending
thanks

Dear maintainer,

This bug 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 zthreads (versioned as 2.3.2-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 -Nru zthreads-2.3.2/debian/changelog zthreads-2.3.2/debian/changelog
--- zthreads-2.3.2/debian/changelog	2012-05-19 19:12:50.000000000 +0100
+++ zthreads-2.3.2/debian/changelog	2014-07-04 02:50:38.000000000 +0100
@@ -1,3 +1,10 @@
+zthreads (2.3.2-7.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf in build to support new architectures (Closes: 752791)
+
+ -- Chen Baozi <baoz...@gmail.com>  Thu, 05 Jun 2014 20:55:32 +0800
+
 zthreads (2.3.2-7) unstable; urgency=low
 
   * Adding multi-arch support.
diff -Nru zthreads-2.3.2/debian/control zthreads-2.3.2/debian/control
--- zthreads-2.3.2/debian/control	2012-05-19 19:42:38.000000000 +0100
+++ zthreads-2.3.2/debian/control	2014-06-05 13:55:24.000000000 +0100
@@ -2,7 +2,7 @@
 Priority: extra
 Section: libs
 Maintainer: Cleto Martín <cleto.mar...@gmail.com>
-Build-Depends: debhelper (>= 9), autotools-dev, quilt
+Build-Depends: debhelper (>= 9), autotools-dev, quilt, dh-autoreconf
 Standards-Version: 3.9.3
 Homepage:  http://zthread.sourceforge.net/
 
diff -Nru zthreads-2.3.2/debian/rules zthreads-2.3.2/debian/rules
--- zthreads-2.3.2/debian/rules	2012-05-19 20:20:55.000000000 +0100
+++ zthreads-2.3.2/debian/rules	2014-06-05 13:55:15.000000000 +0100
@@ -11,7 +11,7 @@
 
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 override_dh_auto_configure:
 	./configure --build=$(DEB_HOST_MULTIARCH) --prefix=/usr --includedir=\$${prefix}/include \

Reply via email to