Source: libccp4
Version: 8.0.0-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
libccp4 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 libccp4
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/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 libccp4-8.0.0/debian/changelog libccp4-8.0.0/debian/changelog
--- libccp4-8.0.0/debian/changelog      2022-11-09 12:44:53.000000000 +0000
+++ libccp4-8.0.0/debian/changelog      2024-02-05 07:49:38.000000000 +0000
@@ -1,3 +1,10 @@
+libccp4 (8.0.0-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vor...@debian.org>  Mon, 05 Feb 2024 07:49:38 +0000
+
 libccp4 (8.0.0-2) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru libccp4-8.0.0/debian/control libccp4-8.0.0/debian/control
--- libccp4-8.0.0/debian/control        2022-11-09 12:42:58.000000000 +0000
+++ libccp4-8.0.0/debian/control        2024-02-05 07:49:38.000000000 +0000
@@ -63,8 +63,8 @@
 Multi-Arch: same
 Section: libdevel
 Depends:
- libccp4c0 (= ${binary:Version}),
- libccp4f0 (= ${binary:Version}),
+ libccp4c0t64 (= ${binary:Version}),
+ libccp4f0t64 (= ${binary:Version}),
  ${misc:Depends},
 Pre-Depends:
  ${misc:Pre-Depends},
@@ -100,7 +100,10 @@
     just like a simple C array, but can be resized at will without
     incurring excessive overheads.
 
-Package: libccp4c0
+Package: libccp4c0t64
+Provides: ${t64:Provides}
+Replaces: libccp4c0
+Breaks: libccp4c0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -144,7 +147,10 @@
  .
  This package provides the runtime of the CCP4 C library.
 
-Package: libccp4f0
+Package: libccp4f0t64
+Provides: ${t64:Provides}
+Replaces: libccp4f0
+Breaks: libccp4f0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
diff -Nru libccp4-8.0.0/debian/libccp4c0.install 
libccp4-8.0.0/debian/libccp4c0.install
--- libccp4-8.0.0/debian/libccp4c0.install      2022-11-09 12:42:05.000000000 
+0000
+++ libccp4-8.0.0/debian/libccp4c0.install      1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*/libccp4c*.so.*
diff -Nru libccp4-8.0.0/debian/libccp4c0t64.install 
libccp4-8.0.0/debian/libccp4c0t64.install
--- libccp4-8.0.0/debian/libccp4c0t64.install   1970-01-01 00:00:00.000000000 
+0000
+++ libccp4-8.0.0/debian/libccp4c0t64.install   2022-11-09 12:42:05.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*/libccp4c*.so.*
diff -Nru libccp4-8.0.0/debian/libccp4c0t64.lintian-overrides 
libccp4-8.0.0/debian/libccp4c0t64.lintian-overrides
--- libccp4-8.0.0/debian/libccp4c0t64.lintian-overrides 1970-01-01 
00:00:00.000000000 +0000
+++ libccp4-8.0.0/debian/libccp4c0t64.lintian-overrides 2024-02-05 
07:49:38.000000000 +0000
@@ -0,0 +1 @@
+libccp4c0t64: package-name-doesnt-match-sonames libccp4c0
diff -Nru libccp4-8.0.0/debian/libccp4f0.install 
libccp4-8.0.0/debian/libccp4f0.install
--- libccp4-8.0.0/debian/libccp4f0.install      2022-11-09 12:42:05.000000000 
+0000
+++ libccp4-8.0.0/debian/libccp4f0.install      1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*/libccp4f*.so.*
diff -Nru libccp4-8.0.0/debian/libccp4f0t64.install 
libccp4-8.0.0/debian/libccp4f0t64.install
--- libccp4-8.0.0/debian/libccp4f0t64.install   1970-01-01 00:00:00.000000000 
+0000
+++ libccp4-8.0.0/debian/libccp4f0t64.install   2022-11-09 12:42:05.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*/libccp4f*.so.*
diff -Nru libccp4-8.0.0/debian/libccp4f0t64.lintian-overrides 
libccp4-8.0.0/debian/libccp4f0t64.lintian-overrides
--- libccp4-8.0.0/debian/libccp4f0t64.lintian-overrides 1970-01-01 
00:00:00.000000000 +0000
+++ libccp4-8.0.0/debian/libccp4f0t64.lintian-overrides 2024-02-05 
07:49:38.000000000 +0000
@@ -0,0 +1 @@
+libccp4f0t64: package-name-doesnt-match-sonames libccp4f0
diff -Nru libccp4-8.0.0/debian/rules libccp4-8.0.0/debian/rules
--- libccp4-8.0.0/debian/rules  2022-11-09 12:42:27.000000000 +0000
+++ libccp4-8.0.0/debian/rules  2024-02-05 07:49:38.000000000 +0000
@@ -12,6 +12,6 @@
        dh_auto_configure -- --disable-static --enable-shared 
--datadir=/usr/share/ccp4
 
 override_dh_strip:
-       dh_strip -plibccp4c0
-       dh_strip -plibccp4f0
-       dh_strip -a -Nlibccp4c0 -Nlibccp4f0
+       dh_strip -plibccp4c0t64
+       dh_strip -plibccp4f0t64
+       dh_strip -a -Nlibccp4c0t64 -Nlibccp4f0t64

Reply via email to