[Debian-med-packaging] Bug#1062049: gdcm: NMU diff for 64-bit time_t transition

Lukas Märdian slyon at debian.org
Wed Jan 31 08:32:02 GMT 2024


Source: gdcm
Version: 3.0.22-2
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-arm at lists.debian.org
Usertags: time-t

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
gdcm 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 gdcm
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')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-14-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
diff -Nru gdcm-3.0.22/debian/changelog gdcm-3.0.22/debian/changelog
--- gdcm-3.0.22/debian/changelog	2023-12-07 09:37:28.000000000 +0000
+++ gdcm-3.0.22/debian/changelog	2024-01-31 08:12:29.000000000 +0000
@@ -1,3 +1,10 @@
+gdcm (3.0.22-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Lukas M?rdian <slyon at debian.org>  Wed, 31 Jan 2024 08:12:29 +0000
+
 gdcm (3.0.22-2) unstable; urgency=medium
 
   * d/patches: Revert changes breaking binary ABI. Closes: #1056953
diff -Nru gdcm-3.0.22/debian/control gdcm-3.0.22/debian/control
--- gdcm-3.0.22/debian/control	2023-10-30 14:38:48.000000000 +0000
+++ gdcm-3.0.22/debian/control	2024-01-31 08:12:28.000000000 +0000
@@ -42,7 +42,10 @@
 Vcs-Git: https://salsa.debian.org/med-team/gdcm.git
 Homepage: http://gdcm.sourceforge.net/
 
-Package: libgdcm3.0
+Package: libgdcm3.0t64
+Provides: ${t64:Provides}
+Replaces: libgdcm3.0
+Breaks: libgdcm3.0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -74,7 +77,7 @@
 Package: libgdcm-dev
 Architecture: any
 Section: libdevel
-Depends: libgdcm3.0 (= ${binary:Version}), ${misc:Depends}
+Depends: libgdcm3.0t64 (= ${binary:Version}), ${misc:Depends}
 Breaks: libgdcm2-dev
 Replaces: libgdcm2-dev
 Description: Grassroots DICOM development libraries and headers
@@ -102,7 +105,7 @@
 Package: python3-gdcm
 Architecture: any
 Section: python
-Depends: libgdcm3.0 (= ${binary:Version}),
+Depends: libgdcm3.0t64 (= ${binary:Version}),
          ${misc:Depends},
          ${python3:Depends},
          ${shlibs:Depends}
@@ -114,7 +117,10 @@
  .
  Python bindings to the GDCM DICOM library.
 
-Package: libvtkgdcm-9.1
+Package: libvtkgdcm-9.1t64
+Provides: ${t64:Provides}
+Replaces: libvtkgdcm-9.1
+Breaks: libvtkgdcm-9.1 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -130,7 +136,7 @@
 Package: libvtkgdcm-dev
 Architecture: any
 Section: libdevel
-Depends: libgdcm-dev, libvtkgdcm-9.1 (= ${binary:Version}), ${misc:Depends}
+Depends: libgdcm-dev, libvtkgdcm-9.1t64 (= ${binary:Version}), ${misc:Depends}
 Breaks: libvtkgdcm2-dev
 Replaces: libvtkgdcm2-dev
 Description: Grassroots DICOM VTK development libraries and headers
@@ -145,7 +151,7 @@
 Package: python3-vtkgdcm
 Architecture: any
 Section: python
-Depends: libvtkgdcm-9.1 (= ${binary:Version}),
+Depends: libvtkgdcm-9.1t64 (= ${binary:Version}),
          ${misc:Depends},
          ${python3:Depends},
          ${shlibs:Depends}
diff -Nru gdcm-3.0.22/debian/control.in gdcm-3.0.22/debian/control.in
--- gdcm-3.0.22/debian/control.in	2023-10-30 14:38:48.000000000 +0000
+++ gdcm-3.0.22/debian/control.in	2024-01-31 08:12:28.000000000 +0000
@@ -42,7 +42,10 @@
 Vcs-Git: https://salsa.debian.org/med-team/gdcm.git
 Homepage: http://gdcm.sourceforge.net/
 
-Package: libgdcm3.0
+Package: libgdcm3.0t64
+Provides: ${t64:Provides}
+Replaces: libgdcm3.0
+Breaks: libgdcm3.0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -74,7 +77,7 @@
 Package: libgdcm-dev
 Architecture: any
 Section: libdevel
-Depends: libgdcm3.0 (= ${binary:Version}), ${misc:Depends}
+Depends: libgdcm3.0t64 (= ${binary:Version}), ${misc:Depends}
 Breaks: libgdcm2-dev
 Replaces: libgdcm2-dev
 Description: Grassroots DICOM development libraries and headers
@@ -102,7 +105,7 @@
 Package: python3-gdcm
 Architecture: any
 Section: python
-Depends: libgdcm3.0 (= ${binary:Version}),
+Depends: libgdcm3.0t64 (= ${binary:Version}),
          ${misc:Depends},
          ${python3:Depends},
          ${shlibs:Depends}
@@ -114,7 +117,10 @@
  .
  Python bindings to the GDCM DICOM library.
 
-Package: libvtkgdcm-9.1
+Package: libvtkgdcm-9.1t64
+Provides: ${t64:Provides}
+Replaces: libvtkgdcm-9.1
+Breaks: libvtkgdcm-9.1 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -130,7 +136,7 @@
 Package: libvtkgdcm-dev
 Architecture: any
 Section: libdevel
-Depends: libgdcm-dev, libvtkgdcm-9.1 (= ${binary:Version}), ${misc:Depends}
+Depends: libgdcm-dev, libvtkgdcm-9.1t64 (= ${binary:Version}), ${misc:Depends}
 Breaks: libvtkgdcm2-dev
 Replaces: libvtkgdcm2-dev
 Description: Grassroots DICOM VTK development libraries and headers
@@ -145,7 +151,7 @@
 Package: python3-vtkgdcm
 Architecture: any
 Section: python
-Depends: libvtkgdcm-9.1 (= ${binary:Version}),
+Depends: libvtkgdcm-9.1t64 (= ${binary:Version}),
          ${misc:Depends},
          ${python3:Depends},
          ${shlibs:Depends}
diff -Nru gdcm-3.0.22/debian/libgdcm3.0.docs gdcm-3.0.22/debian/libgdcm3.0.docs
--- gdcm-3.0.22/debian/libgdcm3.0.docs	2023-10-30 14:38:48.000000000 +0000
+++ gdcm-3.0.22/debian/libgdcm3.0.docs	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-README.md
diff -Nru gdcm-3.0.22/debian/libgdcm3.0.install gdcm-3.0.22/debian/libgdcm3.0.install
--- gdcm-3.0.22/debian/libgdcm3.0.install	2023-10-30 14:38:48.000000000 +0000
+++ gdcm-3.0.22/debian/libgdcm3.0.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/lib/*/libgdcm*.so.*
-usr/share/gdcm-3.*/XML
diff -Nru gdcm-3.0.22/debian/libgdcm3.0.lintian-overrides gdcm-3.0.22/debian/libgdcm3.0.lintian-overrides
--- gdcm-3.0.22/debian/libgdcm3.0.lintian-overrides	2023-10-30 14:38:48.000000000 +0000
+++ gdcm-3.0.22/debian/libgdcm3.0.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1,7 +0,0 @@
-# this is a multi-lib library package
-#
-libgdcm3.0: package-name-doesnt-match-sonames
-
-# This is a C++ library, using symbols files here is quite a challange
-libgdcm3.0: no-symbols-control-file
-
diff -Nru gdcm-3.0.22/debian/libgdcm3.0t64.docs gdcm-3.0.22/debian/libgdcm3.0t64.docs
--- gdcm-3.0.22/debian/libgdcm3.0t64.docs	1970-01-01 00:00:00.000000000 +0000
+++ gdcm-3.0.22/debian/libgdcm3.0t64.docs	2023-10-30 14:38:48.000000000 +0000
@@ -0,0 +1 @@
+README.md
diff -Nru gdcm-3.0.22/debian/libgdcm3.0t64.install gdcm-3.0.22/debian/libgdcm3.0t64.install
--- gdcm-3.0.22/debian/libgdcm3.0t64.install	1970-01-01 00:00:00.000000000 +0000
+++ gdcm-3.0.22/debian/libgdcm3.0t64.install	2023-10-30 14:38:48.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib/*/libgdcm*.so.*
+usr/share/gdcm-3.*/XML
diff -Nru gdcm-3.0.22/debian/libgdcm3.0t64.lintian-overrides gdcm-3.0.22/debian/libgdcm3.0t64.lintian-overrides
--- gdcm-3.0.22/debian/libgdcm3.0t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ gdcm-3.0.22/debian/libgdcm3.0t64.lintian-overrides	2024-01-31 08:12:28.000000000 +0000
@@ -0,0 +1,8 @@
+# this is a multi-lib library package
+#
+libgdcm3.0t64: package-name-doesnt-match-sonames
+
+# This is a C++ library, using symbols files here is quite a challange
+libgdcm3.0t64: no-symbols-control-file
+
+libgdcm3.0t64: package-name-doesnt-match-sonames libgdcm3.0
diff -Nru gdcm-3.0.22/debian/libvtkgdcm-9.1.install gdcm-3.0.22/debian/libvtkgdcm-9.1.install
--- gdcm-3.0.22/debian/libvtkgdcm-9.1.install	2023-10-30 14:38:48.000000000 +0000
+++ gdcm-3.0.22/debian/libvtkgdcm-9.1.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libvtkgdcm-*.so.*
diff -Nru gdcm-3.0.22/debian/libvtkgdcm-9.1t64.install gdcm-3.0.22/debian/libvtkgdcm-9.1t64.install
--- gdcm-3.0.22/debian/libvtkgdcm-9.1t64.install	1970-01-01 00:00:00.000000000 +0000
+++ gdcm-3.0.22/debian/libvtkgdcm-9.1t64.install	2023-10-30 14:38:48.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libvtkgdcm-*.so.*
diff -Nru gdcm-3.0.22/debian/libvtkgdcm-9.1t64.lintian-overrides gdcm-3.0.22/debian/libvtkgdcm-9.1t64.lintian-overrides
--- gdcm-3.0.22/debian/libvtkgdcm-9.1t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ gdcm-3.0.22/debian/libvtkgdcm-9.1t64.lintian-overrides	2024-01-31 08:12:28.000000000 +0000
@@ -0,0 +1 @@
+libvtkgdcm-9.1t64: package-name-doesnt-match-sonames libvtkgdcm-9.1


More information about the Debian-med-packaging mailing list