Source: librime
Version: 1.9.0+dfsg1-1
Severity: serious
Tags: patch pending
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
librime 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 librime
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'), (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 librime-1.9.0+dfsg1/debian/changelog 
librime-1.9.0+dfsg1/debian/changelog
--- librime-1.9.0+dfsg1/debian/changelog        2023-09-23 21:30:44.000000000 
+0000
+++ librime-1.9.0+dfsg1/debian/changelog        2024-02-02 05:48:07.000000000 
+0000
@@ -1,3 +1,10 @@
+librime (1.9.0+dfsg1-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vor...@debian.org>  Fri, 02 Feb 2024 05:48:07 +0000
+
 librime (1.9.0+dfsg1-1) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru librime-1.9.0+dfsg1/debian/control librime-1.9.0+dfsg1/debian/control
--- librime-1.9.0+dfsg1/debian/control  2023-09-22 00:28:50.000000000 +0000
+++ librime-1.9.0+dfsg1/debian/control  2024-02-02 05:48:06.000000000 +0000
@@ -41,7 +41,7 @@
 Package: librime-bin
 Architecture: any
 Depends:
- librime1 (= ${binary:Version}),
+ librime1t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends},
 Recommends:
@@ -63,8 +63,8 @@
 Architecture: any
 Section: libdevel
 Depends:
- librime1 (<< ${source:Upstream-Version}.0~),
- librime1 (>= ${source:Version}),
+ librime1t64 (<< ${source:Upstream-Version}.0~),
+ librime1t64 (>= ${source:Version}),
  ${misc:Depends},
 Provides:
  librime1-dev,
@@ -148,7 +148,10 @@
  This package provides octagram plugin for RIME. It provides extra 
functionality
  in grammar checking.
 
-Package: librime1
+Package: librime1t64
+Provides: ${t64:Provides}
+Replaces: librime1
+Breaks: librime1 (<< ${source:Version})
 Architecture: any
 Depends:
  ${misc:Depends},
diff -Nru librime-1.9.0+dfsg1/debian/librime1.install 
librime-1.9.0+dfsg1/debian/librime1.install
--- librime-1.9.0+dfsg1/debian/librime1.install 2023-09-22 00:00:53.000000000 
+0000
+++ librime-1.9.0+dfsg1/debian/librime1.install 1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*/librime.so.*
diff -Nru librime-1.9.0+dfsg1/debian/librime1.lintian-overrides 
librime-1.9.0+dfsg1/debian/librime1.lintian-overrides
--- librime-1.9.0+dfsg1/debian/librime1.lintian-overrides       2023-09-22 
00:00:53.000000000 +0000
+++ librime-1.9.0+dfsg1/debian/librime1.lintian-overrides       1970-01-01 
00:00:00.000000000 +0000
@@ -1 +0,0 @@
-librime1: no-symbols-control-file
diff -Nru librime-1.9.0+dfsg1/debian/librime1.shlibs 
librime-1.9.0+dfsg1/debian/librime1.shlibs
--- librime-1.9.0+dfsg1/debian/librime1.shlibs  2023-09-23 21:30:37.000000000 
+0000
+++ librime-1.9.0+dfsg1/debian/librime1.shlibs  1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-librime 1 librime1 (>= 1.9.0)
diff -Nru librime-1.9.0+dfsg1/debian/librime1t64.install 
librime-1.9.0+dfsg1/debian/librime1t64.install
--- librime-1.9.0+dfsg1/debian/librime1t64.install      1970-01-01 
00:00:00.000000000 +0000
+++ librime-1.9.0+dfsg1/debian/librime1t64.install      2023-09-22 
00:00:53.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/librime.so.*
diff -Nru librime-1.9.0+dfsg1/debian/librime1t64.lintian-overrides 
librime-1.9.0+dfsg1/debian/librime1t64.lintian-overrides
--- librime-1.9.0+dfsg1/debian/librime1t64.lintian-overrides    1970-01-01 
00:00:00.000000000 +0000
+++ librime-1.9.0+dfsg1/debian/librime1t64.lintian-overrides    2024-02-02 
05:48:06.000000000 +0000
@@ -0,0 +1,2 @@
+librime1t64: no-symbols-control-file
+librime1t64: package-name-doesnt-match-sonames librime1
diff -Nru librime-1.9.0+dfsg1/debian/librime1t64.shlibs 
librime-1.9.0+dfsg1/debian/librime1t64.shlibs
--- librime-1.9.0+dfsg1/debian/librime1t64.shlibs       1970-01-01 
00:00:00.000000000 +0000
+++ librime-1.9.0+dfsg1/debian/librime1t64.shlibs       2024-02-02 
05:48:06.000000000 +0000
@@ -0,0 +1 @@
+librime 1 librime1t64 (>= 1.9.0)

Reply via email to