Source: open-isns
Version: 0.101-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
open-isns 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 open-isns
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.2.0-39-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, 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 open-isns-0.101/debian/changelog open-isns-0.101/debian/changelog
--- open-isns-0.101/debian/changelog    2022-05-23 04:14:29.000000000 -0300
+++ open-isns-0.101/debian/changelog    2024-02-03 15:02:54.000000000 -0300
@@ -1,3 +1,10 @@
+open-isns (0.101-0.3) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Lucas Kanashiro <kanash...@debian.org>  Sat, 03 Feb 2024 15:02:54 -0300
+
 open-isns (0.101-0.2) unstable; urgency=medium
 
   [ Gianfranco Costamagna ]
diff -Nru open-isns-0.101/debian/control open-isns-0.101/debian/control
--- open-isns-0.101/debian/control      2022-05-17 19:22:13.000000000 -0300
+++ open-isns-0.101/debian/control      2024-02-03 15:02:54.000000000 -0300
@@ -55,7 +55,10 @@
  online and informs local services (such as the iSCSI initiator daemon)
  about these changes.
 
-Package: libisns0
+Package: libisns0t64
+Provides: ${t64:Provides}
+Replaces: libisns0
+Breaks: libisns0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -74,7 +77,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: libisns0 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
+Depends: libisns0t64 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
 Description: Internet Storage Name Service - development files
  Open-iSNS is an implementation of the Internet Storage Name Service
  (iSNS), according to RFC 4171, which facilitates automated discovery,
diff -Nru open-isns-0.101/debian/libisns0.install 
open-isns-0.101/debian/libisns0.install
--- open-isns-0.101/debian/libisns0.install     2021-12-15 05:09:17.000000000 
-0300
+++ open-isns-0.101/debian/libisns0.install     1969-12-31 21:00:00.000000000 
-0300
@@ -1 +0,0 @@
-usr/lib/*/libisns.so.*
diff -Nru open-isns-0.101/debian/libisns0t64.install 
open-isns-0.101/debian/libisns0t64.install
--- open-isns-0.101/debian/libisns0t64.install  1969-12-31 21:00:00.000000000 
-0300
+++ open-isns-0.101/debian/libisns0t64.install  2021-12-15 05:09:17.000000000 
-0300
@@ -0,0 +1 @@
+usr/lib/*/libisns.so.*
diff -Nru open-isns-0.101/debian/libisns0t64.lintian-overrides 
open-isns-0.101/debian/libisns0t64.lintian-overrides
--- open-isns-0.101/debian/libisns0t64.lintian-overrides        1969-12-31 
21:00:00.000000000 -0300
+++ open-isns-0.101/debian/libisns0t64.lintian-overrides        2024-02-03 
15:02:54.000000000 -0300
@@ -0,0 +1 @@
+libisns0t64: package-name-doesnt-match-sonames libisns0
diff -Nru open-isns-0.101/debian/rules open-isns-0.101/debian/rules
--- open-isns-0.101/debian/rules        2021-12-15 05:09:17.000000000 -0300
+++ open-isns-0.101/debian/rules        2024-02-03 15:02:54.000000000 -0300
@@ -39,5 +39,5 @@
        dh_installinit --remaining-packages
 
 override_dh_makeshlibs:
-       dh_makeshlibs -plibisns0 --add-udeb="libisns-udeb"
+       dh_makeshlibs -plibisns0t64 --add-udeb="libisns-udeb"
        dh_makeshlibs --remaining-packages

Reply via email to