Hi I got the error below on both Debian 13 and Ubuntu 26.04, while libtoolize from Debian 12 and Ubuntu 24.04 works fine. I pushed the attached patch to ignore these weird modified versions. If there is a better way (is the format used by Debian generally a recommended variant that we should parse?) feel free to further improve it.
/Simon make[2]: Entering directory '/builds/gsasl/gsasl' make --no-print-directory -s announcement \ > ~/announce-gsasl-23.42.17 announce-gen: libtoolize: unexpected --version output: libtoolize (GNU libtool) 2.5.4 Debian-2.5.4-9 at ./build-aux/announce-gen line 394.
From 722f67e9716bf914c18d468336c1f4f9e5cce915 Mon Sep 17 00:00:00 2001 From: Simon Josefsson <[email protected]> Date: Tue, 12 May 2026 21:54:57 +0200 Subject: [PATCH] announce-gen: Ignore libtoolize --version Debianism * build-aux/announce-gen (get_tool_versions): Ignore trailing ' Debian*'. --- ChangeLog | 6 ++++++ build-aux/announce-gen | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4ad52a2571..2c73245a79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2026-05-12 Simon Josefsson <[email protected]> + + announce-gen: Ignore libtoolize --version Debianism + * build-aux/announce-gen (get_tool_versions): Ignore + trailing ' Debian*'. + 2026-05-12 Bruno Haible <[email protected]> maintainer-makefile: Fix sc_po_check failure. diff --git a/build-aux/announce-gen b/build-aux/announce-gen index 7b1d774071..356c034b2e 100755 --- a/build-aux/announce-gen +++ b/build-aux/announce-gen @@ -35,7 +35,7 @@ eval 'exec perl -wSx "$0" "$@"' if 0; -my $VERSION = '2025-11-26 21:27'; # UTC +my $VERSION = '2026-05-12 19:49'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook @@ -385,7 +385,7 @@ sub get_tool_versions ($$) # Assume that the last "word" on the first line of # 'tool --version' output is the version string. my ($first_line, undef) = split ("\n", `$t --version`); - if ($first_line =~ /.* ([a-f\d][\w.-]+)$/) + if ($first_line =~ /.* ([a-f\d][\w.-]+)( Debian[\w.-]+)?$/) { $t = ucfirst $t; push @tool_version_pair, "$t $1"; -- 2.54.0
signature.asc
Description: PGP signature
