Bug#1063152: mumps: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: mumps
Dear maintainer,

Please find attached a final version of this patch for the time_t
transition.  This patch is being uploaded to unstable.

Note that this adds a versioned build-dependency on dpkg-dev, to guard
against accidental backports with a wrong ABI.

Thanks!


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
diff -Nru mumps-5.6.2/debian/changelog mumps-5.6.2/debian/changelog
--- mumps-5.6.2/debian/changelog2023-11-29 14:59:10.0 +
+++ mumps-5.6.2/debian/changelog2024-02-28 20:55:10.0 +
@@ -1,3 +1,10 @@
+mumps (5.6.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063152
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 20:55:10 +
+
 mumps (5.6.2-2) unstable; urgency=medium
 
   * Team upload
diff -Nru mumps-5.6.2/debian/control mumps-5.6.2/debian/control
--- mumps-5.6.2/debian/control  2023-11-29 13:54:48.0 +
+++ mumps-5.6.2/debian/control  2024-02-28 20:55:10.0 +
@@ -4,7 +4,7 @@
 Maintainer: Debian Science Maintainers 

 Uploaders:
  "Adam C. Powell, IV" ,
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  debhelper-compat (= 13),
  gfortran,
  libblas-dev | libopenblas-dev | libatlas-base-dev | libblas.so,
@@ -24,7 +24,7 @@
 Multi-Arch: same
 Depends:
  libmumps-headers-dev (= ${source:Version}),
- libmumps-5.6 (= ${binary:Version}),
+ libmumps-5.6t64 (= ${binary:Version}),
  libscalapack-mpi-dev,
  mpi-default-dev,
  ${misc:Depends},
@@ -56,7 +56,7 @@
 Depends:
  libmumps-dev (= ${binary:Version}),
  libmumps-headers-dev (= ${source:Version}),
- libmumps-seq-5.6 (= ${binary:Version}),
+ libmumps-seq-5.6t64 (= ${binary:Version}),
  ${misc:Depends},
 Description: Direct linear systems solver - non-parallel development files
  MUMPS implements a direct solver for large sparse linear systems, with a
@@ -68,7 +68,10 @@
  Unless you know that you specifically need this, then you almost
  certainly want the libmumps-dev package.
 
-Package: libmumps-5.6
+Package: libmumps-5.6t64
+Provides: ${t64:Provides}
+Replaces: libmumps-5.6
+Breaks: libmumps-5.6 (<< ${source:Version})
 Architecture: any
 Section: libs
 Multi-Arch: same
@@ -83,7 +86,10 @@
  operate on distributed matrices e.g. over a cluster.  It has Fortran and
  C interfaces, and can interface with ordering tools such as Scotch.
 
-Package: libmumps-seq-5.6
+Package: libmumps-seq-5.6t64
+Provides: ${t64:Provides}
+Replaces: libmumps-seq-5.6
+Breaks: libmumps-seq-5.6 (<< ${source:Version})
 Architecture: any
 Section: libs
 Multi-Arch: same
@@ -98,9 +104,12 @@
  .
  This package is built the MUMPS libseq dummy sequential MPI library.
  Unless you know that you specifically need this, then you almost
- certainly want the libmumps-5.6 package.
+ certainly want the libmumps-5.6t64 package.
 
-Package: libmumps-scotch-5.6
+Package: libmumps-scotch-5.6t64
+Provides: ${t64:Provides}
+Replaces: libmumps-scotch-5.6
+Breaks: libmumps-scotch-5.6 (<< ${source:Version})
 Architecture: any
 Section: libs
 Multi-Arch: same
@@ -122,7 +131,7 @@
 Multi-Arch: same
 Depends:
  libmumps-dev,
- libmumps-scotch-5.6 (= ${binary:Version}),
+ libmumps-scotch-5.6t64 (= ${binary:Version}),
  ${misc:Depends},
 Description: Direct linear systems solver - Scotch-version development files
  MUMPS implements a direct solver for large sparse linear systems, with a
@@ -133,7 +142,10 @@
  This package provides static libaries enabling reordering of data using
  SCOTCH.
 
-Package: libmumps-ptscotch-5.6
+Package: libmumps-ptscotch-5.6t64
+Provides: ${t64:Provides}
+Replaces: libmumps-ptscotch-5.6
+Breaks: libmumps-ptscotch-5.6 (<< ${source:Version})
 Architecture: any
 Section: libs
 Multi-Arch: same
@@ -156,7 +168,7 @@
 Multi-Arch: same
 Depends:
  libmumps-dev,
- libmumps-ptscotch-5.6 (= ${binary:Version}),
+ libmumps-ptscotch-5.6t64 (= ${binary:Version}),
  ${misc:Depends},
 Description: Direct linear systems solver - PTScotch-version development files
  MUMPS implements a direct solver for large sparse linear systems, with a
@@ -173,7 +185,7 @@
 Multi-Arch: same
 Depends:
  libmumps-headers-dev (= ${source:Version}),
- libmumps-64pord-5.6 (= ${binary:Version}),
+ libmumps-64pord-5.6t64 (= ${binary:Version}),
  libscalapack-mpi-dev,
  mpi-default-dev,
  ${misc:Depends},
@@ -192,7 +204,7 @@
 Depends:
  libmumps64-dev (= ${binary:Version}),
  libmumps-headers-dev (= ${source:Version}),
- libmumps-64pord-seq-5.6 (= ${binary:Version}),
+ libmumps-64pord-seq-5.6t64 (= ${binary:Version}),
  ${misc:Depends},
 Description: Direct linear systems solver (64 

Bug#1063152: mumps: NMU diff for 64-bit time_t transition

2024-02-05 Thread Graham Inggs
Source: mumps
Version: 5.6.2-2
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

NOTICE: these changes must not be uploaded to unstable yet!

Dear maintainer,

As part of the 64-bit time_t transition required to support 32-bit
architectures in 2038 and beyond
(https://wiki.debian.org/ReleaseGoals/64bit-time), we have identified
mumps as a source package shipping runtime libraries whose ABI
either is affected by the change in size of time_t, or could not be
analyzed via abi-compliance-checker (and therefore to be on the safe
side we assume is affected).

To ensure that inconsistent combinations of libraries with their
reverse-dependencies are never installed together, it is necessary to
have a library transition, which is most easily done by renaming the
runtime library package.

Since turning on 64-bit time_t is being handled centrally through a change
to the default dpkg-buildflags (https://bugs.debian.org/1037136), it is
important that libraries affected by this ABI change all be uploaded close
together in time.  Therefore I have prepared a 0-day NMU for mumps
which will initially be uploaded to experimental if possible, then to
unstable after packages have cleared binary NEW.

Please find the patch for this NMU attached.

If you have any concerns about this patch, please reach out ASAP.  Although
this package will be uploaded to experimental immediately, there will be a
period of several days before we begin uploads to unstable; so if information
becomes available that your package should not be included in the transition,
there is time for us to amend the planned uploads.



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-15-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
diff -Nru mumps-5.6.2/debian/changelog mumps-5.6.2/debian/changelog
--- mumps-5.6.2/debian/changelog2023-11-29 14:59:10.0 +
+++ mumps-5.6.2/debian/changelog2024-02-05 12:25:31.0 +
@@ -1,3 +1,10 @@
+mumps (5.6.2-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs   Mon, 05 Feb 2024 12:25:31 +
+
 mumps (5.6.2-2) unstable; urgency=medium
 
   * Team upload
diff -Nru mumps-5.6.2/debian/control mumps-5.6.2/debian/control
--- mumps-5.6.2/debian/control  2023-11-29 13:54:48.0 +
+++ mumps-5.6.2/debian/control  2024-02-05 12:25:30.0 +
@@ -24,7 +24,7 @@
 Multi-Arch: same
 Depends:
  libmumps-headers-dev (= ${source:Version}),
- libmumps-5.6 (= ${binary:Version}),
+ libmumps-5.6t64 (= ${binary:Version}),
  libscalapack-mpi-dev,
  mpi-default-dev,
  ${misc:Depends},
@@ -56,7 +56,7 @@
 Depends:
  libmumps-dev (= ${binary:Version}),
  libmumps-headers-dev (= ${source:Version}),
- libmumps-seq-5.6 (= ${binary:Version}),
+ libmumps-seq-5.6t64 (= ${binary:Version}),
  ${misc:Depends},
 Description: Direct linear systems solver - non-parallel development files
  MUMPS implements a direct solver for large sparse linear systems, with a
@@ -68,7 +68,10 @@
  Unless you know that you specifically need this, then you almost
  certainly want the libmumps-dev package.
 
-Package: libmumps-5.6
+Package: libmumps-5.6t64
+Provides: ${t64:Provides}
+Replaces: libmumps-5.6
+Breaks: libmumps-5.6 (<< ${source:Version})
 Architecture: any
 Section: libs
 Multi-Arch: same
@@ -83,7 +86,10 @@
  operate on distributed matrices e.g. over a cluster.  It has Fortran and
  C interfaces, and can interface with ordering tools such as Scotch.
 
-Package: libmumps-seq-5.6
+Package: libmumps-seq-5.6t64
+Provides: ${t64:Provides}
+Replaces: libmumps-seq-5.6
+Breaks: libmumps-seq-5.6 (<< ${source:Version})
 Architecture: any
 Section: libs
 Multi-Arch: same
@@ -98,9 +104,12 @@
  .
  This package is built the MUMPS libseq dummy sequential MPI library.
  Unless you know that you specifically need this, then you almost
- certainly want the libmumps-5.6 package.
+ certainly want the libmumps-5.6t64 package.
 
-Package: libmumps-scotch-5.6
+Package: libmumps-scotch-5.6t64
+Provides: ${t64:Provides}
+Replaces: libmumps-scotch-5.6
+Breaks: libmumps-scotch-5.6 (<< ${source:Version})
 Architecture: any
 Section: libs
 Multi-Arch: same
@@ -122,7 +131,7 @@
 Multi-Arch: same
 Depends:
  libmumps-dev,
- libmumps-scotch-5.6 (= ${binary:Version}),
+ libmumps-scotch-5.6t64 (= ${binary:Version}),
  ${misc:Depends},
 Description: Direct linear systems solver - Scotch-version development files
  MUMPS implements a direct solver for large sparse linear systems, with a
@@ -133,7 +142,10 @@
  This package provides static libaries enabling reordering of data using
  SCOTCH.