Bug#1062966: taningia: NMU diff for 64-bit time_t transition

2024-02-29 Thread Benjamin Drung
Source: taningia
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 taningia-0.2.2/debian/changelog taningia-0.2.2/debian/changelog
--- taningia-0.2.2/debian/changelog 2016-09-18 23:28:51.0 +
+++ taningia-0.2.2/debian/changelog 2024-02-29 18:03:04.0 +
@@ -1,3 +1,10 @@
+taningia (0.2.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062966
+
+ -- Benjamin Drung   Thu, 29 Feb 2024 18:03:04 +
+
 taningia (0.2.2-2) unstable; urgency=low
 
   * Remove unreachable addresses from control and watch file.
diff -Nru taningia-0.2.2/debian/control taningia-0.2.2/debian/control
--- taningia-0.2.2/debian/control   2016-09-18 23:28:51.0 +
+++ taningia-0.2.2/debian/control   2024-02-29 18:03:04.0 +
@@ -2,7 +2,7 @@
 Priority: extra
 Maintainer: Debian XMPP Maintainers 
 Uploaders: Thadeu Lima de Souza Cascardo 
-Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libiksemel-dev,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 7.0.50~), autotools-dev, 
libiksemel-dev,
  pkg-config
 Standards-Version: 3.9.8
 Section: libs
@@ -10,7 +10,7 @@
 Package: libtaningia-dev
 Section: libdevel
 Architecture: any
-Depends: libtaningia0 (= ${binary:Version}), ${misc:Depends},
+Depends: libtaningia0t64 (= ${binary:Version}), ${misc:Depends},
  libiksemel-dev
 Description: Development files for lib taningia
  Taningia is a simple and modern communication library that provides
@@ -24,7 +24,10 @@
  This package provides headers, static linked library and other
  development stuff.
 
-Package: libtaningia0
+Package: libtaningia0t64
+Provides: ${t64:Provides}
+Replaces: libtaningia0
+Breaks: libtaningia0 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Taningia is a generic communication library based on XMPP
diff -Nru taningia-0.2.2/debian/libtaningia0.dirs 
taningia-0.2.2/debian/libtaningia0.dirs
--- taningia-0.2.2/debian/libtaningia0.dirs 2016-09-18 22:26:40.0 
+
+++ taningia-0.2.2/debian/libtaningia0.dirs 1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib
diff -Nru taningia-0.2.2/debian/libtaningia0.docs 
taningia-0.2.2/debian/libtaningia0.docs
--- taningia-0.2.2/debian/libtaningia0.docs 2016-09-18 22:26:40.0 
+
+++ taningia-0.2.2/debian/libtaningia0.docs 1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-TODO
diff -Nru taningia-0.2.2/debian/libtaningia0.install 
taningia-0.2.2/debian/libtaningia0.install
--- taningia-0.2.2/debian/libtaningia0.install  2016-09-18 22:26:40.0 
+
+++ taningia-0.2.2/debian/libtaningia0.install  1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/lib*.so.*
diff -Nru taningia-0.2.2/debian/libtaningia0.symbols 
taningia-0.2.2/debian/libtaningia0.symbols
--- taningia-0.2.2/debian/libtaningia0.symbols  2016-09-18 22:26:40.0 
+
+++ taningia-0.2.2/debian/libtaningia0.symbols  1970-01-01 00:00:00.0 
+
@@ -1,259 +0,0 @@
-libtaningia.so.0 libtaningia0 #MINVER#
- hash_string@Base 0.1
- hashtable_close@Base 0.1
- hashtable_create@Base 0.1
- hashtable_del@Base 0.1
- hashtable_destroy@Base 0.1
- hashtable_get@Base 0.1
- hashtable_get_test@Base 0.1
- hashtable_init@Base 0.1
- hashtable_iter@Base 0.1
- hashtable_iter_key@Base 0.1
- hashtable_iter_next@Base 0.1
- hashtable_iter_value@Base 0.1
- hashtable_set@Base 0.1
- string_equal@Base 0.1
- ta_atom_category_get_label@Base 0.1
- ta_atom_category_get_scheme@Base 0.1
- ta_atom_category_get_term@Base 0.1
- ta_atom_category_init@Base 0.1
- ta_atom_category_new@Base 0.1
- ta_atom_category_set_label@Base 0.1
- ta_atom_category_set_scheme@Base 0.1
- ta_atom_category_set_term@Base 0.1
- ta_atom_category_to_iks@Base 0.1
- ta_atom_category_to_string@Base 0.1
- ta_atom_content_get_content@Base 0.1
- ta_atom_content_get_src@Base 0.1
- ta_atom_content_get_type@Base 0.1
- ta_atom_content_init@Base 0.1
- ta_atom_content_new@Base 0.1
- ta_atom_content_set_content@Base 0.1
- ta_atom_content_set_src@Base 0.1
- ta_atom_content_set_type@Base 0.1
- ta_atom_content_to_iks@Base 0.1
- ta_atom_content_to_string@Base 0.1
- ta_atom_entry_add_author@Base 0.1
- ta_atom_entry_add_category@Base 0.1
- ta_atom_entry_add_inreplyto@Base 0.1
- 

