Bug#1063164: ncrystal: NMU diff for 64-bit time_t transition

Benjamin Drung bdrung at debian.org
Wed Feb 28 22:35:29 GMT 2024


Source: ncrystal
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'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
-------------- next part --------------
diff -Nru ncrystal-3.4.1+ds1/debian/changelog ncrystal-3.4.1+ds1/debian/changelog
--- ncrystal-3.4.1+ds1/debian/changelog	2022-11-11 14:53:29.000000000 +0000
+++ ncrystal-3.4.1+ds1/debian/changelog	2024-02-28 22:34:47.000000000 +0000
@@ -1,3 +1,10 @@
+ncrystal (3.4.1+ds1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063164
+
+ -- Benjamin Drung <bdrung at debian.org>  Wed, 28 Feb 2024 22:34:47 +0000
+
 ncrystal (3.4.1+ds1-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru ncrystal-3.4.1+ds1/debian/control ncrystal-3.4.1+ds1/debian/control
--- ncrystal-3.4.1+ds1/debian/control	2022-11-11 14:37:45.000000000 +0000
+++ ncrystal-3.4.1+ds1/debian/control	2024-02-28 22:34:47.000000000 +0000
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Roland Mas <lolando at debian.org>
-Build-Depends: debhelper-compat (= 13), cmake
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), cmake
 Standards-Version: 4.6.0
 Section: libs
 Homepage: https://mctools.github.io/ncrystal/
@@ -14,7 +14,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libncrystal1 (= ${binary:Version}), ${misc:Depends}
+Depends: libncrystal1t64 (= ${binary:Version}), ${misc:Depends}
 Description: Monte Carlo simulations of neutrons in crystals (dev files)
  This is a source distribution of NCrystal, a library and associated
  tools which enables calculations for Monte Carlo simulations of
@@ -22,7 +22,10 @@
  .
  This package contains the development files.
 
-Package: libncrystal1
+Package: libncrystal1t64
+Provides: ${t64:Provides}
+Replaces: libncrystal1
+Breaks: libncrystal1 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
diff -Nru ncrystal-3.4.1+ds1/debian/libncrystal1.install ncrystal-3.4.1+ds1/debian/libncrystal1.install
--- ncrystal-3.4.1+ds1/debian/libncrystal1.install	2022-11-11 14:37:45.000000000 +0000
+++ ncrystal-3.4.1+ds1/debian/libncrystal1.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/lib/*/lib*.so.*
-NOTICE /usr/share/doc/libncrystal1/
diff -Nru ncrystal-3.4.1+ds1/debian/libncrystal1t64.install ncrystal-3.4.1+ds1/debian/libncrystal1t64.install
--- ncrystal-3.4.1+ds1/debian/libncrystal1t64.install	1970-01-01 00:00:00.000000000 +0000
+++ ncrystal-3.4.1+ds1/debian/libncrystal1t64.install	2022-11-11 14:37:45.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib/*/lib*.so.*
+NOTICE /usr/share/doc/libncrystal1/
diff -Nru ncrystal-3.4.1+ds1/debian/libncrystal1t64.lintian-overrides ncrystal-3.4.1+ds1/debian/libncrystal1t64.lintian-overrides
--- ncrystal-3.4.1+ds1/debian/libncrystal1t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ ncrystal-3.4.1+ds1/debian/libncrystal1t64.lintian-overrides	2024-02-28 22:34:42.000000000 +0000
@@ -0,0 +1 @@
+libncrystal1t64: package-name-doesnt-match-sonames libncrystal1


More information about the debian-science-maintainers mailing list