Package: libhdf5-mpich-dev Version: 1.10.6+repack-4 Severity: serious Tags: patch User: debian...@lists.debian.org Usertags: piuparts
During an piuparts upgrade test of libhdf5-mpich-dev on the upgrade path squeeze -> wheezy -> jessie -> stretch -> buster -> bullseye I observed this failure: Setting up libhdf5-mpich-dev (1.10.6+repack-4) ... update-alternatives: priority must be an integer Use 'update-alternatives --help' for program usage information. dpkg: error processing package libhdf5-mpich-dev (--configure): installed libhdf5-mpich-dev package post-installation script subprocess returned error exit status 2 At the time of the failure the libmpich1.0-dev package which Provides: libmpich-dev was still installed, but that uses an ancient mpi alternative scheme the postinst cannot parse. Making the libmpich-dev versioned (buster shipped with 3.3-3 which uses the new alternatives scheme) ensures that libmpich-dev gets upgraded (or rather installed, kicking out the ancient libmpich1.0-dev from squeeze). This fix needs to get backported to bullseye-pu. This needs an update of mpich as well, since there is an unhandled file conflict between libmpich1.0-dev and mpich, #992065. I've verified that using the two updated packages fixes the problematic upgrade path. Andreas PS: it took me quite some time to understand what was going on here so the fix wasn't ready before the bullseye deadline.
diff -Nru hdf5-1.10.6+repack/debian/changelog hdf5-1.10.6+repack/debian/changelog --- hdf5-1.10.6+repack/debian/changelog 2021-06-16 23:57:23.000000000 +0200 +++ hdf5-1.10.6+repack/debian/changelog 2021-08-10 16:54:23.000000000 +0200 @@ -1,3 +1,10 @@ +hdf5 (1.10.6+repack-5) UNRELEASED; urgency=medium + + * libhdf5-mpich-dev: Bump libmpich-dev dependency to (>= 3.3-3~) to ensure + the postinst is able to parse the mpi alternative. (Closes: #-1) + + -- Andreas Beckmann <a...@debian.org> Tue, 10 Aug 2021 16:54:23 +0200 + hdf5 (1.10.6+repack-4) unstable; urgency=medium * Revert support for read-only S3 virtual file driver, as it introduced diff -Nru hdf5-1.10.6+repack/debian/control hdf5-1.10.6+repack/debian/control --- hdf5-1.10.6+repack/debian/control 2021-06-16 23:57:23.000000000 +0200 +++ hdf5-1.10.6+repack/debian/control 2021-08-10 16:54:23.000000000 +0200 @@ -480,7 +480,7 @@ zlib1g-dev, libaec-dev, libjpeg-dev, - libmpich-dev, + libmpich-dev (>= 3.3-3~), ${misc:Depends} Suggests: libhdf5-doc Breaks: libhdf5-mpi-dev (= 1.10.6+repack-1~exp4) diff -Nru hdf5-1.10.6+repack/debian/control.in hdf5-1.10.6+repack/debian/control.in --- hdf5-1.10.6+repack/debian/control.in 2021-06-16 23:57:23.000000000 +0200 +++ hdf5-1.10.6+repack/debian/control.in 2021-08-10 16:54:23.000000000 +0200 @@ -480,7 +480,7 @@ zlib1g-dev, libaec-dev, libjpeg-dev, - libmpich-dev, + libmpich-dev (>= 3.3-3~), ${misc:Depends} Suggests: libhdf5-doc Breaks: libhdf5-mpi-dev (= 1.10.6+repack-1~exp4)
libhdf5-mpich-dev_1.10.6+repack-4.log.gz
Description: application/gzip