Hi Alastair and Simon,

I think this is a high urgency matter in the sense that it is a paper
cut to lots of developers and have therefore NMUed your package with the
attached patch.

On Tue, Jan 28, 2025 at 09:16:20AM +0000, Simon McVittie wrote:
> Perhaps the output of `aclocal-1.17 --version` has changed from "1.17" to
> "aclocal (GNU automake) 1.17" and the libtool packaging isn't expecting that?

The parsing did not deal with the lack of a minor version and failed to
match. It's a fairly simple change to d/rules.

Combined with automake now providing automake-1.16 this makes libtool
build without fixing #1094361 (which I still think should be fixed) and
once built, it'll depend on automake-1.17 and the annoyance goes away.

I remove the urgency from the matter. At least until automake-1.18.

Helmut
>From 0d37aff7211b189869118980c1fa067351c6c041 Mon Sep 17 00:00:00 2001
From: Helmut Grohne <hel...@subdivi.de>
Date: Wed, 29 Jan 2025 14:07:48 +0100
Subject: [PATCH] NMU libtool/2.5.4-2.1 to unstable fixing aclocal version
 matching

---
 debian/changelog | 8 ++++++++
 debian/rules     | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5c317c2..778b08a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libtool (2.5.4-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix aclocal version matching to cope with minor-less versions. (Closes:
+    #1094400)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 29 Jan 2025 14:07:27 +0100
+
 libtool (2.5.4-2) unstable; urgency=medium
 
   * Upload to unstable
diff --git a/debian/rules b/debian/rules
index 2586ada..59ad2d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 	INSTALL_PROGRAM += -s
 endif
 
-AM_VERSION=$(shell aclocal --version | sed 's/.* \([0-9]\+\.[0-9]\+\)\.[0-9]\+$$/\1/;q')
+AM_VERSION=$(shell aclocal --version | sed 's/.* \([0-9]\+\.[0-9]\+\)\(\.[0-9]\+\)\?$$/\1/;q')
 
 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
 	confflags += --build=$(DEB_HOST_GNU_TYPE)
-- 
2.47.2

Reply via email to