Looks like my previous NMU for this bug never made it to the archive, I
guess I forgot the dput step!

Things have changed meanwhile, there have been some more NMUs, but still
no autoreconf. To fix that, I've prepared an NMU for chise-base
(versioned as 0.3.0-2.5) and uploaded it to DELAYED/10. For real this
time.

Regards.

diff -Nru chise-base-0.3.0/debian/autoreconf chise-base-0.3.0/debian/autoreconf
--- chise-base-0.3.0/debian/autoreconf	1970-01-01 01:00:00.000000000 +0100
+++ chise-base-0.3.0/debian/autoreconf	2024-08-19 16:26:02.000000000 +0200
@@ -0,0 +1 @@
+libchise
diff -Nru chise-base-0.3.0/debian/changelog chise-base-0.3.0/debian/changelog
--- chise-base-0.3.0/debian/changelog	2024-02-28 16:40:03.000000000 +0100
+++ chise-base-0.3.0/debian/changelog	2024-08-19 16:26:02.000000000 +0200
@@ -1,3 +1,11 @@
+chise-base (0.3.0-2.5) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Call dh_autoreconf to update config.{sub,guess} and aclocal.m4.
+    Closes: #727343
+
+ -- Emanuele Rocca <e...@debian.org>  Mon, 19 Aug 2024 14:26:02 +0000
+
 chise-base (0.3.0-2.4) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru chise-base-0.3.0/debian/rules chise-base-0.3.0/debian/rules
--- chise-base-0.3.0/debian/rules	2023-08-17 00:40:51.000000000 +0200
+++ chise-base-0.3.0/debian/rules	2024-08-19 16:26:02.000000000 +0200
@@ -35,12 +35,11 @@
 
 libchise/config.status: libchise/configure
 	dh_testdir
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub libchise/config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess libchise/config.guess
-endif
+	# Make a backup of files modified by the build process so that the
+	# package can be built twice in a row
+	for file in config.sub config.guess libtool config.h.in configure aclocal.m4; do cp libchise/$$file debian/$$file.bkp; done
+	cd libchise && aclocal
+	dh_autoreconf
 	cd libchise && CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
 
@@ -57,7 +56,9 @@
 	dh_testroot
 	rm -f build-stamp 
 	cd libchise && [ ! -f Makefile ] || $(MAKE) distclean
+	dh_autoreconf_clean 
 	dh_clean 
+	-for file in config.sub config.guess libtool config.h.in configure aclocal.m4; do mv debian/$$file.bkp libchise/$$file ; done
 
 install: build
 	dh_testdir

Reply via email to