• Bug#1099559: libtool: Outdated VERSION (and SERIAL) causes FTBFS on unr

    From Jordi Mallach@21:1/5 to All on Wed Mar 5 00:30:01 2025
    This is a multi-part MIME message sent by reportbug.


    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 <jordi@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 <jordi@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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jordi Mallach@21:1/5 to All on Wed Mar 5 11:40:01 2025
    Hi,

    El dc. 05 de 03 de 2025 a les 10:09 +0000, en/na McKinstry, Alastair va escriure:



    Hi
     
    I will revisit why we hardcode VERSION and SERIAL when I have proper bandwidth soon.
    In the interim I will apply this patch thanks

    Thanks!

    FWIW, you added that in 68e089ef1f8469ede166fa62d12dada4bac5c3fd, to
    "handle missing files in the tarball". I guess there was a very bad
    libtool release that was missing stuff and you worked around like this.
    It probably does more harm than good these days, as it's easy to forget
    to update it.



    --
    Jordi Mallach <jordi@debian.org>
    Debian Project

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Mar 5 14:00:05 2025
    This is a multi-part message in MIME format...

    Your message dated Wed, 05 Mar 2025 11:20:15 +0000
    with message-id <E1tpmnP-006XwX-L4@fasolo.debian.org>
    and subject line Bug#1099559: fixed in libtool 2.5.4-4
    has caused the Debian Bug report #1099559,
    regarding libtool: Outdated VERSION (and SERIAL) causes FTBFS on unrelated packages like mailutils
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1099559: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099559
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 4 Mar 2025 23:23:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-21.9 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,FOURLA,FROMDEVELOPER,HAS_PACKAGE,MD5_SHA1_SUM,
    SPF_HELO_NONE,SPF_NONE,XMAILER_REPORTBUG autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 28; hammy, 150; neutral, 206; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--gfortran,
    0.000-+--autotools-dev, 0.000-+--autotoolsdev, 0.000-+--H*M:reportbug Return-path: <jordi@debian.org>
    Received: from fontroja.oskuro.net ([2a01:4f8:c17:e2d::]:48936)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.94.2)