Bug#1062447: gmsh: NMU diff for 64-bit time_t transition

Lukas Märdian slyon at debian.org
Thu Feb 1 15:08:02 GMT 2024


Source: gmsh
Version: 4.12.1+ds1-1
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
gmsh 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 gmsh
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')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-14-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, 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 gmsh-4.12.1+ds1/debian/changelog gmsh-4.12.1+ds1/debian/changelog
--- gmsh-4.12.1+ds1/debian/changelog	2024-01-24 18:58:13.000000000 +0000
+++ gmsh-4.12.1+ds1/debian/changelog	2024-02-01 14:51:36.000000000 +0000
@@ -1,3 +1,10 @@
+gmsh (4.12.1+ds1-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Lukas M?rdian <slyon at debian.org>  Thu, 01 Feb 2024 14:51:36 +0000
+
 gmsh (4.12.1+ds1-1) unstable; urgency=medium
 
   [ Anton Gladky ]
diff -Nru gmsh-4.12.1+ds1/debian/control gmsh-4.12.1+ds1/debian/control
--- gmsh-4.12.1+ds1/debian/control	2024-01-24 18:57:43.000000000 +0000
+++ gmsh-4.12.1+ds1/debian/control	2024-02-01 14:51:36.000000000 +0000
@@ -86,7 +86,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: libgmsh4.12 (= ${binary:Version}),
+Depends: libgmsh4.12t64 (= ${binary:Version}),
          ${misc:Depends}
 Recommends: gmsh
 Description: Three-dimensional finite element mesh generator development files
@@ -107,7 +107,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: libgmsh4.12 (= ${binary:Version}),
+Depends: libgmsh4.12t64 (= ${binary:Version}),
          libgmsh-dev (= ${binary:Version}),
          ${misc:Depends}
 Recommends: gmsh
@@ -125,7 +125,8 @@
  .
  The package contains development private headers.
 
-Package: libgmsh4.12
+Package: libgmsh4.12t64
+Provides: ${t64:Provides}
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -133,8 +134,8 @@
          ${shlibs:Depends}
 Recommends: gmsh
 Pre-Depends: ${misc:Pre-Depends}
-Breaks: libgmsh4 (>= 4.12.0+ds1-1~)
-Replaces: libgmsh4 (>= 4.12.0+ds1-1~)
+Breaks: libgmsh4.12 (<< ${source:Version}), libgmsh4 (>= 4.12.0+ds1-1~)
+Replaces: libgmsh4.12, libgmsh4 (>= 4.12.0+ds1-1~)
 Description: Three-dimensional finite element mesh generator shared library
  Gmsh is a 3D finite element grid generator with a build-in CAD engine
  and post-processor. Its design goal is to provide a fast, light and
@@ -153,7 +154,7 @@
 Architecture: all
 Section: python
 Depends: python3,
-         libgmsh4.12 (>= ${binary:Version}),
+         libgmsh4.12t64 (>= ${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
 Recommends: gmsh
diff -Nru gmsh-4.12.1+ds1/debian/libgmsh4.12.install gmsh-4.12.1+ds1/debian/libgmsh4.12.install
--- gmsh-4.12.1+ds1/debian/libgmsh4.12.install	2024-01-24 18:49:20.000000000 +0000
+++ gmsh-4.12.1+ds1/debian/libgmsh4.12.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libgmsh.so.*
diff -Nru gmsh-4.12.1+ds1/debian/libgmsh4.12t64.install gmsh-4.12.1+ds1/debian/libgmsh4.12t64.install
--- gmsh-4.12.1+ds1/debian/libgmsh4.12t64.install	1970-01-01 00:00:00.000000000 +0000
+++ gmsh-4.12.1+ds1/debian/libgmsh4.12t64.install	2024-01-24 18:49:20.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libgmsh.so.*
diff -Nru gmsh-4.12.1+ds1/debian/libgmsh4.12t64.lintian-overrides gmsh-4.12.1+ds1/debian/libgmsh4.12t64.lintian-overrides
--- gmsh-4.12.1+ds1/debian/libgmsh4.12t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ gmsh-4.12.1+ds1/debian/libgmsh4.12t64.lintian-overrides	2024-02-01 14:51:36.000000000 +0000
@@ -0,0 +1 @@
+libgmsh4.12t64: package-name-doesnt-match-sonames libgmsh4.12
diff -Nru gmsh-4.12.1+ds1/debian/rules gmsh-4.12.1+ds1/debian/rules
--- gmsh-4.12.1+ds1/debian/rules	2024-01-24 18:57:43.000000000 +0000
+++ gmsh-4.12.1+ds1/debian/rules	2024-02-01 14:51:36.000000000 +0000
@@ -74,7 +74,7 @@
 	dh_installdocs --doc-main-package=gmsh-doc -pgmsh-doc
 	dh_installdocs --doc-main-package=gmsh-doc -plibgmsh-dev
 	dh_installdocs --doc-main-package=gmsh-doc -plibgmsh-private-headers-dev
-	dh_installdocs --doc-main-package=gmsh-doc -plibgmsh4.12
+	dh_installdocs --doc-main-package=gmsh-doc -plibgmsh4.12t64
 	dh_installdocs --doc-main-package=gmsh-doc -ppython3-gmsh
 
 override_dh_auto_test:


More information about the debian-science-maintainers mailing list