Bug#1062587: fenics-dolfinx: NMU diff for 64-bit time_t transition

mwhudson at debian.org mwhudson at debian.org
Fri Feb 2 03:32:22 GMT 2024


Source: fenics-dolfinx
Version: 1:0.7.3-3
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
fenics-dolfinx 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 fenics-dolfinx
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'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-15-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 fenics-dolfinx-0.7.3/debian/changelog fenics-dolfinx-0.7.3/debian/changelog
--- fenics-dolfinx-0.7.3/debian/changelog	2024-01-04 00:51:08.000000000 +0000
+++ fenics-dolfinx-0.7.3/debian/changelog	2024-02-01 22:39:23.000000000 +0000
@@ -1,3 +1,10 @@
+fenics-dolfinx (1:0.7.3-3.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Michael Hudson-Doyle <mwhudson at debian.org>  Thu, 01 Feb 2024 22:39:23 +0000
+
 fenics-dolfinx (1:0.7.3-3) unstable; urgency=medium
 
   * add debian patch test_timing_precision.patch to allow for more
diff -Nru fenics-dolfinx-0.7.3/debian/control fenics-dolfinx-0.7.3/debian/control
--- fenics-dolfinx-0.7.3/debian/control	2024-01-04 00:51:08.000000000 +0000
+++ fenics-dolfinx-0.7.3/debian/control	2024-02-01 22:39:23.000000000 +0000
@@ -123,7 +123,7 @@
 Architecture: any
 Multi-Arch: same
 Depends:
- libdolfinx-real0.7 (= ${binary:Version}),
+ libdolfinx-real0.7t64 (= ${binary:Version}),
  ${petsc:Depends},
  ${misc:Depends}
 Recommends: libdolfinx-dev
@@ -146,7 +146,7 @@
 Architecture: any
 Multi-Arch: same
 Depends:
- libdolfinx-complex0.7 (= ${binary:Version}),
+ libdolfinx-complex0.7t64 (= ${binary:Version}),
  ${petsc-complex:Depends},
  ${misc:Depends}
 Recommends: libdolfinx-dev
@@ -164,7 +164,10 @@
  This is the next-generation version of DOLFIN-).
  The legacy version of DOLFIN is provided by libdolfin-dev.
 
-Package: libdolfinx-real0.7
+Package: libdolfinx-real0.7t64
+Provides: ${t64:Provides}
+Replaces: libdolfinx-real0.7
+Breaks: libdolfinx-real0.7 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -181,7 +184,10 @@
  .
  This package contains the shared libraries with real number support.
 
-Package: libdolfinx-complex0.7
+Package: libdolfinx-complex0.7t64
+Provides: ${t64:Provides}
+Replaces: libdolfinx-complex0.7
+Breaks: libdolfinx-complex0.7 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7.install fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7.install
--- fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7.install	2024-01-04 00:51:08.000000000 +0000
+++ fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-#!/bin/sh
-echo "debian/tmp-complex/usr/lib/**/lib*.so.* usr/lib/${DEB_HOST_MULTIARCH}"
diff -Nru fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7t64.install fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7t64.install
--- fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7t64.install	1970-01-01 00:00:00.000000000 +0000
+++ fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7t64.install	2024-01-04 00:51:08.000000000 +0000
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo "debian/tmp-complex/usr/lib/**/lib*.so.* usr/lib/${DEB_HOST_MULTIARCH}"
diff -Nru fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7t64.lintian-overrides fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7t64.lintian-overrides
--- fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7t64.lintian-overrides	2024-02-01 22:39:23.000000000 +0000
@@ -0,0 +1 @@
+libdolfinx-complex0.7t64: package-name-doesnt-match-sonames libdolfinx-complex0.7
diff -Nru fenics-dolfinx-0.7.3/debian/libdolfinx-real0.7.install fenics-dolfinx-0.7.3/debian/libdolfinx-real0.7.install
--- fenics-dolfinx-0.7.3/debian/libdolfinx-real0.7.install	2024-01-04 00:51:08.000000000 +0000
+++ fenics-dolfinx-0.7.3/debian/libdolfinx-real0.7.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-#!/bin/sh
-echo "debian/tmp-real/usr/lib/**/lib*.so.* usr/lib/${DEB_HOST_MULTIARCH}"
diff -Nru fenics-dolfinx-0.7.3/debian/libdolfinx-real0.7t64.install fenics-dolfinx-0.7.3/debian/libdolfinx-real0.7t64.install
--- fenics-dolfinx-0.7.3/debian/libdolfinx-real0.7t64.install	1970-01-01 00:00:00.000000000 +0000
+++ fenics-dolfinx-0.7.3/debian/libdolfinx-real0.7t64.install	2024-01-04 00:51:08.000000000 +0000
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo "debian/tmp-real/usr/lib/**/lib*.so.* usr/lib/${DEB_HOST_MULTIARCH}"
diff -Nru fenics-dolfinx-0.7.3/debian/libdolfinx-real0.7t64.lintian-overrides fenics-dolfinx-0.7.3/debian/libdolfinx-real0.7t64.lintian-overrides
--- fenics-dolfinx-0.7.3/debian/libdolfinx-real0.7t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ fenics-dolfinx-0.7.3/debian/libdolfinx-real0.7t64.lintian-overrides	2024-02-01 22:39:23.000000000 +0000
@@ -0,0 +1 @@
+libdolfinx-real0.7t64: package-name-doesnt-match-sonames libdolfinx-real0.7
diff -Nru fenics-dolfinx-0.7.3/debian/rules fenics-dolfinx-0.7.3/debian/rules
--- fenics-dolfinx-0.7.3/debian/rules	2024-01-04 00:51:08.000000000 +0000
+++ fenics-dolfinx-0.7.3/debian/rules	2024-02-01 22:39:23.000000000 +0000
@@ -249,8 +249,8 @@
 
 # dbgsym-migration was introduced for dolfin 2017.2 (don't update the version to a later version)
 override_dh_strip:
-	dh_strip --package=libdolfinx-real$(DOLFINX_VERSION) -Xcomplex -Xpython
-	dh_strip --package=libdolfinx-complex$(DOLFINX_VERSION) -Xreal -Xpython
+	dh_strip --package=libdolfinx-real$(DOLFINX_VERSION)t64 -Xcomplex -Xpython
+	dh_strip --package=libdolfinx-complex$(DOLFINX_VERSION)t64 -Xreal -Xpython
 	dh_strip --package=python3-dolfinx-real
 
 # python module so files are already stripped by setup.py (setuptools)


More information about the debian-science-maintainers mailing list