Bug#1064244: med-fichier: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: med-fichier
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 med-fichier-4.1.0+repack/debian/changelog 
med-fichier-4.1.0+repack/debian/changelog
--- med-fichier-4.1.0+repack/debian/changelog   2023-09-29 18:43:42.0 
+
+++ med-fichier-4.1.0+repack/debian/changelog   2024-02-28 19:51:14.0 
+
@@ -1,3 +1,10 @@
+med-fichier (4.1.0+repack-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1064244
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 19:51:14 +
+
 med-fichier (4.1.0+repack-4) unstable; urgency=medium
 
   * Fix openmpi include dirs (closes: #1052753)
diff -Nru med-fichier-4.1.0+repack/debian/control 
med-fichier-4.1.0+repack/debian/control
--- med-fichier-4.1.0+repack/debian/control 2021-10-25 21:32:14.0 
+
+++ med-fichier-4.1.0+repack/debian/control 2024-02-28 19:51:14.0 
+
@@ -5,7 +5,7 @@
Gilles Filippini 
 Section: libs
 Priority: optional
-Build-Depends: debhelper (>= 11),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 11),
gfortran,
hdf5-tools (>= 1.10.2),
libhdf5-mpi-dev (>= 1.10.2),
@@ -91,7 +91,7 @@
 Multi-Arch: same
 Section: libdevel
 Depends: libhdf5-mpi-dev,
- libmedc11 (= ${binary:Version}),
+ libmedc11t64 (= ${binary:Version}),
  ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Description: Development files for libmedc
@@ -102,7 +102,8 @@
  This package contains the header files and static library needed to
  compile applications that use libmedC.
 
-Package: libmedc11
+Package: libmedc11t64
+Provides: ${t64:Provides}
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -111,8 +112,8 @@
 Suggests: libmed-doc,
   libmed-tools
 Pre-Depends: ${misc:Pre-Depends}
-Breaks: libmedc1, libmedc1v5 (= 4.0.0+repack-1)
-Replaces: libmedc1, libmedc1v5 (= 4.0.0+repack-1)
+Breaks: libmedc11 (<< ${source:Version}), libmedc1, libmedc1v5 (= 
4.0.0+repack-1)
+Replaces: libmedc11, libmedc1, libmedc1v5 (= 4.0.0+repack-1)
 Description: Library to exchange meshed data (C version)
  MED-fichier (Modélisation et Echanges de Données, in English Modelisation
  and Data Exchange) is a library to store and exchange meshed data or
@@ -141,7 +142,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libs
-Depends: libmedc11,
+Depends: libmedc11t64,
  ${misc:Depends},
  ${shlibs:Depends}
 Suggests: libmed-doc,
diff -Nru med-fichier-4.1.0+repack/debian/libmedc11.install 
med-fichier-4.1.0+repack/debian/libmedc11.install
--- med-fichier-4.1.0+repack/debian/libmedc11.install   2021-10-25 
21:32:14.0 +
+++ med-fichier-4.1.0+repack/debian/libmedc11.install   1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/libmedC.so.*
diff -Nru med-fichier-4.1.0+repack/debian/libmedc11t64.install 
med-fichier-4.1.0+repack/debian/libmedc11t64.install
--- med-fichier-4.1.0+repack/debian/libmedc11t64.install1970-01-01 
00:00:00.0 +
+++ med-fichier-4.1.0+repack/debian/libmedc11t64.install2021-10-25 
21:32:14.0 +
@@ -0,0 +1 @@
+usr/lib/*/libmedC.so.*
diff -Nru med-fichier-4.1.0+repack/debian/libmedc11t64.lintian-overrides 
med-fichier-4.1.0+repack/debian/libmedc11t64.lintian-overrides
--- med-fichier-4.1.0+repack/debian/libmedc11t64.lintian-overrides  
1970-01-01 00:00:00.0 +
+++ med-fichier-4.1.0+repack/debian/libmedc11t64.lintian-overrides  
2024-02-28 19:51:04.0 +
@@ -0,0 +1 @@
+libmedc11t64: package-name-doesnt-match-sonames libmedc11
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#1064244: med-fichier: NMU diff for 64-bit time_t transition

2024-02-18 Thread Steve Langasek
Source: med-fichier
Version: 4.1.0+repack-4
Severity: important
Tags: patch pending sid trixie
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
med-fichier 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 med-fichier
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'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-14-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, 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: systemd (via /run/systemd/system)
diff -Nru med-fichier-4.1.0+repack/debian/changelog 
med-fichier-4.1.0+repack/debian/changelog
--- med-fichier-4.1.0+repack/debian/changelog   2023-09-29 18:43:42.0 
+
+++ med-fichier-4.1.0+repack/debian/changelog   2024-02-18 21:36:18.0 
+
@@ -1,3 +1,10 @@
+med-fichier (4.1.0+repack-4.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Sun, 18 Feb 2024 21:36:18 +
+
 med-fichier (4.1.0+repack-4) unstable; urgency=medium
 
   * Fix openmpi include dirs (closes: #1052753)
diff -Nru med-fichier-4.1.0+repack/debian/control 
med-fichier-4.1.0+repack/debian/control
--- med-fichier-4.1.0+repack/debian/control 2021-10-25 21:32:14.0 
+
+++ med-fichier-4.1.0+repack/debian/control 2024-02-18 21:36:18.0 
+
@@ -91,7 +91,7 @@
 Multi-Arch: same
 Section: libdevel
 Depends: libhdf5-mpi-dev,
- libmedc11 (= ${binary:Version}),
+ libmedc11t64 (= ${binary:Version}),
  ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Description: Development files for libmedc
@@ -102,7 +102,8 @@
  This package contains the header files and static library needed to
  compile applications that use libmedC.
 
-Package: libmedc11
+Package: libmedc11t64
+Provides: ${t64:Provides}
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -111,8 +112,8 @@
 Suggests: libmed-doc,
   libmed-tools
 Pre-Depends: ${misc:Pre-Depends}
-Breaks: libmedc1, libmedc1v5 (= 4.0.0+repack-1)
-Replaces: libmedc1, libmedc1v5 (= 4.0.0+repack-1)
+Breaks: libmedc11 (<< ${source:Version}), libmedc1, libmedc1v5 (= 
4.0.0+repack-1)
+Replaces: libmedc11, libmedc1, libmedc1v5 (= 4.0.0+repack-1)
 Description: Library to exchange meshed data (C version)
  MED-fichier (Modélisation et Echanges de Données, in English Modelisation
  and Data Exchange) is a library to store and exchange meshed data or
@@ -141,7 +142,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libs
-Depends: libmedc11,
+Depends: libmedc11t64,
  ${misc:Depends},
  ${shlibs:Depends}
 Suggests: libmed-doc,
diff -Nru med-fichier-4.1.0+repack/debian/libmedc11.install 
med-fichier-4.1.0+repack/debian/libmedc11.install
--- med-fichier-4.1.0+repack/debian/libmedc11.install   2021-10-25 
21:32:14.0 +
+++ med-fichier-4.1.0+repack/debian/libmedc11.install   1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/libmedC.so.*
diff -Nru med-fichier-4.1.0+repack/debian/libmedc11t64.install 
med-fichier-4.1.0+repack/debian/libmedc11t64.install
--- med-fichier-4.1.0+repack/debian/libmedc11t64.install1970-01-01 
00:00:00.0 +
+++ med-fichier-4.1.0+repack/debian/libmedc11t64.install2021-10-25 
21:32:14.0 +
@@ -0,0 +1 @@
+usr/lib/*/libmedC.so.*
diff -Nru