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

2024-04-12 Thread Drew Parsons
Source: fenics-dolfinx
Followup-For: Bug #1062587
Control: severity 1062587 important
Control: tags 1062587 moreinfo

This time_t patch was never applied.  I presume it's not needed after
all and we can close this bug now?



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

2024-02-01 Thread mwhudson
Source: fenics-dolfinx
Version: 1:0.7.3-3
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-...@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)
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.0 
+
+++ fenics-dolfinx-0.7.3/debian/changelog   2024-02-01 22:39:23.0 
+
@@ -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   Thu, 01 Feb 2024 22:39:23 +
+
 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.0 +
+++ fenics-dolfinx-0.7.3/debian/control 2024-02-01 22:39:23.0 +
@@ -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.0 +
+++ fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7.install   1970-01-01 
00:00:00.0 +
@@ -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.0 +
+++ fenics-dolfinx-0.7.3/debian/libdolfinx-complex0.7t64.install
2024-01-04 00:51:08.0 +
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo "debian/tmp-complex/usr/lib/**/lib*.so.* usr/lib/${DEB_HOST_MULTIARCH}"
diff -Nru