tags 534817 + patch
tags 534817 + pending
thanks

Dear maintainer,

This bug has been pending for some 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 liblip (versioned as 2.0.0-1.2) 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

However this package does not use debhelper, so adding autoreconf
support could be quite intrusive for an NMU, so I have just done the
simple update of config.{sub,guess} and autotools-dev build-dep. 

Regards.
diff -u liblip-2.0.0/debian/rules liblip-2.0.0/debian/rules
--- liblip-2.0.0/debian/rules
+++ liblip-2.0.0/debian/rules
@@ -6,6 +6,8 @@
 
 build:
 	$(checkdir)
+	cp -f /usr/share/misc/config.sub .
+	cp -f /usr/share/misc/config.guess .
 	./configure --prefix=/usr --enable-shared
 	$(MAKE) install prefix=$(CURDIR)/shared
 	[ ! -f Makefile ] || $(MAKE) distclean
@@ -21,7 +23,7 @@
 	-rm -f config.log config.cache
 	-rm -f `find . -name "*~"`
 	-rm -rf tnt shared static
-	-rm -rf debian/tmp debian/files* core debian/substvars
+	-rm -rf debian/tmp debian/files* core debian/substvars debian/debhelper.log
 	-rm -rf debian/liblip2 debian/liblip-dev
 
 binary-indep: checkroot build
diff -u liblip-2.0.0/debian/control liblip-2.0.0/debian/control
--- liblip-2.0.0/debian/control
+++ liblip-2.0.0/debian/control
@@ -2,7 +2,7 @@
 Section: math
 Priority: optional
 Maintainer: Juan Esteban Monsalve Tobon <este...@v7w.com>
-Build-Depends: libtnt-dev (>= 1.2.5-3)
+Build-Depends: libtnt-dev (>= 1.2.5-3), autotools-dev
 Homepage: http://www.deakin.edu.au/~gleb/lip.html
 Standards-Version: 3.7.2
 
diff -u liblip-2.0.0/debian/changelog liblip-2.0.0/debian/changelog
--- liblip-2.0.0/debian/changelog
+++ liblip-2.0.0/debian/changelog
@@ -1,3 +1,10 @@
+liblip (2.0.0-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add autotools-dev for updated config.{sub,guess} (Closes: #534817)
+
+ -- Chen Baozi <baoz...@gmail.com>  Thu, 05 Jun 2014 16:22:13 +0800
+
 liblip (2.0.0-1.1) unstable; urgency=low
 
   * Non-maintainer upload.

Reply via email to