• Bug#1098525: dh-fortran-mod: Several packages having dh-fortran-mod in

    From Santiago Vila@21:1/5 to All on Sat Feb 22 00:20:01 2025
    Package: dh-fortran-mod
    Version: 0.42
    Severity: grave
    Affects: src:atlas-ecmwf src:ectrans src:fckit src:fiat-ecmwf

    Dear maintainer:

    The following packages currently FTBFS in a way
    which suggests that dh-fortran-mod may be the root cause.

    atlas-ecmwf
    ectrans
    fckit
    fiat-ecmwf

    Taking atlas-ecmwf as an example, the build failure is like this:

    dpkg-buildpackage: info: source package atlas-ecmwf
    dpkg-buildpackage: info: source version 0.40.0-1
    dpkg-buildpackage: info: source distribution unstable
    dpkg-buildpackage: info: source changed by Alastair McKinstry <mckinstry@debian.org>
    dpkg-source --before-build .
    dpkg-buildpackage: info: host architecture amd64
    debian/rules clean
    /usr/share/debhelper/dh-fortran/fortran-support.mk:53: *** unterminated call to function 'strip': mi
    ssing ')'. Stop.
    dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2


    Seems as if there was something wrong in line 53 of fortran-support.mk.
    This is an extract of the file with numbered lines:

    52 # Install in this directory
    53 get_fmoddir = $(strip \
    54 $(if $(filter $1,gfortran), ${fort_root}/gfortran-mod-15, \
    55 $(if $(filter $1, flang), ${fort_root}/flang-mod-15, \
    56 $(if $(filter $1, flang17), ${fort_root}/flang-mod-15, \
    57 $(if $(filter $1, flang18), ${fort_root}/flang-mod-15, \
    58 $(if $(filter $1, flang19), ${fort_root}/flang-mod-15, \
    59 $(if $(filter $1, flang20), ${fort_root}/flang-mod-15, \
    60 $(if $(filter $1, flangext), ${fort_root}/flangext-mod-15, \
    61 $(if $(filter $1, flangext17), ${fort_root}/flangext-mod-15, \
    62 $(if $(filter $1, flangext18), ${fort_root}/flangext-mod-15, \
    63 $(if $(filter $1, lfortran), ${fort_root}/lfortran-mod-0, \
    64 ${fort_root}/$1 ))))))))))

    Is there a missing ')' at the end?

    ( That's what it seems, but why is this happening now? Maybe some variable
    is now defined/undefined where previously it was undefined/defined? )

    ( A code path which was not followed until now? )

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Feb 24 13:30:01 2025
    This is a multi-part message in MIME format...

    Your message dated Mon, 24 Feb 2025 12:18:59 +0000
    with message-id <E1tmXQJ-0021nW-Bo@fasolo.debian.org>
    and subject line Bug#1098525: fixed in dh-fortran-mod 0.43
    has caused the Debian Bug report #1098525,
    regarding dh-fortran-mod: Several packages having dh-fortran-mod in their build-depends currently FTBFS
    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.)


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

    Received: (at submit) by bugs.debian.org; 21 Feb 2025 23:10:07 +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=-119.1 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,MONEY,
    SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 27; hammy, 150; neutral, 80; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <sanvila@debian.org>
    Received: from