• Bug#1107128: elfutils: drop unused gcc-multilib dependency

    From Helmut Grohne@21:1/5 to All on Sun Jun 1 22:20:01 2025
    Source: elfutils
    Version: 0.192-4
    Tags: patch

    We'd like to remove gcc-multilib. Cross toolchains are widely available
    and multilib partially duplicates that functionality. elfutils uses it
    for testing. I looked into it and compared a regular, sequential build
    to a sequential build with the dependency dropped. To my surprise, not a
    single test case was skipped as a result. Evidently, gcc-multilib is not
    being used during build. Looking into test cases, the common uses of the relevant -m32 and similar flags are in comments explaining how the test
    data has been obtained. That test data is not reproduced during build,
    so the gcc-multilib dependency is indeed unused. I'm attaching a patch
    for your convenience.

    Helmut

    diff --minimal -Nru elfutils-0.192/debian/changelog elfutils-0.192/debian/changelog
    --- elfutils-0.192/debian/changelog 2024-10-22 13:13:50.000000000 +0200
    +++ elfutils-0.192/debian/changelog 2025-06-01 12:02:34.000000000 +0200
    @@ -1,3 +1,10 @@
    +elfutils (0.192-4.1) UNRELEASED; urgency=medium
    +
    + * Non-maintainer upload.
    + * Drop unused gcc-multilib dependency. (Closes: #-1)
    +
    + -- Helmut Grohne <helmut@subdivi.de> Sun, 01 Jun 2025 12:02:34 +0200
    +
    elfutils (0.192-4) unstable; urgency=medium

    * Drop again the build dependency libimaevm-dev.
    diff --minimal -Nru elfutils-0.192/debian/control elfutils-0.192/debian/control --- elfutils-0.192/debian/control 2024-10-22 13:13:47.000000000 +0200
    +++ elfutils-0.192/debian/control 2025-06-01 12:02:34.000000000 +0200
    @@ -10,7 +10,6 @@
    libzstd-dev, zstd <!nocheck>,
    m4, gettext, po-debconf,
    gawk, dpkg-dev (>= 1.16.1~),
    - gcc-multilib [any-amd64 sparc64] <!nocheck>,
    libc6-dbg [powerpc powerpcspe ppc64 ppc64el armel armhf arm64 sparc64 riscv64],
    flex, bison,
    pkgconf,

    --- SoupGate-Win32 v1.05
    * Origin: f