• Bug#1104985: mpdecimal: fix symbols for all 64bit architectures

    From Helmut Grohne@21:1/5 to All on Fri May 9 14:10:02 2025
    Source: mpdecimal
    Version: 4.0.0-1
    Severity: important
    Justification: architecture cross bootstrap regression
    Tags: patch
    User: helmutg@debian.org
    Usertags: rebootstrap

    Hi,

    there now are architecture-specific symbols in mpdecimal and the list
    very much is a list of most 64bit architectures. For those not in the
    list (e.g. loong64 or musl-linux-arm64), the build fails. Please stop whack-a-moling them in and just use arch-bit=64 for matching them all.
    Patch attached. Please include it in trixie.

    Helmut

    diff --minimal -Nru mpdecimal-4.0.0/debian/changelog mpdecimal-4.0.0/debian/changelog
    --- mpdecimal-4.0.0/debian/changelog 2025-02-09 11:41:21.000000000 +0100
    +++ mpdecimal-4.0.0/debian/changelog 2025-05-09 07:52:58.000000000 +0200
    @@ -1,3 +1,11 @@
    +mpdecimal (4.0.0-1.1) UNRELEASED; urgency=medium
    +
    + * Non-maintainer upload.
    + * Use arch-bits=64 in symbols files to cover more architectures. Closes:
    + #-1.
    +
    + -- Helmut Grohne <helmut@subdivi.de> Fri, 09 May 2025 07:52:58 +0200
    +
    mpdecimal (4.0.0-1) unstable; urgency=medium

    * New upstream version 4.0.0
    diff --minimal -Nru mpdecimal-4.0.0/debian/libmpdec4.symbols mpdecimal-4.0.0/debian/libmpdec4.symbols
    --- mpdecimal-4.0.0/debian/libmpdec4.symbols 2025-02-09 11:41:21.000000000 +0100
    +++ mpdecimal-4.0.0/debian/libmpdec4.symbols 2025-05-09 07:52:55.000000000 +0200
    @@ -255,10 +255,10 @@
    mpd_qshiftr_inplace@Base 2.3
    mpd_qsqrt@Base 2.3
    mpd_qsset_i32@Base 2.3
    - (arch=amd64 arm64 ia64 mips64el ppc64 ppc64el riscv64 s390x sparc64 kfreebsd-amd64)mpd_qsset_i64@Base 2.3
    + (arch-bits=64)mpd_qsset_i64@Base 2.3
    mpd_q