Bug#1062514: lammps: NMU diff for 64-bit time_t transition

Lukas Märdian slyon at debian.org
Wed Feb 28 17:10:49 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-21-generic (SMP w/4 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 lammps-20240207+dfsg/debian/changelog lammps-20240207+dfsg/debian/changelog
--- lammps-20240207+dfsg/debian/changelog	2024-02-18 15:27:44.000000000 +0000
+++ lammps-20240207+dfsg/debian/changelog	2024-02-28 16:51:42.000000000 +0000
@@ -1,3 +1,10 @@
+lammps (20240207+dfsg-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062514
+
+ -- Lukas M?rdian <slyon at debian.org>  Wed, 28 Feb 2024 16:51:42 +0000
+
 lammps (20240207+dfsg-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru lammps-20240207+dfsg/debian/control lammps-20240207+dfsg/debian/control
--- lammps-20240207+dfsg/debian/control	2024-02-18 15:27:44.000000000 +0000
+++ lammps-20240207+dfsg/debian/control	2024-02-28 16:51:42.000000000 +0000
@@ -3,7 +3,7 @@
 Uploaders: Anton Gladky <gladk at debian.org>
 Section: science
 Priority: optional
-Build-Depends: cmake,
+Build-Depends: dpkg-dev (>= 1.22.5), cmake,
                debhelper-compat (= 13),
                dh-python,
                pybuild-plugin-pyproject,
@@ -72,7 +72,7 @@
 
 Package: liblammps-dev
 Architecture: any
-Depends: liblammps0 (= ${binary:Version}),
+Depends: liblammps0t64 (= ${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends},
          mpi-default-dev
@@ -93,7 +93,10 @@
  This package contains development files and headers to build applications
  using the LAMMPS shared library.
 
-Package: liblammps0
+Package: liblammps0t64
+Provides: ${t64:Provides}
+Replaces: liblammps0
+Breaks: liblammps0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
diff -Nru lammps-20240207+dfsg/debian/liblammps0.install lammps-20240207+dfsg/debian/liblammps0.install
--- lammps-20240207+dfsg/debian/liblammps0.install	2024-02-18 15:27:44.000000000 +0000
+++ lammps-20240207+dfsg/debian/liblammps0.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/liblammps.so.*
diff -Nru lammps-20240207+dfsg/debian/liblammps0.lintian-overrides lammps-20240207+dfsg/debian/liblammps0.lintian-overrides
--- lammps-20240207+dfsg/debian/liblammps0.lintian-overrides	2024-02-18 15:27:44.000000000 +0000
+++ lammps-20240207+dfsg/debian/liblammps0.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-# Possible false positive
-custom-library-search-path
diff -Nru lammps-20240207+dfsg/debian/liblammps0t64.install lammps-20240207+dfsg/debian/liblammps0t64.install
--- lammps-20240207+dfsg/debian/liblammps0t64.install	1970-01-01 00:00:00.000000000 +0000
+++ lammps-20240207+dfsg/debian/liblammps0t64.install	2024-02-18 15:27:44.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/liblammps.so.*
diff -Nru lammps-20240207+dfsg/debian/liblammps0t64.lintian-overrides lammps-20240207+dfsg/debian/liblammps0t64.lintian-overrides
--- lammps-20240207+dfsg/debian/liblammps0t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ lammps-20240207+dfsg/debian/liblammps0t64.lintian-overrides	2024-02-28 16:49:51.000000000 +0000
@@ -0,0 +1,3 @@
+# Possible false positive
+custom-library-search-path
+liblammps0t64: package-name-doesnt-match-sonames liblammps0


More information about the debian-science-maintainers mailing list