Bug#1090791: petsc: strict dependency on the mpich version that was used to build

Emilio Pozuelo Monfort pochu at debian.org
Thu Dec 19 09:25:34 GMT 2024


Source: petsc
Version: 3.22.1+dfsg1-2
Severity: serious
X-Debbugs-Cc: mpich at packages.debian.org

Hi,

Looks like petsc has a strict dependency on the mpich version used to
build it. Which means that whenever mpich is updated, then rdeps will
fail to build. That kind of strict dependency should probably be dropped,
as it's usually wrong. E.g. a minor mpich point release that only contains
bug fixes and no API breaks should be allowed. And if an mpich update
breaks the API/ABI, then it will be accompanied by a SOVERSION bump anyway.

This should fix various autopkgtests whenever mpich is updated, including
petsc's:

In file included from /usr/lib/petscdir/petsc3.22/i386-linux-gnu-real/include/petscvec.h:8,
                 from /usr/lib/petscdir/petsc3.22/i386-linux-gnu-real/include/petscmat.h:6,
                 from /usr/lib/petscdir/petsc3.22/i386-linux-gnu-real/include/petscpc.h:6,
                 from /usr/lib/petscdir/petsc3.22/i386-linux-gnu-real/include/petscksp.h:6,
                 from /usr/include/dolfinx/la/petsc.h:16,
                 from /usr/include/dolfinx/la/dolfinx_la.h:14,
                 from /usr/include/dolfinx.h:15,
                 from /tmp/autopkgtest-lxc.4hvjqnju/downtmp/build.KSs/src/dolfinx-unittests-real/test/matrix.cpp:14:
/usr/lib/petscdir/petsc3.22/i386-linux-gnu-real/include/petscsys.h:95:6: error: #error "PETSc was configured with one MPICH mpi.h version but now appears to be compiling using a different MPICH mpi.h version"

https://ci.debian.net/packages/p/petsc/testing/i386/55544760/
https://ci.debian.net/packages/s/slepc/testing/i386/55551739/
https://ci.debian.net/packages/f/fenics-dolfinx/testing/i386/55545762/

Cheers,
Emilio



More information about the debian-science-maintainers mailing list