tags 734537 + 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 nsca (versioned as 2.9.1-3.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 dh-autreconf doesnot 'just work' on this package. It fails to
build after autoreconfing because that replaces the existing
config.h.in (containing header file includes) with a config.h.in that
does not contain those, so all the standard headers are missing for
the build. I'm not sure what the right fix for this is - probably use
of the correctmodern autotools macros. Rather than try to make
intrusive, and possibly incorrect changes, I've just put in the simple
update of config.sub,guess which will generally do the job. 

Fixing the package so that it does autoreconf correctly would be nice
one day. 
diff -u nsca-2.9.1/debian/changelog nsca-2.9.1/debian/changelog
--- nsca-2.9.1/debian/changelog
+++ nsca-2.9.1/debian/changelog
@@ -1,3 +1,10 @@
+nsca (2.9.1-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add autotools-dev for updated config.{sub,guess}. (Closes: #734537)
+
+ -- Chen Baozi <[email protected]>  Fri, 06 Jun 2014 17:41:32 +0800
+
 nsca (2.9.1-3) unstable; urgency=medium
 
   * [96b0cb1] Mention icinga in nsca.cfg and remove old cruft
diff -u nsca-2.9.1/debian/control nsca-2.9.1/debian/control
--- nsca-2.9.1/debian/control
+++ nsca-2.9.1/debian/control
@@ -4,7 +4,7 @@
 Maintainer: Debian Nagios Maintainer Group <[email protected]>
 Uploaders: Alexander Wirt <[email protected]>
 Standards-Version: 3.9.2
-Build-Depends: libmcrypt-dev, dpatch (>= 2.0.32~), debhelper (>= 7.0.50~), po-debconf
+Build-Depends: libmcrypt-dev, dpatch (>= 2.0.32~), debhelper (>= 7.0.50~), po-debconf, autotools-dev
 
 Package: nsca
 Architecture: any
diff -u nsca-2.9.1/debian/rules nsca-2.9.1/debian/rules
--- nsca-2.9.1/debian/rules
+++ nsca-2.9.1/debian/rules
@@ -3,7 +3,7 @@
 include /usr/share/dpatch/dpatch.make
 
 %:
-	dh $@ --with dpatch
+	dh $@ --with dpatch,autotools-dev
 
 override_dh_auto_configure:
 	./configure \

Reply via email to