tags 727418 + patch
tags 727418 + 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 libnetfilter-log (versioned as 1.0.0-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 this package, and is a very simple
patch. 

Regards.
diff -u libnetfilter-log-1.0.0/debian/changelog libnetfilter-log-1.0.0/debian/changelog
--- libnetfilter-log-1.0.0/debian/changelog
+++ libnetfilter-log-1.0.0/debian/changelog
@@ -1,3 +1,10 @@
+libnetfilter-log (1.0.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf in build to support new architectures (Closes: 727418)
+
+ -- Chen Baozi <baoz...@gmail.com>  Thu, 05 Jun 2014 20:21:34 +0800
+
 libnetfilter-log (1.0.0-1) unstable; urgency=low
 
   * New upstream version (Closes: #589157)
diff -u libnetfilter-log-1.0.0/debian/rules libnetfilter-log-1.0.0/debian/rules
--- libnetfilter-log-1.0.0/debian/rules
+++ libnetfilter-log-1.0.0/debian/rules
@@ -18,6 +18,7 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
+	dh_autoreconf
 
 	# ./configure
 	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
@@ -36,6 +37,7 @@
 
 	[ ! -f Makefile ] || $(MAKE) distclean
 
+	dh_autoreconf_clean
 	dh_clean
 
 install: install-stamp
diff -u libnetfilter-log-1.0.0/debian/control libnetfilter-log-1.0.0/debian/control
--- libnetfilter-log-1.0.0/debian/control
+++ libnetfilter-log-1.0.0/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: extra
 Maintainer: Alexander Wirt <formo...@debian.org>
-Build-Depends: debhelper (>= 5), libnfnetlink-dev (>= 0.0.41)
+Build-Depends: debhelper (>= 5), libnfnetlink-dev (>= 0.0.41), dh-autoreconf
 Standards-Version: 3.9.1
 
 Package: libnetfilter-log1

Reply via email to