tags 747877 + pending
thanks

Dear maintainer,

This bug has been pending for a while, 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 rlog (versioned as 1.4-2.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 simple patch.
This fix replaces the manual updating of config.{sub,guess} that was
previusly used, and requires an update to the existing no-doc-delete
patch to have commenting modern autoreconf is happy with.

Regards.
diff -Nru rlog-1.4/debian/changelog rlog-1.4/debian/changelog
--- rlog-1.4/debian/changelog	2011-10-18 22:12:26.000000000 +0100
+++ rlog-1.4/debian/changelog	2014-07-04 02:40:15.000000000 +0100
@@ -1,3 +1,11 @@
+rlog (1.4-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf in build to support new architectures
+    (Closes: 747877 748851)
+    
+ -- Chen Baozi <baoz...@gmail.com>  Fri, 13 Jun 2014 15:33:19 +0800
+
 rlog (1.4-2) unstable; urgency=low
 
   * Adapted build-dependencies to doxygen-latex (closes: #616277)
diff -Nru rlog-1.4/debian/control rlog-1.4/debian/control
--- rlog-1.4/debian/control	2011-10-18 22:05:13.000000000 +0100
+++ rlog-1.4/debian/control	2014-07-04 02:40:53.000000000 +0100
@@ -1,7 +1,7 @@
 Source: rlog
 Priority: optional
 Maintainer: Eduard Bloch <bl...@debian.org>
-Build-Depends: debhelper (>= 5.0.0), doxygen-latex, gcc (>=4:4.3.4)
+Build-Depends: debhelper (>= 5.0.0), dh-autoreconf, doxygen-latex, gcc (>=4:4.3.4)
 Standards-Version: 3.9.2
 Section: libs
 
diff -Nru rlog-1.4/debian/patches/no_doc_delete rlog-1.4/debian/patches/no_doc_delete
--- rlog-1.4/debian/patches/no_doc_delete	2009-11-29 11:48:24.000000000 +0000
+++ rlog-1.4/debian/patches/no_doc_delete	2014-07-04 12:56:32.000000000 +0100
@@ -8,23 +8,8 @@
  clean-local:
 -	-rm -rf html
 -	-rm -rf latex
-+	#-rm -rf html
-+	#-rm -rf latex
++#	-rm -rf html
++#	-rm -rf latex
  endif
  
  all-local: html/index.html
-Index: rlog-1.4/docs/Makefile.in
-===================================================================
---- rlog-1.4.orig/docs/Makefile.in	2009-11-29 12:47:13.174894828 +0100
-+++ rlog-1.4/docs/Makefile.in	2009-11-29 12:47:27.276897269 +0100
-@@ -389,8 +389,8 @@
- @BUILD_DOCS_TRUE@	-cd .. && @DOXYGEN@ Doxyfile
- 
- @BUILD_DOCS_TRUE@clean-local:
--@BUILD_DOCS_TRUE@	-rm -rf html
--@BUILD_DOCS_TRUE@	-rm -rf latex
-+@BUILD_DOCS_TRUE@	#-rm -rf html
-+@BUILD_DOCS_TRUE@	#-rm -rf latex
- 
- all-local: html/index.html
- 
diff -Nru rlog-1.4/debian/rules rlog-1.4/debian/rules
--- rlog-1.4/debian/rules	2011-10-18 22:00:25.000000000 +0100
+++ rlog-1.4/debian/rules	2014-07-04 12:58:53.000000000 +0100
@@ -44,8 +44,9 @@
 #major=`ls src/.libs/lib*.so.* | \
 # awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
 
-config.status: configure
+config.status:
 	dh_testdir
+	dh_autoreconf
 	# Add here commands to configure the package.
 	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
@@ -61,18 +62,12 @@
 clean:
 	dh_testdir
 	dh_testroot
+	dh_autoreconf_clean
 	rm -f *-stamp 
 	rm -rf rlog/.libs rlog/*.o
 
 	# Add here commands to clean up after the build process.
 	$(MAKE) distclean || true
-	# NOTE: might be needed in future but now not relevant.
-#ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-#	cp -f /usr/share/misc/config.sub config/config.sub
-#endif
-#ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-#	cp -f /usr/share/misc/config.guess config/config.guess
-#endif
 
 	dh_clean 
 

Reply via email to