Bug#1062726: libident: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: libident
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 libident-0.32/debian/changelog libident-0.32/debian/changelog
--- libident-0.32/debian/changelog  2022-01-02 19:55:27.0 +
+++ libident-0.32/debian/changelog  2024-02-28 19:14:09.0 +
@@ -1,3 +1,10 @@
+libident (0.32-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062726
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 19:14:09 +
+
 libident (0.32-1) unstable; urgency=medium
 
   * New upstream release. (Closes: #1002955)
diff -Nru libident-0.32/debian/control libident-0.32/debian/control
--- libident-0.32/debian/control2022-01-02 19:55:26.0 +
+++ libident-0.32/debian/control2024-02-28 19:14:09.0 +
@@ -3,14 +3,18 @@
 Section: libs
 Priority: optional
 Standards-Version: 4.6.0
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  debhelper-compat (= 13),
 Rules-Requires-Root: no
 Homepage: https://www.remlab.net/files/libident/
 Vcs-Git: https://salsa.debian.org/debian/libident.git
 Vcs-Browser: https://salsa.debian.org/debian/libident
 
-Package: libident
+Package: libident0
+X-Time64-Compat: libident
+Provides: ${t64:Provides}
+Replaces: libident
+Breaks: libident (<< ${source:Version})
 Architecture: any
 Depends:
  ${misc:Depends},
@@ -31,7 +35,7 @@
 Section: libdevel
 Priority: optional
 Depends:
- libident (= ${binary:Version}),
+ libident0 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends},
 Description: simple RFC1413 client library - development
diff -Nru libident-0.32/debian/libident.install 
libident-0.32/debian/libident.install
--- libident-0.32/debian/libident.install   2022-01-02 19:35:23.0 
+
+++ libident-0.32/debian/libident.install   1970-01-01 00:00:00.0 
+
@@ -1,3 +0,0 @@
-usr/sbin/
-usr/lib/*/lib*.so.*
-usr/share/man/man8/
diff -Nru libident-0.32/debian/libident.shlibs 
libident-0.32/debian/libident.shlibs
--- libident-0.32/debian/libident.shlibs2022-01-01 18:15:57.0 
+
+++ libident-0.32/debian/libident.shlibs1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-libident 0 libident (>= 0.32)
diff -Nru libident-0.32/debian/libident0.install 
libident-0.32/debian/libident0.install
--- libident-0.32/debian/libident0.install  1970-01-01 00:00:00.0 
+
+++ libident-0.32/debian/libident0.install  2022-01-02 19:35:23.0 
+
@@ -0,0 +1,3 @@
+usr/sbin/
+usr/lib/*/lib*.so.*
+usr/share/man/man8/
diff -Nru libident-0.32/debian/libident0.lintian-overrides 
libident-0.32/debian/libident0.lintian-overrides
--- libident-0.32/debian/libident0.lintian-overrides1970-01-01 
00:00:00.0 +
+++ libident-0.32/debian/libident0.lintian-overrides2024-02-28 
19:11:36.0 +
@@ -0,0 +1 @@
+libident0: package-name-doesnt-match-sonames libident
diff -Nru libident-0.32/debian/libident0.shlibs 
libident-0.32/debian/libident0.shlibs
--- libident-0.32/debian/libident0.shlibs   1970-01-01 00:00:00.0 
+
+++ libident-0.32/debian/libident0.shlibs   2024-02-28 19:11:36.0 
+
@@ -0,0 +1 @@
+libident0 0 libident0 (>= 0.32)
diff -Nru libident-0.32/debian/rules libident-0.32/debian/rules
--- libident-0.32/debian/rules  2022-01-02 19:33:19.0 +
+++ libident-0.32/debian/rules  2024-02-28 19:14:07.0 +
@@ -20,4 +20,4 @@
--enable-testers
 
 override_dh_installdocs:
-   dh_installdocs --link-doc=libident
+   dh_installdocs --link-doc=libident0


Bug#1062726: libident: NMU diff for 64-bit time_t transition

2024-02-23 Thread Steve Langasek
Hello,

An oversight with regards to the provides: handling support in debhelper
means the package in experimental does not correctly declare compatibility
on 64-bit archs with the prior ABI.  Please find an updated patch attached.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developer   https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru libident-0.32/debian/changelog libident-0.32/debian/changelog
--- libident-0.32/debian/changelog  2022-01-02 19:55:27.0 +
+++ libident-0.32/debian/changelog  2024-02-24 07:41:13.0 +
@@ -1,3 +1,17 @@
+libident (0.32-1.1~exp2) experimental; urgency=medium
+
+  * Fix doc link.
+  * Declare X-Time64-Compat to get proper Provides:
+
+ -- Steve Langasek   Sat, 24 Feb 2024 07:41:13 +
+
+libident (0.32-1.1~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Fri, 02 Feb 2024 23:03:30 +
+
 libident (0.32-1) unstable; urgency=medium
 
   * New upstream release. (Closes: #1002955)
diff -Nru libident-0.32/debian/control libident-0.32/debian/control
--- libident-0.32/debian/control2022-01-02 19:55:26.0 +
+++ libident-0.32/debian/control2024-02-24 07:40:47.0 +
@@ -10,7 +10,11 @@
 Vcs-Git: https://salsa.debian.org/debian/libident.git
 Vcs-Browser: https://salsa.debian.org/debian/libident
 
-Package: libident
+Package: libident0
+X-Time64-Compat: libident
+Provides: ${t64:Provides}
+Replaces: libident
+Breaks: libident (<< ${source:Version})
 Architecture: any
 Depends:
  ${misc:Depends},
@@ -31,7 +35,7 @@
 Section: libdevel
 Priority: optional
 Depends:
- libident (= ${binary:Version}),
+ libident0 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends},
 Description: simple RFC1413 client library - development
diff -Nru libident-0.32/debian/libident.install 
libident-0.32/debian/libident.install
--- libident-0.32/debian/libident.install   2022-01-02 19:35:23.0 
+
+++ libident-0.32/debian/libident.install   1970-01-01 00:00:00.0 
+
@@ -1,3 +0,0 @@
-usr/sbin/
-usr/lib/*/lib*.so.*
-usr/share/man/man8/
diff -Nru libident-0.32/debian/libident.shlibs 
libident-0.32/debian/libident.shlibs
--- libident-0.32/debian/libident.shlibs2022-01-01 18:15:57.0 
+
+++ libident-0.32/debian/libident.shlibs1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-libident 0 libident (>= 0.32)
diff -Nru libident-0.32/debian/libident0.install 
libident-0.32/debian/libident0.install
--- libident-0.32/debian/libident0.install  1970-01-01 00:00:00.0 
+
+++ libident-0.32/debian/libident0.install  2024-02-02 23:03:30.0 
+
@@ -0,0 +1,3 @@
+usr/sbin/
+usr/lib/*/lib*.so.*
+usr/share/man/man8/
diff -Nru libident-0.32/debian/libident0.lintian-overrides 
libident-0.32/debian/libident0.lintian-overrides
--- libident-0.32/debian/libident0.lintian-overrides1970-01-01 
00:00:00.0 +
+++ libident-0.32/debian/libident0.lintian-overrides2024-02-02 
23:03:30.0 +
@@ -0,0 +1 @@
+libident0: package-name-doesnt-match-sonames libident
diff -Nru libident-0.32/debian/libident0.shlibs 
libident-0.32/debian/libident0.shlibs
--- libident-0.32/debian/libident0.shlibs   1970-01-01 00:00:00.0 
+
+++ libident-0.32/debian/libident0.shlibs   2024-02-02 23:03:30.0 
+
@@ -0,0 +1 @@
+libident0 0 libident0 (>= 0.32)
diff -Nru libident-0.32/debian/rules libident-0.32/debian/rules
--- libident-0.32/debian/rules  2022-01-02 19:33:19.0 +
+++ libident-0.32/debian/rules  2024-02-24 07:40:28.0 +
@@ -20,4 +20,4 @@
--enable-testers
 
 override_dh_installdocs:
-   dh_installdocs --link-doc=libident
+   dh_installdocs --link-doc=libident0


signature.asc
Description: PGP signature


Bug#1062726: libident: NMU diff for 64-bit time_t transition

2024-02-02 Thread Steve Langasek
Source: libident
Version: 0.32-1
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
libident 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 libident
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'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
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)