Package: libtool
Version: 2.5.4-3
Severity: serious
Tags: ftbfs patch

Hi,

libtool hardcodes VERSION and SERIAL in debian/rules for some reason,
which overrides the upstream definition in ltversion.m4.

While we have 2.5.4 in Debian now, a check for LT >= 2.5.4 in
libtool-using packages will fail as Debian's ltversion.m4 macros define
2.4.3, so version check fails.

Attached is the trivial patch to solve this, but I think the
redefinition in debian/rules should be dropped.

This affects the upload of mailutils 3.18, which can't be built in
Debian with this libtool.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.16-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libtool depends on:
ii  autotools-dev         20220109.1
ii  cpp                   4:14.2.0-1
ii  file                  1:5.45-3+b1
ii  gcc [c-compiler]      4:14.2.0-1
ii  gcc-14 [c-compiler]   14.2.0-17
ii  libc6-dev [libc-dev]  2.40-7

Versions of packages libtool recommends:
ii  libltdl-dev  2.5.4-3

Versions of packages libtool suggests:
ii  autoconf                       2.72-3
ii  automake [automaken]           1:1.17-3
pn  gcj-jdk                        <none>
pn  gfortran | fortran95-compiler  <none>
pn  libtool-doc                    <none>

-- no debconf information
>From 16db1fc7be07cba789733d4fda40c6c8ad1053b5 Mon Sep 17 00:00:00 2001
From: Jordi Mallach <jo...@mallach.net>
Date: Wed, 5 Mar 2025 00:04:53 +0100
Subject: [PATCH] Update VERSION and SERIAL in debian/rules.

This fixes build of new GNU mailutils versions.
---
 debian/changelog | 7 +++++++
 debian/rules     | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4049b6c..3b2f019 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libtool (2.5.4-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Update VERSION and SERIAL in debian/rules.
+
+ -- Jordi Mallach <jo...@debian.org>  Wed, 05 Mar 2025 00:03:06 +0100
+
 libtool (2.5.4-3) unstable; urgency=medium
 
   * Drop B-D on libltdl-dev. Closes: #1094361
diff --git a/debian/rules b/debian/rules
index 59ad2d4..03070c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,8 @@
 #export DH_VERBOSE=1
 
 # In case they are dropped
-SERIAL=4245
-VERSION=2.4.7
+SERIAL=4441
+VERSION=2.5.4
 
 include /usr/share/dpkg/architecture.mk
 DEB_CFLAGS_MAINT_PREPEND := -Wall
-- 
2.47.2

Reply via email to