[Debian-med-packaging] Bug#1062316: libgkarrays: NMU diff for 64-bit time_t transition

Benjamin Drung bdrung at debian.org
Wed Feb 28 18:56:13 GMT 2024


Source: libgkarrays
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 libgkarrays-2.1.0+dfsg/debian/changelog libgkarrays-2.1.0+dfsg/debian/changelog
--- libgkarrays-2.1.0+dfsg/debian/changelog	2020-11-19 09:41:29.000000000 +0000
+++ libgkarrays-2.1.0+dfsg/debian/changelog	2024-02-28 18:55:49.000000000 +0000
@@ -1,3 +1,10 @@
+libgkarrays (2.1.0+dfsg-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062316
+
+ -- Benjamin Drung <bdrung at debian.org>  Wed, 28 Feb 2024 18:55:49 +0000
+
 libgkarrays (2.1.0+dfsg-4) unstable; urgency=medium
 
   * Fix installation of shared library
diff -Nru libgkarrays-2.1.0+dfsg/debian/control libgkarrays-2.1.0+dfsg/debian/control
--- libgkarrays-2.1.0+dfsg/debian/control	2020-11-19 09:41:29.000000000 +0000
+++ libgkarrays-2.1.0+dfsg/debian/control	2024-02-28 18:55:49.000000000 +0000
@@ -3,8 +3,8 @@
 Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
-               d-shlibs,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
+               d-shlibs (>= 0.106),
                zlib1g-dev
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/libgkarrays
@@ -12,7 +12,10 @@
 Homepage: http://crac.gforge.inria.fr/gkarrays/
 Rules-Requires-Root: no
 
-Package: libgkarrays1
+Package: libgkarrays1t64
+Provides: ${t64:Provides}
+Replaces: libgkarrays1
+Conflicts: libgkarrays1 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -34,7 +37,7 @@
 Section: libdevel
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libgkarrays1 (= ${binary:Version})
+         libgkarrays1t64 (= ${binary:Version})
 Description: library to query large collection of NGS sequences (development)
  Gk-arrays are provided as a simple-to-use C++ library dedicated to
  queries on large collection of sequences as produced by high-throughput
diff -Nru libgkarrays-2.1.0+dfsg/debian/libgkarrays1t64.lintian-overrides libgkarrays-2.1.0+dfsg/debian/libgkarrays1t64.lintian-overrides
--- libgkarrays-2.1.0+dfsg/debian/libgkarrays1t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ libgkarrays-2.1.0+dfsg/debian/libgkarrays1t64.lintian-overrides	2024-02-28 18:55:24.000000000 +0000
@@ -0,0 +1 @@
+libgkarrays1t64: package-name-doesnt-match-sonames libgkarrays1
diff -Nru libgkarrays-2.1.0+dfsg/debian/rules libgkarrays-2.1.0+dfsg/debian/rules
--- libgkarrays-2.1.0+dfsg/debian/rules	2020-11-19 09:41:29.000000000 +0000
+++ libgkarrays-2.1.0+dfsg/debian/rules	2024-02-28 18:55:47.000000000 +0000
@@ -12,6 +12,7 @@
 override_dh_install:
 	dh_install
 	d-shlibmove --commit \
+		    --t64 \
 		    --multiarch \
 		    --devunversioned \
 		    --exclude-la \
@@ -20,7 +21,7 @@
 		    --movedev debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig usr/lib/$(DEB_HOST_MULTIARCH) \
 		    debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libGkArrays.so
 	# now move libProgressBar manually
-	dh_install -p libgkarrays1	usr/lib/$(DEB_HOST_MULTIARCH)/libProgressBar.so.0*		usr/lib/$(DEB_HOST_MULTIARCH)
+	dh_install -p libgkarrays1t64	usr/lib/$(DEB_HOST_MULTIARCH)/libProgressBar.so.0*		usr/lib/$(DEB_HOST_MULTIARCH)
 	chmod -x debian/*/usr/lib/$(DEB_HOST_MULTIARCH)/libProgressBar.so.0.*
 	dh_install -p libgkarrays-dev	usr/lib/$(DEB_HOST_MULTIARCH)/libProgressBar.so			usr/lib/$(DEB_HOST_MULTIARCH)
 	dh_install -p libgkarrays-dev	usr/lib/$(DEB_HOST_MULTIARCH)/libProgressBar.a			usr/lib/$(DEB_HOST_MULTIARCH)


More information about the Debian-med-packaging mailing list