Bug#1062959: taktuk: NMU diff for 64-bit time_t transition

2024-02-29 Thread Benjamin Drung
Source: taktuk
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
diff -Nru taktuk-3.7.7/debian/changelog taktuk-3.7.7/debian/changelog
--- taktuk-3.7.7/debian/changelog   2022-07-28 16:45:26.0 +
+++ taktuk-3.7.7/debian/changelog   2024-02-29 17:58:33.0 +
@@ -1,3 +1,10 @@
+taktuk (3.7.7-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062959
+
+ -- Benjamin Drung   Thu, 29 Feb 2024 17:58:33 +
+
 taktuk (3.7.7-3) unstable; urgency=medium
 
   * New upstream page, fix debian/watch and homepage
diff -Nru taktuk-3.7.7/debian/control taktuk-3.7.7/debian/control
--- taktuk-3.7.7/debian/control 2022-07-28 16:41:49.0 +
+++ taktuk-3.7.7/debian/control 2024-02-29 17:58:33.0 +
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Vincent Danjean 
 Uploaders: Lucas Nussbaum 
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
  autoconf (>=2.61), automake (>=1:1.10), libtool
 Standards-Version: 4.6.1
 Vcs-Git: https://salsa.debian.org/debian/taktuk.git
@@ -16,7 +16,7 @@
 Multi-Arch: foreign
 Depends: ${perl:Depends}, ${misc:Depends}, openssh-client | rsh-client
 Recommends: libterm-readline-gnu-perl
-Suggests: kanif, libtaktuk3 (>= ${source:Version}), libtaktuk-1-dev (>= 
${source:Version})
+Suggests: kanif, libtaktuk3t64 (>= ${source:Version}), libtaktuk-1-dev (>= 
${source:Version})
 Breaks: kanif (<< 1.2)
 Description: efficient, large scale, parallel remote execution of commands
  TakTuk allows one to execute commands in parallel on a potentially large set
@@ -27,7 +27,10 @@
  require any specific software on the nodes thanks to a self-propagation
  algorithm.
 
-Package: libtaktuk3
+Package: libtaktuk3t64
+Provides: ${t64:Provides}
+Replaces: libtaktuk3
+Breaks: libtaktuk3 (<< ${source:Version})
 Architecture: any
 Section: libs
 Multi-Arch: same
@@ -43,7 +46,7 @@
  require any specific software on the nodes thanks to a self-propagation
  algorithm.
  .
- This package provides libtaktuk3, the C bindings for the taktuk communication
+ This package provides libtaktuk3t64, the C bindings for the taktuk 
communication
  layer.
 
 Package: libtaktuk-1-dev
@@ -53,7 +56,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: ${misc:Depends}, libtaktuk3 (= ${binary:Version})
+Depends: ${misc:Depends}, libtaktuk3t64 (= ${binary:Version})
 Description: C bindings for taktuk (development files)
  TakTuk allows one to execute commands in parallel on a potentially large set
  of remote nodes (using ssh to connect to each node). It is typically used
@@ -63,7 +66,7 @@
  require any specific software on the nodes thanks to a self-propagation
  algorithm.
  .
- This package provides development files for libtaktuk3, the C bindings for
+ This package provides development files for libtaktuk3t64, the C bindings for
  the taktuk communication layer.
 
 Package: libtaktuk-perl
diff -Nru taktuk-3.7.7/debian/libtaktuk3.install 
taktuk-3.7.7/debian/libtaktuk3.install
--- taktuk-3.7.7/debian/libtaktuk3.install  2022-07-28 15:24:38.0 
+
+++ taktuk-3.7.7/debian/libtaktuk3.install  1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-debian/tmp/usr/lib/*/libtaktuk*.so.*
diff -Nru taktuk-3.7.7/debian/libtaktuk3.symbols 
taktuk-3.7.7/debian/libtaktuk3.symbols
--- taktuk-3.7.7/debian/libtaktuk3.symbols  2022-07-28 15:24:38.0 
+
+++ taktuk-3.7.7/debian/libtaktuk3.symbols  1970-01-01 00:00:00.0 
+
@@ -1,14 +0,0 @@
-libtaktuk.so.3 libtaktuk3 #MINVER#
- taktuk_error_msg@Base 3.7.3
- taktuk_get@Base 3.7.3
- taktuk_init_threads@Base 3.7.3
- taktuk_leave_threads@Base 3.7.3
- taktuk_multi_send@Base 3.7.3
- taktuk_multi_sendv@Base 3.7.3
- taktuk_read@Base 3.7.3
- taktuk_readv@Base 3.7.3
- taktuk_recv@Base 3.7.3
- taktuk_recvv@Base 3.7.3
- taktuk_send@Base 3.7.3
- taktuk_sendv@Base 3.7.3
- taktuk_wait_message@Base 3.7.3
diff -Nru taktuk-3.7.7/debian/libtaktuk3t64.install 
taktuk-3.7.7/debian/libtaktuk3t64.install
--- taktuk-3.7.7/debian/libtaktuk3t64.install   1970-01-01 00:00:00.0 
+
+++ taktuk-3.7.7/debian/libtaktuk3t64.install   2022-07-28 15:24:38.0 
+
@@ -0,0 +1 @@
+debian/tmp/usr/lib/*/libtaktuk*.so.*
diff -Nru 

Bug#1062959: taktuk: NMU diff for 64-bit time_t transition

2024-02-03 Thread Steve Langasek
Source: taktuk
Version: 3.7.7-3
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

NOTICE: these changes must not be uploaded to unstable yet!

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
taktuk 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 taktuk
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/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)
diff -Nru taktuk-3.7.7/debian/changelog taktuk-3.7.7/debian/changelog
--- taktuk-3.7.7/debian/changelog   2022-07-28 16:45:26.0 +
+++ taktuk-3.7.7/debian/changelog   2024-02-04 07:33:37.0 +
@@ -1,3 +1,10 @@
+taktuk (3.7.7-3.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Sun, 04 Feb 2024 07:33:37 +
+
 taktuk (3.7.7-3) unstable; urgency=medium
 
   * New upstream page, fix debian/watch and homepage
diff -Nru taktuk-3.7.7/debian/control taktuk-3.7.7/debian/control
--- taktuk-3.7.7/debian/control 2022-07-28 16:41:49.0 +
+++ taktuk-3.7.7/debian/control 2024-02-04 07:33:37.0 +
@@ -16,7 +16,7 @@
 Multi-Arch: foreign
 Depends: ${perl:Depends}, ${misc:Depends}, openssh-client | rsh-client
 Recommends: libterm-readline-gnu-perl
-Suggests: kanif, libtaktuk3 (>= ${source:Version}), libtaktuk-1-dev (>= 
${source:Version})
+Suggests: kanif, libtaktuk3t64 (>= ${source:Version}), libtaktuk-1-dev (>= 
${source:Version})
 Breaks: kanif (<< 1.2)
 Description: efficient, large scale, parallel remote execution of commands
  TakTuk allows one to execute commands in parallel on a potentially large set
@@ -27,7 +27,10 @@
  require any specific software on the nodes thanks to a self-propagation
  algorithm.
 
-Package: libtaktuk3
+Package: libtaktuk3t64
+Provides: ${t64:Provides}
+Replaces: libtaktuk3
+Breaks: libtaktuk3 (<< ${source:Version})
 Architecture: any
 Section: libs
 Multi-Arch: same
@@ -43,7 +46,7 @@
  require any specific software on the nodes thanks to a self-propagation
  algorithm.
  .
- This package provides libtaktuk3, the C bindings for the taktuk communication
+ This package provides libtaktuk3t64, the C bindings for the taktuk 
communication
  layer.
 
 Package: libtaktuk-1-dev
@@ -53,7 +56,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: ${misc:Depends}, libtaktuk3 (= ${binary:Version})
+Depends: ${misc:Depends}, libtaktuk3t64 (= ${binary:Version})
 Description: C bindings for taktuk (development files)
  TakTuk allows one to execute commands in parallel on a potentially large set
  of remote nodes (using ssh to connect to each node). It is typically used
@@ -63,7 +66,7 @@
  require any specific software on the nodes thanks to a self-propagation
  algorithm.
  .
- This package provides development files for libtaktuk3, the C bindings for
+ This package provides development files for libtaktuk3t64, the C bindings for
  the taktuk communication layer.
 
 Package: libtaktuk-perl
diff -Nru taktuk-3.7.7/debian/libtaktuk3.install 
taktuk-3.7.7/debian/libtaktuk3.install
--- taktuk-3.7.7/debian/libtaktuk3.install  2022-07-28 15:24:38.0 
+
+++ taktuk-3.7.7/debian/libtaktuk3.install  1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@