[Debichem-devel] Bug#1062426: libmstoolkit: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Sun Mar 17 20:06:28 GMT 2024


Unfortunately, the scripting to automatically patch packages for the rename
can't address debian/rules so the hard-coded reference to the library
package name there was missed.  Please find an updated NMU patch for this
issue.  I am uploading this follow-up fix to unstable.

On Thu, Feb 01, 2024 at 10:16:27AM +0000, Steve Langasek wrote:
> Source: libmstoolkit
> Version: 82-7
> Severity: serious
> Tags: patch pending
> Justification: library ABI skew on upgrade
> User: debian-arm at lists.debian.org
> Usertags: time-t
> 
> 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
> libmstoolkit 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 libmstoolkit
> 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 libmstoolkit-82/debian/changelog libmstoolkit-82/debian/changelog
> --- libmstoolkit-82/debian/changelog	2020-06-16 11:25:37.000000000 +0000
> +++ libmstoolkit-82/debian/changelog	2024-02-01 10:15:18.000000000 +0000
> @@ -1,3 +1,10 @@
> +libmstoolkit (82-7.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 10:15:18 +0000
> +
>  libmstoolkit (82-7) unstable; urgency=low
>  
>    * Fix the VCS urls to point to the salsa git repos.
> diff -Nru libmstoolkit-82/debian/control libmstoolkit-82/debian/control
> --- libmstoolkit-82/debian/control	2020-06-16 11:25:37.000000000 +0000
> +++ libmstoolkit-82/debian/control	2024-02-01 10:15:18.000000000 +0000
> @@ -18,7 +18,7 @@
>  Section: libdevel
>  Architecture: any
>  Depends: ${misc:Depends}, 
> -         libmstoolkit82 (= ${binary:Version}),
> +         libmstoolkit82t64 (= ${binary:Version}),
>  				 zlib1g-dev (>=1:1.2.8),
>           libsqlite3-dev (>= 3.8.6),
>           libexpat1-dev (>= 2.1.0)         
> @@ -44,7 +44,10 @@
>     - Sequential or random-access file reading.
>  
>  
> -Package: libmstoolkit82
> +Package: libmstoolkit82t64
> +Provides: ${t64:Provides}
> +Replaces: libmstoolkit82
> +Breaks: libmstoolkit82 (<< ${source:Version})
>  Architecture: any
>  Depends: ${shlibs:Depends}, 
>           ${misc:Depends}
> @@ -78,7 +81,7 @@
>  Package: libmstoolkit-tools
>  Section: science
>  Architecture: any
> -Depends: libmstoolkit82 (= ${binary:Version}),
> +Depends: libmstoolkit82t64 (= ${binary:Version}),
>           ${shlibs:Depends}, 
>           ${misc:Depends}
>  Description: libraries for manipulating mass spectrometry data - tools
> diff -Nru libmstoolkit-82/debian/libmstoolkit82.dirs libmstoolkit-82/debian/libmstoolkit82.dirs
> --- libmstoolkit-82/debian/libmstoolkit82.dirs	2020-06-16 11:25:37.000000000 +0000
> +++ libmstoolkit-82/debian/libmstoolkit82.dirs	1970-01-01 00:00:00.000000000 +0000
> @@ -1 +0,0 @@
> -usr/lib
> diff -Nru libmstoolkit-82/debian/libmstoolkit82.install libmstoolkit-82/debian/libmstoolkit82.install
> --- libmstoolkit-82/debian/libmstoolkit82.install	2020-06-16 11:25:37.000000000 +0000
> +++ libmstoolkit-82/debian/libmstoolkit82.install	1970-01-01 00:00:00.000000000 +0000
> @@ -1,2 +0,0 @@
> -libmstoolkit.so.82.0.0          usr/lib
> -libmstoolkitlite.so.82.0.0      usr/lib
> diff -Nru libmstoolkit-82/debian/libmstoolkit82.links libmstoolkit-82/debian/libmstoolkit82.links
> --- libmstoolkit-82/debian/libmstoolkit82.links	2020-06-16 11:25:37.000000000 +0000
> +++ libmstoolkit-82/debian/libmstoolkit82.links	1970-01-01 00:00:00.000000000 +0000
> @@ -1,3 +0,0 @@
> -usr/lib/libmstoolkit.so.82.0.0                  usr/lib/libmstoolkit.so.82
> -usr/lib/libmstoolkitlite.so.82.0.0              usr/lib/libmstoolkitlite.so.82
> -
> diff -Nru libmstoolkit-82/debian/libmstoolkit82.lintian-overrides libmstoolkit-82/debian/libmstoolkit82.lintian-overrides
> --- libmstoolkit-82/debian/libmstoolkit82.lintian-overrides	2020-06-16 11:25:37.000000000 +0000
> +++ libmstoolkit-82/debian/libmstoolkit82.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
> @@ -1,2 +0,0 @@
> -spelling-error-in-binary usr/lib/libmstoolkit.so.82.0.0 dont don't
> -spelling-error-in-binary usr/lib/libmstoolkitlite.so.82.0.0 dont don't
> diff -Nru libmstoolkit-82/debian/libmstoolkit82.manpages libmstoolkit-82/debian/libmstoolkit82.manpages
> --- libmstoolkit-82/debian/libmstoolkit82.manpages	2020-06-16 11:25:37.000000000 +0000
> +++ libmstoolkit-82/debian/libmstoolkit82.manpages	1970-01-01 00:00:00.000000000 +0000
> @@ -1,2 +0,0 @@
> -debian/libmstoolkit.3
> -
> diff -Nru libmstoolkit-82/debian/libmstoolkit82t64.dirs libmstoolkit-82/debian/libmstoolkit82t64.dirs
> --- libmstoolkit-82/debian/libmstoolkit82t64.dirs	1970-01-01 00:00:00.000000000 +0000
> +++ libmstoolkit-82/debian/libmstoolkit82t64.dirs	2020-06-16 11:25:37.000000000 +0000
> @@ -0,0 +1 @@
> +usr/lib
> diff -Nru libmstoolkit-82/debian/libmstoolkit82t64.install libmstoolkit-82/debian/libmstoolkit82t64.install
> --- libmstoolkit-82/debian/libmstoolkit82t64.install	1970-01-01 00:00:00.000000000 +0000
> +++ libmstoolkit-82/debian/libmstoolkit82t64.install	2020-06-16 11:25:37.000000000 +0000
> @@ -0,0 +1,2 @@
> +libmstoolkit.so.82.0.0          usr/lib
> +libmstoolkitlite.so.82.0.0      usr/lib
> diff -Nru libmstoolkit-82/debian/libmstoolkit82t64.links libmstoolkit-82/debian/libmstoolkit82t64.links
> --- libmstoolkit-82/debian/libmstoolkit82t64.links	1970-01-01 00:00:00.000000000 +0000
> +++ libmstoolkit-82/debian/libmstoolkit82t64.links	2020-06-16 11:25:37.000000000 +0000
> @@ -0,0 +1,3 @@
> +usr/lib/libmstoolkit.so.82.0.0                  usr/lib/libmstoolkit.so.82
> +usr/lib/libmstoolkitlite.so.82.0.0              usr/lib/libmstoolkitlite.so.82
> +
> diff -Nru libmstoolkit-82/debian/libmstoolkit82t64.lintian-overrides libmstoolkit-82/debian/libmstoolkit82t64.lintian-overrides
> --- libmstoolkit-82/debian/libmstoolkit82t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
> +++ libmstoolkit-82/debian/libmstoolkit82t64.lintian-overrides	2024-02-01 10:15:18.000000000 +0000
> @@ -0,0 +1,3 @@
> +spelling-error-in-binary usr/lib/libmstoolkit.so.82.0.0 dont don't
> +spelling-error-in-binary usr/lib/libmstoolkitlite.so.82.0.0 dont don't
> +libmstoolkit82t64: package-name-doesnt-match-sonames libmstoolkit82
> diff -Nru libmstoolkit-82/debian/libmstoolkit82t64.manpages libmstoolkit-82/debian/libmstoolkit82t64.manpages
> --- libmstoolkit-82/debian/libmstoolkit82t64.manpages	1970-01-01 00:00:00.000000000 +0000
> +++ libmstoolkit-82/debian/libmstoolkit82t64.manpages	2020-06-16 11:25:37.000000000 +0000
> @@ -0,0 +1,2 @@
> +debian/libmstoolkit.3
> +


-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru libmstoolkit-82/debian/changelog libmstoolkit-82/debian/changelog
--- libmstoolkit-82/debian/changelog	2020-06-16 11:25:37.000000000 +0000
+++ libmstoolkit-82/debian/changelog	2024-03-17 19:14:33.000000000 +0000
@@ -1,3 +1,17 @@
+libmstoolkit (82-7.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix debian/rules for the changed lib package name.
+
+ -- Steve Langasek <vorlon at debian.org>  Sun, 17 Mar 2024 19:14:33 +0000
+
+libmstoolkit (82-7.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062426
+
+ -- Benjamin Drung <bdrung at debian.org>  Wed, 28 Feb 2024 14:16:50 +0000
+
 libmstoolkit (82-7) unstable; urgency=low
 
   * Fix the VCS urls to point to the salsa git repos.
diff -Nru libmstoolkit-82/debian/control libmstoolkit-82/debian/control
--- libmstoolkit-82/debian/control	2020-06-16 11:25:37.000000000 +0000
+++ libmstoolkit-82/debian/control	2024-02-28 14:16:50.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: The Debichem Group <debichem-devel at lists.alioth.debian.org>
 Uploaders: Filippo Rusconi <lopippo at debian.org>
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 12),
                dpkg-dev (>= 1.16.1~),
 							 zlib1g-dev (>=1:1.2.8),
                libsqlite3-dev (>= 3.8.6),
@@ -18,7 +18,7 @@
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends}, 
-         libmstoolkit82 (= ${binary:Version}),
+         libmstoolkit82t64 (= ${binary:Version}),
 				 zlib1g-dev (>=1:1.2.8),
          libsqlite3-dev (>= 3.8.6),
          libexpat1-dev (>= 2.1.0)         
@@ -44,7 +44,10 @@
    - Sequential or random-access file reading.
 
 
-Package: libmstoolkit82
+Package: libmstoolkit82t64
+Provides: ${t64:Provides}
+Replaces: libmstoolkit82
+Breaks: libmstoolkit82 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, 
          ${misc:Depends}
@@ -78,7 +81,7 @@
 Package: libmstoolkit-tools
 Section: science
 Architecture: any
-Depends: libmstoolkit82 (= ${binary:Version}),
+Depends: libmstoolkit82t64 (= ${binary:Version}),
          ${shlibs:Depends}, 
          ${misc:Depends}
 Description: libraries for manipulating mass spectrometry data - tools
diff -Nru libmstoolkit-82/debian/libmstoolkit82.dirs libmstoolkit-82/debian/libmstoolkit82.dirs
--- libmstoolkit-82/debian/libmstoolkit82.dirs	2020-06-16 11:25:37.000000000 +0000
+++ libmstoolkit-82/debian/libmstoolkit82.dirs	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib
diff -Nru libmstoolkit-82/debian/libmstoolkit82.install libmstoolkit-82/debian/libmstoolkit82.install
--- libmstoolkit-82/debian/libmstoolkit82.install	2020-06-16 11:25:37.000000000 +0000
+++ libmstoolkit-82/debian/libmstoolkit82.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-libmstoolkit.so.82.0.0          usr/lib
-libmstoolkitlite.so.82.0.0      usr/lib
diff -Nru libmstoolkit-82/debian/libmstoolkit82.links libmstoolkit-82/debian/libmstoolkit82.links
--- libmstoolkit-82/debian/libmstoolkit82.links	2020-06-16 11:25:37.000000000 +0000
+++ libmstoolkit-82/debian/libmstoolkit82.links	1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-usr/lib/libmstoolkit.so.82.0.0                  usr/lib/libmstoolkit.so.82
-usr/lib/libmstoolkitlite.so.82.0.0              usr/lib/libmstoolkitlite.so.82
-
diff -Nru libmstoolkit-82/debian/libmstoolkit82.lintian-overrides libmstoolkit-82/debian/libmstoolkit82.lintian-overrides
--- libmstoolkit-82/debian/libmstoolkit82.lintian-overrides	2020-06-16 11:25:37.000000000 +0000
+++ libmstoolkit-82/debian/libmstoolkit82.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-spelling-error-in-binary usr/lib/libmstoolkit.so.82.0.0 dont don't
-spelling-error-in-binary usr/lib/libmstoolkitlite.so.82.0.0 dont don't
diff -Nru libmstoolkit-82/debian/libmstoolkit82.manpages libmstoolkit-82/debian/libmstoolkit82.manpages
--- libmstoolkit-82/debian/libmstoolkit82.manpages	2020-06-16 11:25:37.000000000 +0000
+++ libmstoolkit-82/debian/libmstoolkit82.manpages	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-debian/libmstoolkit.3
-
diff -Nru libmstoolkit-82/debian/libmstoolkit82t64.dirs libmstoolkit-82/debian/libmstoolkit82t64.dirs
--- libmstoolkit-82/debian/libmstoolkit82t64.dirs	1970-01-01 00:00:00.000000000 +0000
+++ libmstoolkit-82/debian/libmstoolkit82t64.dirs	2020-06-16 11:25:37.000000000 +0000
@@ -0,0 +1 @@
+usr/lib
diff -Nru libmstoolkit-82/debian/libmstoolkit82t64.install libmstoolkit-82/debian/libmstoolkit82t64.install
--- libmstoolkit-82/debian/libmstoolkit82t64.install	1970-01-01 00:00:00.000000000 +0000
+++ libmstoolkit-82/debian/libmstoolkit82t64.install	2020-06-16 11:25:37.000000000 +0000
@@ -0,0 +1,2 @@
+libmstoolkit.so.82.0.0          usr/lib
+libmstoolkitlite.so.82.0.0      usr/lib
diff -Nru libmstoolkit-82/debian/libmstoolkit82t64.links libmstoolkit-82/debian/libmstoolkit82t64.links
--- libmstoolkit-82/debian/libmstoolkit82t64.links	1970-01-01 00:00:00.000000000 +0000
+++ libmstoolkit-82/debian/libmstoolkit82t64.links	2020-06-16 11:25:37.000000000 +0000
@@ -0,0 +1,3 @@
+usr/lib/libmstoolkit.so.82.0.0                  usr/lib/libmstoolkit.so.82
+usr/lib/libmstoolkitlite.so.82.0.0              usr/lib/libmstoolkitlite.so.82
+
diff -Nru libmstoolkit-82/debian/libmstoolkit82t64.lintian-overrides libmstoolkit-82/debian/libmstoolkit82t64.lintian-overrides
--- libmstoolkit-82/debian/libmstoolkit82t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ libmstoolkit-82/debian/libmstoolkit82t64.lintian-overrides	2024-02-28 14:16:45.000000000 +0000
@@ -0,0 +1,3 @@
+spelling-error-in-binary usr/lib/libmstoolkit.so.82.0.0 dont don't
+spelling-error-in-binary usr/lib/libmstoolkitlite.so.82.0.0 dont don't
+libmstoolkit82t64: package-name-doesnt-match-sonames libmstoolkit82
diff -Nru libmstoolkit-82/debian/libmstoolkit82t64.manpages libmstoolkit-82/debian/libmstoolkit82t64.manpages
--- libmstoolkit-82/debian/libmstoolkit82t64.manpages	1970-01-01 00:00:00.000000000 +0000
+++ libmstoolkit-82/debian/libmstoolkit82t64.manpages	2020-06-16 11:25:37.000000000 +0000
@@ -0,0 +1,2 @@
+debian/libmstoolkit.3
+
diff -Nru libmstoolkit-82/debian/rules libmstoolkit-82/debian/rules
--- libmstoolkit-82/debian/rules	2018-03-01 17:16:44.000000000 +0000
+++ libmstoolkit-82/debian/rules	2024-03-17 19:14:18.000000000 +0000
@@ -9,7 +9,7 @@
 BUILD_DIR = $(CURDIR)
 
 PACKAGE_VERSION = 82
-LIB_PACKAGE = libmstoolkit$(PACKAGE_VERSION)
+LIB_PACKAGE = libmstoolkit$(PACKAGE_VERSION)t64
 LIB_VERSION = $(PACKAGE_VERSION).0.0
 
 # This is the only method that actually worked...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20240317/161ee0e8/attachment.sig>


More information about the Debichem-devel mailing list