Bug#1062966: taningia: NMU diff for 64-bit time_t transition

2024-02-04 Thread Steve Langasek
Source: taningia
Version: 0.2.2-2
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
taningia 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 taningia
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 taningia-0.2.2/debian/changelog taningia-0.2.2/debian/changelog
--- taningia-0.2.2/debian/changelog 2016-09-18 23:28:51.0 +
+++ taningia-0.2.2/debian/changelog 2024-02-04 08:10:56.0 +
@@ -1,3 +1,10 @@
+taningia (0.2.2-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Sun, 04 Feb 2024 08:10:56 +
+
 taningia (0.2.2-2) unstable; urgency=low
 
   * Remove unreachable addresses from control and watch file.
diff -Nru taningia-0.2.2/debian/control taningia-0.2.2/debian/control
--- taningia-0.2.2/debian/control   2016-09-18 23:28:51.0 +
+++ taningia-0.2.2/debian/control   2024-02-04 08:10:55.0 +
@@ -10,7 +10,7 @@
 Package: libtaningia-dev
 Section: libdevel
 Architecture: any
-Depends: libtaningia0 (= ${binary:Version}), ${misc:Depends},
+Depends: libtaningia0t64 (= ${binary:Version}), ${misc:Depends},
  libiksemel-dev
 Description: Development files for lib taningia
  Taningia is a simple and modern communication library that provides
@@ -24,7 +24,10 @@
  This package provides headers, static linked library and other
  development stuff.
 
-Package: libtaningia0
+Package: libtaningia0t64
+Provides: ${t64:Provides}
+Replaces: libtaningia0
+Breaks: libtaningia0 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Taningia is a generic communication library based on XMPP
diff -Nru taningia-0.2.2/debian/libtaningia0.dirs 
taningia-0.2.2/debian/libtaningia0.dirs
--- taningia-0.2.2/debian/libtaningia0.dirs 2016-09-18 22:26:40.0 
+
+++ taningia-0.2.2/debian/libtaningia0.dirs 1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib
diff -Nru taningia-0.2.2/debian/libtaningia0.docs 
taningia-0.2.2/debian/libtaningia0.docs
--- taningia-0.2.2/debian/libtaningia0.docs 2016-09-18 22:26:40.0 
+
+++ taningia-0.2.2/debian/libtaningia0.docs 1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-TODO
diff -Nru taningia-0.2.2/debian/libtaningia0.install 
taningia-0.2.2/debian/libtaningia0.install
--- taningia-0.2.2/debian/libtaningia0.install  2016-09-18 22:26:40.0 
+
+++ taningia-0.2.2/debian/libtaningia0.install  1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/lib*.so.*
diff -Nru taningia-0.2.2/debian/libtaningia0.symbols 
taningia-0.2.2/debian/libtaningia0.symbols
--- taningia-0.2.2/debian/libtaningia0.symbols  2016-09-18 22:26:40.0 
+
+++ taningia-0.2.2/debian/libtaningia0.symbols  1970-01-01 00:00:00.0 
+
@@ -1,259 +0,0 @@
-libtaningia.so.0 libtaningia0 #MINVER#
- hash_string@Base 0.1
- hashtable_close@Base 0.1
- hashtable_create@Base 0.1
- hashtable_del@Base 0.1
- hashtable_destroy@Base 0.1
- hashtable_get@Base 0.1
- hashtable_get_test@Base 0.1
-