[Debian-med-packaging] Bug#1062619: libsbml: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Fri Feb 2 07:10:33 GMT 2024


Source: libsbml
Version: 5.20.2+dfsg-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
libsbml 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 libsbml
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 libsbml-5.20.2+dfsg/debian/changelog libsbml-5.20.2+dfsg/debian/changelog
--- libsbml-5.20.2+dfsg/debian/changelog	2023-12-31 14:03:26.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/changelog	2024-02-02 06:17:15.000000000 +0000
@@ -1,3 +1,10 @@
+libsbml (5.20.2+dfsg-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 06:17:15 +0000
+
 libsbml (5.20.2+dfsg-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru libsbml-5.20.2+dfsg/debian/control libsbml-5.20.2+dfsg/debian/control
--- libsbml-5.20.2+dfsg/debian/control	2023-12-31 14:03:26.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/control	2024-02-02 06:17:15.000000000 +0000
@@ -43,7 +43,7 @@
 Package: libsbml5-dev
 Architecture: any-amd64 arm64 armel armhf any-i386 loong64 mips64el ppc64el s390x ia64 ppc64 riscv64 sh4 sparc64 x32
 Section: libdevel
-Depends: libsbml5 (= ${binary:Version}),
+Depends: libsbml5t64 (= ${binary:Version}),
          ${misc:Depends}
 Provides: libsbml-dev
 Description: System Biology Markup Language library - development files
@@ -54,13 +54,15 @@
  .
  This package contains files necessary for development with libsbml.
 
-Package: libsbml5
+Package: libsbml5t64
+Replaces: libsbml5
+Breaks: libsbml5 (<< ${source:Version})
 Architecture: any-amd64 arm64 armel armhf any-i386 loong64 mips64el ppc64el s390x ia64 ppc64 riscv64 sh4 sparc64 x32
 Section: libs
 Depends: ${shlibs:Depends},
          ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
-Provides: libsbml
+Provides: ${t64:Provides}, libsbml
 Multi-Arch: same
 Description: System Biology Markup Language library
  LibSBML is a library designed to help you read, write, manipulate,
diff -Nru libsbml-5.20.2+dfsg/debian/libsbml5.docs libsbml-5.20.2+dfsg/debian/libsbml5.docs
--- libsbml-5.20.2+dfsg/debian/libsbml5.docs	2023-12-31 14:03:26.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/libsbml5.docs	1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-FUNDING.txt
-README*
-VERSION.txt
diff -Nru libsbml-5.20.2+dfsg/debian/libsbml5.install libsbml-5.20.2+dfsg/debian/libsbml5.install
--- libsbml-5.20.2+dfsg/debian/libsbml5.install	2023-12-31 14:03:26.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/libsbml5.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libsbml.so.*
diff -Nru libsbml-5.20.2+dfsg/debian/libsbml5t64.docs libsbml-5.20.2+dfsg/debian/libsbml5t64.docs
--- libsbml-5.20.2+dfsg/debian/libsbml5t64.docs	1970-01-01 00:00:00.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/libsbml5t64.docs	2023-12-31 14:03:26.000000000 +0000
@@ -0,0 +1,3 @@
+FUNDING.txt
+README*
+VERSION.txt
diff -Nru libsbml-5.20.2+dfsg/debian/libsbml5t64.install libsbml-5.20.2+dfsg/debian/libsbml5t64.install
--- libsbml-5.20.2+dfsg/debian/libsbml5t64.install	1970-01-01 00:00:00.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/libsbml5t64.install	2023-12-31 14:03:26.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libsbml.so.*
diff -Nru libsbml-5.20.2+dfsg/debian/libsbml5t64.lintian-overrides libsbml-5.20.2+dfsg/debian/libsbml5t64.lintian-overrides
--- libsbml-5.20.2+dfsg/debian/libsbml5t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/libsbml5t64.lintian-overrides	2024-02-02 06:17:15.000000000 +0000
@@ -0,0 +1 @@
+libsbml5t64: package-name-doesnt-match-sonames libsbml5


More information about the Debian-med-packaging mailing list