Bug#1062331: ding-libs: NMU diff for 64-bit time_t transition

2024-02-27 Thread mwhudson
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
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)
diff -Nru ding-libs-0.6.2/debian/changelog ding-libs-0.6.2/debian/changelog
--- ding-libs-0.6.2/debian/changelog2023-08-19 11:12:21.0 +
+++ ding-libs-0.6.2/debian/changelog2024-02-28 01:35:10.0 +
@@ -1,3 +1,10 @@
+ding-libs (0.6.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062331
+
+ -- Michael Hudson-Doyle   Wed, 28 Feb 2024 01:35:10 +
+
 ding-libs (0.6.2-2) unstable; urgency=medium
 
   [ Simon Josefsson ]
diff -Nru ding-libs-0.6.2/debian/control ding-libs-0.6.2/debian/control
--- ding-libs-0.6.2/debian/control  2023-08-08 12:52:15.0 +
+++ ding-libs-0.6.2/debian/control  2024-02-28 01:35:10.0 +
@@ -4,7 +4,7 @@
 Maintainer: Debian SSSD Team 
 Uploaders: Timo Aaltonen ,
Simon Josefsson 
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
  quilt,
  check,
  pkg-config,
@@ -18,7 +18,7 @@
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends},
- libpath-utils1 (= ${binary:Version}),
+ libpath-utils1t64 (= ${binary:Version}),
 Multi-Arch: same
 Description: Development files for libpath_utils
  Utility functions to manipulate filesystem pathnames. Development files.
@@ -26,7 +26,10 @@
  This package is part of the ding-libs, libraries that are required for the
  proper functioning of SSSD, the System Security Services Daemon.
 
-Package: libpath-utils1
+Package: libpath-utils1t64
+Provides: ${t64:Provides}
+Replaces: libpath-utils1
+Breaks: libpath-utils1 (<< ${source:Version})
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -41,7 +44,7 @@
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends},
- libdhash1 (= ${binary:Version}),
+ libdhash1t64 (= ${binary:Version}),
 Multi-Arch: same
 Description: Development files for libdhash
  A hash table which will dynamically resize to achieve optimal storage & access
@@ -50,7 +53,10 @@
  This package is part of the ding-libs, libraries that are required for the
  proper functioning of SSSD, the System Security Services Daemon.
 
-Package: libdhash1
+Package: libdhash1t64
+Provides: ${t64:Provides}
+Replaces: libdhash1
+Breaks: libdhash1 (<< ${source:Version})
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -66,7 +72,7 @@
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends},
- libcollection4 (= ${binary:Version}),
+ libcollection4t64 (= ${binary:Version}),
 Multi-Arch: same
 Description: Development files for libcollection
  A data-type to collect data in a hierarchical structure for easy iteration
@@ -75,7 +81,10 @@
  This package is part of the ding-libs, libraries that are required for the
  proper functioning of SSSD, the System Security Services Daemon.
 
-Package: libcollection4
+Package: libcollection4t64
+Provides: ${t64:Provides}
+Replaces: libcollection4
+Breaks: libcollection4 (<< ${source:Version})
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -91,7 +100,7 @@
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends},
- libref-array1 (= ${binary:Version}),
+ libref-array1t64 (= ${binary:Version}),
 Multi-Arch: same
 Description: Development files for refcounted array for C
  A dynamically-growing, reference-counted array. Development files.
@@ -99,7 +108,10 @@
  This package is part of the ding-libs, libraries that are required for the
  proper functioning of SSSD, the System Security Services Daemon.
 
-Package: libref-array1
+Package: libref-array1t64
+Provides: ${t64:Provides}
+Replaces: libref-array1
+Breaks: libref-array1 (<< ${source:Version})
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -114,7 +126,7 @@
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends},
- libini-config5 (= ${binary:Version}),
+ libini-config5t64 (= ${binary:Version}),
  libcollection-dev (= ${binary:Version}),
  libbasicobjects-dev (= ${binary:Version}),
  libref-array-dev (= ${binary:Version}),
@@ -125,7 +137,10 @@
  This package is part of the ding-libs, libraries that are required for the
  proper functioning of 

Bug#1062331: ding-libs: NMU diff for 64-bit time_t transition

2024-01-31 Thread mwhudson
Source: ding-libs
Version: 0.6.2-2
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

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

Kernel: Linux 6.5.0-15-generic (SMP w/16 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)
diff -Nru ding-libs-0.6.2/debian/changelog ding-libs-0.6.2/debian/changelog
--- ding-libs-0.6.2/debian/changelog2023-08-19 11:12:21.0 +
+++ ding-libs-0.6.2/debian/changelog2024-02-01 04:26:40.0 +
@@ -1,3 +1,10 @@
+ding-libs (0.6.2-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Michael Hudson-Doyle   Thu, 01 Feb 2024 04:26:40 +
+
 ding-libs (0.6.2-2) unstable; urgency=medium
 
   [ Simon Josefsson ]
diff -Nru ding-libs-0.6.2/debian/control ding-libs-0.6.2/debian/control
--- ding-libs-0.6.2/debian/control  2023-08-08 12:52:15.0 +
+++ ding-libs-0.6.2/debian/control  2024-02-01 04:26:40.0 +
@@ -18,7 +18,7 @@
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends},
- libpath-utils1 (= ${binary:Version}),
+ libpath-utils1t64 (= ${binary:Version}),
 Multi-Arch: same
 Description: Development files for libpath_utils
  Utility functions to manipulate filesystem pathnames. Development files.
@@ -26,7 +26,10 @@
  This package is part of the ding-libs, libraries that are required for the
  proper functioning of SSSD, the System Security Services Daemon.
 
-Package: libpath-utils1
+Package: libpath-utils1t64
+Provides: ${t64:Provides}
+Replaces: libpath-utils1
+Breaks: libpath-utils1 (<< ${source:Version})
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -41,7 +44,7 @@
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends},
- libdhash1 (= ${binary:Version}),
+ libdhash1t64 (= ${binary:Version}),
 Multi-Arch: same
 Description: Development files for libdhash
  A hash table which will dynamically resize to achieve optimal storage & access
@@ -50,7 +53,10 @@
  This package is part of the ding-libs, libraries that are required for the
  proper functioning of SSSD, the System Security Services Daemon.
 
-Package: libdhash1
+Package: libdhash1t64
+Provides: ${t64:Provides}
+Replaces: libdhash1
+Breaks: libdhash1 (<< ${source:Version})
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -66,7 +72,7 @@
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends},
- libcollection4 (= ${binary:Version}),
+ libcollection4t64 (= ${binary:Version}),
 Multi-Arch: same
 Description: Development files for libcollection
  A data-type to collect data in a hierarchical structure for easy iteration
@@ -75,7 +81,10 @@
  This package is part of the ding-libs, libraries that are required for the
  proper functioning of SSSD, the System Security Services Daemon.
 
-Package: libcollection4
+Package: libcollection4t64
+Provides: ${t64:Provides}
+Replaces: libcollection4
+Breaks: libcollection4 (<< ${source:Version})
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -91,7 +100,7 @@
 Section: