[Debichem-devel] Bug#1062581: libpwizlite: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Fri Feb 2 01:28:41 GMT 2024


Source: libpwizlite
Version: 3.0.5-2
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-arm at 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
libpwizlite 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 libpwizlite
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)
-------------- next part --------------
diff -Nru libpwizlite-3.0.5/debian/changelog libpwizlite-3.0.5/debian/changelog
--- libpwizlite-3.0.5/debian/changelog	2023-11-23 20:56:47.000000000 +0000
+++ libpwizlite-3.0.5/debian/changelog	2024-02-02 01:25:21.000000000 +0000
@@ -1,3 +1,10 @@
+libpwizlite (3.0.5-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vorlon at debian.org>  Fri, 02 Feb 2024 01:25:21 +0000
+
 libpwizlite (3.0.5-2) unstable; urgency=low
 
   * Fix Bug#1045317: libpwizlite: Fails to build source after successful build
diff -Nru libpwizlite-3.0.5/debian/control libpwizlite-3.0.5/debian/control
--- libpwizlite-3.0.5/debian/control	2023-11-23 20:56:47.000000000 +0000
+++ libpwizlite-3.0.5/debian/control	2024-02-02 01:25:21.000000000 +0000
@@ -24,7 +24,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libpwizlite3 (= ${binary:Version}),
+Depends: libpwizlite3t64 (= ${binary:Version}),
  ${misc:Depends}
 Replaces: libpwizlite-dev (<< ${binary:Version})
 Description: Library to load mzML/mzXML files (dev files)
@@ -37,12 +37,14 @@
  This package ships the development files.
 
 
-Package: libpwizlite3
+Package: libpwizlite3t64
+Provides: ${t64:Provides}
+Breaks: libpwizlite3 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends},
  ${misc:Depends}
-Replaces: libpwizlite3 (<< ${binary:Version})
+Replaces: libpwizlite3, libpwizlite3t64 (<< ${binary:Version})
 Description: Library to load mzML/mzXML files (runtime files)
  This library is a dumbed-down version of the Proteowizard library.
  This library only contains the required features to
diff -Nru libpwizlite-3.0.5/debian/libpwizlite3.install libpwizlite-3.0.5/debian/libpwizlite3.install
--- libpwizlite-3.0.5/debian/libpwizlite3.install	2023-11-23 20:56:47.000000000 +0000
+++ libpwizlite-3.0.5/debian/libpwizlite3.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,9 +0,0 @@
-#! /usr/bin/dh-exec
-
-# Filippo Rusconi 20200611 - This is the cleanest solution:
-# https://wiki.debian.org/Multiarch/Implementation#Dynamic_debian.2F.2A_files
-
-# Make sure this file is executable !!!
-
-debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}/libpwizlite.so.${LIB_VERSION} usr/lib/${DEB_HOST_MULTIARCH}/
-
diff -Nru libpwizlite-3.0.5/debian/libpwizlite3.links libpwizlite-3.0.5/debian/libpwizlite3.links
--- libpwizlite-3.0.5/debian/libpwizlite3.links	2023-11-23 20:56:47.000000000 +0000
+++ libpwizlite-3.0.5/debian/libpwizlite3.links	1970-01-01 00:00:00.000000000 +0000
@@ -1,8 +0,0 @@
-#! /usr/bin/dh-exec
-
-# Filippo Rusconi 20200602 - This is the cleanest solution:
-# https://wiki.debian.org/Multiarch/Implementation#Dynamic_debian.2F.2A_files
-
-# Make sure this file is executable !!!
-
-usr/lib/${DEB_HOST_MULTIARCH}/libpwizlite.so.${LIB_VERSION}  usr/lib/${DEB_HOST_MULTIARCH}/libpwizlite.so.${LIB_SOVERSION}
diff -Nru libpwizlite-3.0.5/debian/libpwizlite3.manpages libpwizlite-3.0.5/debian/libpwizlite3.manpages
--- libpwizlite-3.0.5/debian/libpwizlite3.manpages	2023-11-23 20:56:47.000000000 +0000
+++ libpwizlite-3.0.5/debian/libpwizlite3.manpages	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-debian/libpwizlite.3
diff -Nru libpwizlite-3.0.5/debian/libpwizlite3t64.install libpwizlite-3.0.5/debian/libpwizlite3t64.install
--- libpwizlite-3.0.5/debian/libpwizlite3t64.install	1970-01-01 00:00:00.000000000 +0000
+++ libpwizlite-3.0.5/debian/libpwizlite3t64.install	2023-11-23 20:56:47.000000000 +0000
@@ -0,0 +1,9 @@
+#! /usr/bin/dh-exec
+
+# Filippo Rusconi 20200611 - This is the cleanest solution:
+# https://wiki.debian.org/Multiarch/Implementation#Dynamic_debian.2F.2A_files
+
+# Make sure this file is executable !!!
+
+debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}/libpwizlite.so.${LIB_VERSION} usr/lib/${DEB_HOST_MULTIARCH}/
+
diff -Nru libpwizlite-3.0.5/debian/libpwizlite3t64.links libpwizlite-3.0.5/debian/libpwizlite3t64.links
--- libpwizlite-3.0.5/debian/libpwizlite3t64.links	1970-01-01 00:00:00.000000000 +0000
+++ libpwizlite-3.0.5/debian/libpwizlite3t64.links	2023-11-23 20:56:47.000000000 +0000
@@ -0,0 +1,8 @@
+#! /usr/bin/dh-exec
+
+# Filippo Rusconi 20200602 - This is the cleanest solution:
+# https://wiki.debian.org/Multiarch/Implementation#Dynamic_debian.2F.2A_files
+
+# Make sure this file is executable !!!
+
+usr/lib/${DEB_HOST_MULTIARCH}/libpwizlite.so.${LIB_VERSION}  usr/lib/${DEB_HOST_MULTIARCH}/libpwizlite.so.${LIB_SOVERSION}
diff -Nru libpwizlite-3.0.5/debian/libpwizlite3t64.lintian-overrides libpwizlite-3.0.5/debian/libpwizlite3t64.lintian-overrides
--- libpwizlite-3.0.5/debian/libpwizlite3t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ libpwizlite-3.0.5/debian/libpwizlite3t64.lintian-overrides	2024-02-02 01:25:21.000000000 +0000
@@ -0,0 +1 @@
+libpwizlite3t64: package-name-doesnt-match-sonames libpwizlite3
diff -Nru libpwizlite-3.0.5/debian/libpwizlite3t64.manpages libpwizlite-3.0.5/debian/libpwizlite3t64.manpages
--- libpwizlite-3.0.5/debian/libpwizlite3t64.manpages	1970-01-01 00:00:00.000000000 +0000
+++ libpwizlite-3.0.5/debian/libpwizlite3t64.manpages	2023-11-23 20:56:47.000000000 +0000
@@ -0,0 +1 @@
+debian/libpwizlite.3


More information about the Debichem-devel mailing list