Bug#1062732: libxeddsa: NMU diff for 64-bit time_t transition

2024-02-29 Thread Steve Langasek
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')
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 libxeddsa-2.0.0+20221109.06a02c8/debian/changelog 
libxeddsa-2.0.0+20221109.06a02c8/debian/changelog
--- libxeddsa-2.0.0+20221109.06a02c8/debian/changelog   2022-12-04 
07:12:13.0 +
+++ libxeddsa-2.0.0+20221109.06a02c8/debian/changelog   2024-03-01 
07:17:19.0 +
@@ -1,3 +1,10 @@
+libxeddsa (2.0.0+20221109.06a02c8-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062732
+
+ -- Steve Langasek   Fri, 01 Mar 2024 07:17:19 +
+
 libxeddsa (2.0.0+20221109.06a02c8-2) unstable; urgency=medium
 
   * Use a map file
diff -Nru libxeddsa-2.0.0+20221109.06a02c8/debian/control 
libxeddsa-2.0.0+20221109.06a02c8/debian/control
--- libxeddsa-2.0.0+20221109.06a02c8/debian/control 2022-11-24 
02:13:51.0 +
+++ libxeddsa-2.0.0+20221109.06a02c8/debian/control 2024-03-01 
07:17:19.0 +
@@ -3,7 +3,7 @@
 Uploaders: Martin 
 Section: libs
 Priority: optional
-Build-Depends: cmake,
+Build-Depends: dpkg-dev (>= 1.22.5), cmake,
   debhelper-compat (= 13),
   doxygen,
   libsodium-dev,
@@ -22,7 +22,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: libxeddsa2 (= ${binary:Version}),
+Depends: libxeddsa2t64 (= ${binary:Version}),
  ${misc:Depends},
 ${sphinxdoc:Depends},
 Pre-Depends: ${misc:Pre-Depends}
@@ -38,7 +38,10 @@
  .
  This package contains the development files.
 
-Package: libxeddsa2
+Package: libxeddsa2t64
+Provides: ${t64:Provides}
+Replaces: libxeddsa2
+Breaks: libxeddsa2 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
diff -Nru libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.install 
libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.install
--- libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.install  2022-11-23 
23:27:13.0 +
+++ libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.install  1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-bin/dynamic/libxeddsa.so.* /usr/lib/${DEB_HOST_MULTIARCH}/
diff -Nru libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.symbols 
libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.symbols
--- libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.symbols  2022-12-04 
07:12:13.0 +
+++ libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.symbols  1970-01-01 
00:00:00.0 +
@@ -1,16 +0,0 @@
-libxeddsa.so.2 libxeddsa2 #MINVER#
- XEDDSA_VERSION_MAJOR@Base 2.0.0
- XEDDSA_VERSION_MINOR@Base 2.0.0
- XEDDSA_VERSION_REVISION@Base 2.0.0
- curve25519_pub_to_ed25519_pub@Base 2.0.0
- ed25519_priv_sign@Base 2.0.0
- ed25519_pub_to_curve25519_pub@Base 2.0.0
- ed25519_seed_sign@Base 2.0.0
- ed25519_verify@Base 2.0.0
- priv_force_sign@Base 2.0.0
- priv_to_curve25519_pub@Base 2.0.0
- priv_to_ed25519_pub@Base 2.0.0
- seed_to_ed25519_pub@Base 2.0.0
- seed_to_priv@Base 2.0.0
- x25519@Base 2.0.0
- xeddsa_init@Base 2.0.0
diff -Nru libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2t64.install 
libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2t64.install
--- libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2t64.install   
1970-01-01 00:00:00.0 +
+++ libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2t64.install   
2022-11-23 23:27:13.0 +
@@ -0,0 +1 @@
+bin/dynamic/libxeddsa.so.* /usr/lib/${DEB_HOST_MULTIARCH}/
diff -Nru 
libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2t64.lintian-overrides 
libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2t64.lintian-overrides
--- libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2t64.lintian-overrides 
1970-01-01 00:00:00.0 +
+++ libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2t64.lintian-overrides 
2024-03-01 07:16:54.0 +
@@ -0,0 +1 @@
+libxeddsa2t64: package-name-doesnt-match-sonames libxeddsa2
diff -Nru libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2t64.symbols 
libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2t64.symbols
--- libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2t64.symbols   
1970-01-01 00:00:00.0 +
+++ libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2t64.symbols   
2024-03-01 07:16:54.0 +
@@ -0,0 +1,16 @@
+libxeddsa.so.2 libxeddsa2t64 #MINVER#
+ XEDDSA_VERSION_MAJOR@Base 2.0.0
+ 

Bug#1062732: libxeddsa: NMU diff for 64-bit time_t transition

2024-02-29 Thread Steve Langasek
Sorry, for some reason a number of bugs failed to have their patches
attached.  Please find the debdiff from the experimental upload attached
now.

On Fri, Feb 02, 2024 at 11:00:35PM +, Steve Langasek wrote:
> Source: libxeddsa
> Version: 2.0.0+20221109.06a02c8-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
> libxeddsa 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 libxeddsa
> 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)
> 

-- 
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 libxeddsa-2.0.0+20221109.06a02c8/debian/changelog 
libxeddsa-2.0.0+20221109.06a02c8/debian/changelog
--- libxeddsa-2.0.0+20221109.06a02c8/debian/changelog   2022-12-04 
07:12:13.0 +
+++ libxeddsa-2.0.0+20221109.06a02c8/debian/changelog   2024-02-02 
19:45:24.0 +
@@ -1,3 +1,10 @@
+libxeddsa (2.0.0+20221109.06a02c8-2.1~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Fri, 02 Feb 2024 19:45:24 +
+
 libxeddsa (2.0.0+20221109.06a02c8-2) unstable; urgency=medium
 
   * Use a map file
diff -Nru libxeddsa-2.0.0+20221109.06a02c8/debian/control 
libxeddsa-2.0.0+20221109.06a02c8/debian/control
--- libxeddsa-2.0.0+20221109.06a02c8/debian/control 2022-11-24 
02:13:51.0 +
+++ libxeddsa-2.0.0+20221109.06a02c8/debian/control 2024-02-02 
19:45:23.0 +
@@ -22,7 +22,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: libxeddsa2 (= ${binary:Version}),
+Depends: libxeddsa2t64 (= ${binary:Version}),
  ${misc:Depends},
 ${sphinxdoc:Depends},
 Pre-Depends: ${misc:Pre-Depends}
@@ -38,7 +38,10 @@
  .
  This package contains the development files.
 
-Package: libxeddsa2
+Package: libxeddsa2t64
+Provides: ${t64:Provides}
+Replaces: libxeddsa2
+Breaks: libxeddsa2 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
diff -Nru libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.install 
libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.install
--- libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.install  2022-11-23 
23:27:13.0 +
+++ libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.install  1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-bin/dynamic/libxeddsa.so.* /usr/lib/${DEB_HOST_MULTIARCH}/
diff -Nru libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.symbols 
libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.symbols
--- libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.symbols  2022-12-04 
07:12:13.0 +
+++ libxeddsa-2.0.0+20221109.06a02c8/debian/libxeddsa2.symbols  1970-01-01 

Bug#1062732: libxeddsa: NMU diff for 64-bit time_t transition

2024-02-02 Thread Steve Langasek
Source: libxeddsa
Version: 2.0.0+20221109.06a02c8-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
libxeddsa 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 libxeddsa
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)