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

Steve Langasek vorlon at debian.org
Wed Feb 28 19:02:21 GMT 2024


Dear maintainer,

Please find attached a final version of this patch for the time_t
transition.  This patch is being uploaded to unstable.

Note that this adds a versioned build-dependency on dpkg-dev, to guard
against accidental backports with a wrong ABI.

Thanks!


-- 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/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 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-28 18:49:14.000000000 +0000
@@ -1,3 +1,10 @@
+gmsh (4.12.1+ds1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062447
+
+ -- Steve Langasek <vorlon at debian.org>  Wed, 28 Feb 2024 18:49:14 +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-28 18:49:14.000000000 +0000
@@ -6,7 +6,7 @@
            Francesco Ballarin <francesco.ballarin at unicatt.it>
 Section: math
 Priority: optional
-Build-Depends: cmake,
+Build-Depends: dpkg-dev (>= 1.22.5), cmake,
                debhelper-compat (= 13),
                freeglut3-dev,
                gfortran,
@@ -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-28 18:42:53.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-28 18:49:12.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