• Bug#1103970: valgrind: FTBFS on 32-bit: Cannot find (any matches for) "

    From Simon McVittie@21:1/5 to All on Wed Apr 23 11:40:01 2025
    XPost: linux.debian.ports.arm, linux.debian.ports.powerpc

    Source: valgrind
    Version: 1:3.24.0-3
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: debian-arm@lists.debian.org, debian-powerpc@lists.debian.org, mpich@packages.debian.org
    User: debian-arm@lists.debian.org
    Usertags: armhf
    User: debian-qa@lists.debian.org
    Usertags: i386
    User: debian-powerpc@lists.debian.org
    Usertags: powerpc

    While checking why the fix for #1057621 wasn't migrating to testing, I
    noticed that the updated valgrind has failed to build on armhf and i386,
    as well as the -ports architecture powerpc. (This means that it built successfully on every 64-bit architecture that it supports, but failed
    to build on every 32-bit architecture.)

    The build failure:

    dh_install -pvalgrind -Xlibmpiwrap
    dh_install --remaining-packages
    dh_install: warning: Cannot find (any matches for) "usr/lib/*/valgrind/libmpiwrap*" (tried in ., debian/tmp)

    dh_install: warning: valgrind-mpi missing files: usr/lib/*/valgrind/libmpiwrap*
    dh_install: error: missing files, aborting

    1:3.24.0-2 built successfully, but it seems unlikely for this to have
    been triggered by the only change in 1:3.24.0-3, which was the fix
    for #1057621, <https://salsa.debian.org/debian/valgrind/-/commit/2528eb684823b991035092bd27bd4ff354d22914>
    which seems to be unrelated to the error message. Instead I think this
    must have been triggered by a change in some other package - perhaps
    mpich, which is the MPI implementation used on 32-bit? - between
    2025-01-22 and 2025-04-13.

    I see that valgrind's configure check for mpi-c is failing:

    checking for mpicc... /usr/bin/mpicc
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for mpi-c... no
    gcc: error: unrecognized command-line option '-showme:compile'
    gcc: error: unrecognized command-line option '-showme:link'
    checking primary target for usable MPI2-compliant C compiler and mpi.h... no

    This might be related to the mpich and mpi-defaults autopkgtest
    regressions seen with the version in unstable, #1102928 and #1089694.
    If this is really a mpich regression, the bug can be reassigned to mpich
    with an "affects" on src:valgrind.

    Thanks,
    smcv

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Stapelberg@21:1/5 to Chris Hofstaedtler on Thu May 8 09:10:02 2025
    XPost: linux.debian.ports.arm, linux.debian.ports.powerpc

    Thanks for the CC, but unfortunately I neither have time nor expertise to
    look into MPI.

    If the folks discussing the merge request achieve consensus, I’m happy to merge it,
    but otherwise, don’t expect anything from me on this issue. Thanks for understanding.

    On Wed, 7 May 2025 at 19:18, Chris Hofstaedtler <zeha@debian.org> wrote:

    Control: severity -1 important

    mpich was uploaded and valgrind now builds again on 32bit.

    Here's a MR from Simon to improve the situation anyway: https://salsa.debian.org/debian/valgrind/-/merge_requests/9



    --
    Best regards,
    Michael

    <div dir="ltr">Thanks for the CC, but unfortunately I neither have time nor expertise to look into MPI.<div><br></div><div>If the folks discussing the merge request achieve consensus, I’m happy to merge it,</div><div>but otherwise, don’t expect
    anything from me on this issue. Thanks for understanding. </div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, 7 May 2025 at 19:18, Chris Hofstaedtler &lt;<a href="mailto:zeha@debian.org">zeha@debian.
    org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Control: severity -1 important<br>

    mpich was uploaded and valgrind now builds again on 32bit.<br>

    Here&#39;s a MR from Simon to improve the situation anyway:<br>
    <a href="https://salsa.debian.org/debian/valgrind/-/merge_requests/9" rel="noreferrer" target="_blank">https://salsa.debian.org/debian/valgrind/-/merge_requests/