[Debichem-devel] Bug#1062580: libpwiz: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Fri Feb 2 01:22:16 GMT 2024


Source: libpwiz
Version: 3.0.18342-4
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
libpwiz 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 libpwiz
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 libpwiz-3.0.18342/debian/changelog libpwiz-3.0.18342/debian/changelog
--- libpwiz-3.0.18342/debian/changelog	2020-09-27 08:55:38.000000000 +0000
+++ libpwiz-3.0.18342/debian/changelog	2024-02-01 23:25:33.000000000 +0000
@@ -1,3 +1,10 @@
+libpwiz (3.0.18342-4.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vorlon at debian.org>  Thu, 01 Feb 2024 23:25:33 +0000
+
 libpwiz (3.0.18342-4) unstable; urgency=low
 
   * Fix FTCBFS: Pass --host to configure (Closes: #970872). Thanks to Helmut
diff -Nru libpwiz-3.0.18342/debian/control libpwiz-3.0.18342/debian/control
--- libpwiz-3.0.18342/debian/control	2020-06-11 22:51:28.000000000 +0000
+++ libpwiz-3.0.18342/debian/control	2024-02-01 23:25:32.000000000 +0000
@@ -32,7 +32,7 @@
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libpwiz3 (= ${binary:Version})
+         libpwiz3t64 (= ${binary:Version})
 Suggests: libpwiz-doc
 Description: library to perform proteomics data analyses (devel files)
  The libpwiz library from the ProteoWizard project provides a modular
@@ -50,7 +50,10 @@
  .
  This package ships the library development files.
 
-Package: libpwiz3
+Package: libpwiz3t64
+Provides: ${t64:Provides}
+Replaces: libpwiz3
+Breaks: libpwiz3 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: libpwiz-doc
@@ -71,7 +74,7 @@
 Package: libpwiz-tools
 Section: science
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libpwiz3 (= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, libpwiz3t64 (= ${binary:Version})
 Suggests: libpwiz-doc
 Description: ProteoWizard command line tools
  The libpwiz library from the ProteoWizard project provides a modular
diff -Nru libpwiz-3.0.18342/debian/libpwiz3.dirs libpwiz-3.0.18342/debian/libpwiz3.dirs
--- libpwiz-3.0.18342/debian/libpwiz3.dirs	2020-01-17 14:45:17.000000000 +0000
+++ libpwiz-3.0.18342/debian/libpwiz3.dirs	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/lib
-usr/lib/libpwiz3/example-files
diff -Nru libpwiz-3.0.18342/debian/libpwiz3.install libpwiz-3.0.18342/debian/libpwiz3.install
--- libpwiz-3.0.18342/debian/libpwiz3.install	2020-01-17 14:45:17.000000000 +0000
+++ libpwiz-3.0.18342/debian/libpwiz3.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,4 +0,0 @@
-debian/build/usr/lib/libpwiz.so.3.0.0 usr/lib
-
-# The example source code files.
-pwiz_tools/examples/*.cpp       usr/share/doc/libpwiz3/example-files
diff -Nru libpwiz-3.0.18342/debian/libpwiz3.links libpwiz-3.0.18342/debian/libpwiz3.links
--- libpwiz-3.0.18342/debian/libpwiz3.links	2020-01-17 14:45:17.000000000 +0000
+++ libpwiz-3.0.18342/debian/libpwiz3.links	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/lib/libpwiz.so.3.0.0      usr/lib/libpwiz.so.3
-
diff -Nru libpwiz-3.0.18342/debian/libpwiz3.manpages libpwiz-3.0.18342/debian/libpwiz3.manpages
--- libpwiz-3.0.18342/debian/libpwiz3.manpages	2020-01-17 14:45:17.000000000 +0000
+++ libpwiz-3.0.18342/debian/libpwiz3.manpages	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-debian/libpwiz.3
diff -Nru libpwiz-3.0.18342/debian/libpwiz3t64.dirs libpwiz-3.0.18342/debian/libpwiz3t64.dirs
--- libpwiz-3.0.18342/debian/libpwiz3t64.dirs	1970-01-01 00:00:00.000000000 +0000
+++ libpwiz-3.0.18342/debian/libpwiz3t64.dirs	2020-01-17 14:45:17.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib
+usr/lib/libpwiz3/example-files
diff -Nru libpwiz-3.0.18342/debian/libpwiz3t64.install libpwiz-3.0.18342/debian/libpwiz3t64.install
--- libpwiz-3.0.18342/debian/libpwiz3t64.install	1970-01-01 00:00:00.000000000 +0000
+++ libpwiz-3.0.18342/debian/libpwiz3t64.install	2020-01-17 14:45:17.000000000 +0000
@@ -0,0 +1,4 @@
+debian/build/usr/lib/libpwiz.so.3.0.0 usr/lib
+
+# The example source code files.
+pwiz_tools/examples/*.cpp       usr/share/doc/libpwiz3/example-files
diff -Nru libpwiz-3.0.18342/debian/libpwiz3t64.links libpwiz-3.0.18342/debian/libpwiz3t64.links
--- libpwiz-3.0.18342/debian/libpwiz3t64.links	1970-01-01 00:00:00.000000000 +0000
+++ libpwiz-3.0.18342/debian/libpwiz3t64.links	2020-01-17 14:45:17.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib/libpwiz.so.3.0.0      usr/lib/libpwiz.so.3
+
diff -Nru libpwiz-3.0.18342/debian/libpwiz3t64.lintian-overrides libpwiz-3.0.18342/debian/libpwiz3t64.lintian-overrides
--- libpwiz-3.0.18342/debian/libpwiz3t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ libpwiz-3.0.18342/debian/libpwiz3t64.lintian-overrides	2024-02-01 23:25:32.000000000 +0000
@@ -0,0 +1 @@
+libpwiz3t64: package-name-doesnt-match-sonames libpwiz3
diff -Nru libpwiz-3.0.18342/debian/libpwiz3t64.manpages libpwiz-3.0.18342/debian/libpwiz3t64.manpages
--- libpwiz-3.0.18342/debian/libpwiz3t64.manpages	1970-01-01 00:00:00.000000000 +0000
+++ libpwiz-3.0.18342/debian/libpwiz3t64.manpages	2020-01-17 14:45:17.000000000 +0000
@@ -0,0 +1 @@
+debian/libpwiz.3
diff -Nru libpwiz-3.0.18342/debian/rules libpwiz-3.0.18342/debian/rules
--- libpwiz-3.0.18342/debian/rules	2020-09-27 08:55:24.000000000 +0000
+++ libpwiz-3.0.18342/debian/rules	2024-02-01 23:25:33.000000000 +0000
@@ -14,7 +14,7 @@
 export PATH := $(BUILD_DIR)/bin:$(CURDIR)/tools:$(PATH)
 export LD_LIBRARY_PATH := $(BUILD_DIR)/lib/:$(LD_LIBRARY_PATH)
 
-PROTEOWIZ_LIB_PACKAGE = libpwiz3
+PROTEOWIZ_LIB_PACKAGE = libpwiz3t64
 PROTEOWIZ_LIB_VERSION = 3.0.0
 PROTEOWIZ_SOFT_VERSION = 3.0.9393
 PROTEOWIZ_PACK_VERSION = $(PROTEOWIZ_SOFT_VERSION)-1
@@ -214,7 +214,7 @@
 	-O$(DEBIAN_DIR)/$(PROTEOWIZ_LIB_PACKAGE)/DEBIAN/symbols
 
 # Send the proper shared libs details for the library:
-	echo "libpwiz 3 libpwiz3 (>= $(PROTEOWIZ_PACK_VERSION))" > \
+	echo "libpwiz 3 libpwiz3t64 (>= $(PROTEOWIZ_PACK_VERSION))" > \
 	$(DEBIAN_DIR)/$(PROTEOWIZ_LIB_PACKAGE)/DEBIAN/shlibs
 
 # Run the fixperms after generating the symbols and shlibs files so


More information about the Debichem-devel mailing list