Bug#1063052: volk: NMU diff for 64-bit time_t transition

2024-02-28 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'), (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)
diff -Nru volk-3.1.2/debian/changelog volk-3.1.2/debian/changelog
--- volk-3.1.2/debian/changelog 2024-02-25 13:51:33.0 +
+++ volk-3.1.2/debian/changelog 2024-02-28 23:20:12.0 +
@@ -1,3 +1,10 @@
+volk (3.1.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063052
+
+ -- Steve Langasek   Wed, 28 Feb 2024 23:20:12 +
+
 volk (3.1.2-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru volk-3.1.2/debian/control volk-3.1.2/debian/control
--- volk-3.1.2/debian/control   2024-02-25 13:51:33.0 +
+++ volk-3.1.2/debian/control   2024-02-28 23:20:11.0 +
@@ -2,7 +2,7 @@
 Section: libdevel
 Priority: optional
 Maintainer: A. Maitland Bottoms 
-Build-Depends: cmake,
+Build-Depends: dpkg-dev (>= 1.22.5), cmake,
debhelper-compat (= 13),
dh-python,
libcpu-features-dev [amd64 arm64 armel armhf i386 mips64el 
ppc64 ppc64el riscv64 s390x powerpc x32],
@@ -16,7 +16,10 @@
 Vcs-Browser: https://salsa.debian.org/bottoms/pkg-volk
 Vcs-Git: https://salsa.debian.org/bottoms/pkg-volk.git
 
-Package: libvolk3.1
+Package: libvolk3.1t64
+Provides: ${t64:Provides}
+Replaces: libvolk3.1
+Breaks: libvolk3.1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
@@ -33,7 +36,7 @@
 Package: libvolk-dev
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libvolk3.1 (=${binary:Version}), ${misc:Depends}
+Depends: libvolk3.1t64 (=${binary:Version}), ${misc:Depends}
 Breaks: libvolk1-dev, libvolk1.0-dev, libvolk2-dev
 Replaces: libvolk1-dev, libvolk1.0-dev, libvolk2-dev
 Suggests: libvolk-doc
@@ -51,7 +54,7 @@
 Section: libs
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libvolk3.1 (=${binary:Version}),
+Depends: libvolk3.1t64 (=${binary:Version}),
  ${misc:Depends},
  ${python3:Depends},
  ${shlibs:Depends}
diff -Nru volk-3.1.2/debian/libvolk3.1.install 
volk-3.1.2/debian/libvolk3.1.install
--- volk-3.1.2/debian/libvolk3.1.install2018-03-28 02:59:46.0 
+
+++ volk-3.1.2/debian/libvolk3.1.install1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/libvolk.so.*
diff -Nru volk-3.1.2/debian/libvolk3.1t64.install 
volk-3.1.2/debian/libvolk3.1t64.install
--- volk-3.1.2/debian/libvolk3.1t64.install 1970-01-01 00:00:00.0 
+
+++ volk-3.1.2/debian/libvolk3.1t64.install 2018-03-28 02:59:46.0 
+
@@ -0,0 +1 @@
+usr/lib/*/libvolk.so.*
diff -Nru volk-3.1.2/debian/libvolk3.1t64.lintian-overrides 
volk-3.1.2/debian/libvolk3.1t64.lintian-overrides
--- volk-3.1.2/debian/libvolk3.1t64.lintian-overrides   1970-01-01 
00:00:00.0 +
+++ volk-3.1.2/debian/libvolk3.1t64.lintian-overrides   2024-02-28 
23:19:50.0 +
@@ -0,0 +1 @@
+libvolk3.1t64: package-name-doesnt-match-sonames libvolk3.1


Bug#1063052: volk: NMU diff for 64-bit time_t transition

2024-02-04 Thread Steve Langasek
Source: volk
Version: 3.1.1-4
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
volk 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 volk
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 volk-3.1.1/debian/changelog volk-3.1.1/debian/changelog
--- volk-3.1.1/debian/changelog 2024-01-31 00:00:06.0 +
+++ volk-3.1.1/debian/changelog 2024-02-04 18:28:07.0 +
@@ -1,3 +1,10 @@
+volk (3.1.1-4.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Sun, 04 Feb 2024 18:28:07 +
+
 volk (3.1.1-4) unstable; urgency=medium
 
   * fix clean rule to keep sse2neon.h in place
diff -Nru volk-3.1.1/debian/control volk-3.1.1/debian/control
--- volk-3.1.1/debian/control   2024-01-30 06:02:57.0 +
+++ volk-3.1.1/debian/control   2024-02-04 18:28:07.0 +
@@ -16,7 +16,10 @@
 Vcs-Browser: https://salsa.debian.org/bottoms/pkg-volk
 Vcs-Git: https://salsa.debian.org/bottoms/pkg-volk.git
 
-Package: libvolk3.1
+Package: libvolk3.1t64
+Provides: ${t64:Provides}
+Replaces: libvolk3.1
+Breaks: libvolk3.1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
@@ -33,7 +36,7 @@
 Package: libvolk-dev
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libvolk3.1 (=${binary:Version}), ${misc:Depends}
+Depends: libvolk3.1t64 (=${binary:Version}), ${misc:Depends}
 Breaks: libvolk1-dev, libvolk1.0-dev, libvolk2-dev
 Replaces: libvolk1-dev, libvolk1.0-dev, libvolk2-dev
 Suggests: libvolk-doc
@@ -51,7 +54,7 @@
 Section: libs
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libvolk3.1 (=${binary:Version}),
+Depends: libvolk3.1t64 (=${binary:Version}),
  ${misc:Depends},
  ${python3:Depends},
  ${shlibs:Depends}
diff -Nru volk-3.1.1/debian/libvolk3.1.install 
volk-3.1.1/debian/libvolk3.1.install
--- volk-3.1.1/debian/libvolk3.1.install2018-03-28 02:59:46.0 
+
+++ volk-3.1.1/debian/libvolk3.1.install1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/libvolk.so.*
diff -Nru volk-3.1.1/debian/libvolk3.1t64.install 
volk-3.1.1/debian/libvolk3.1t64.install
--- volk-3.1.1/debian/libvolk3.1t64.install 1970-01-01 00:00:00.0 
+
+++ volk-3.1.1/debian/libvolk3.1t64.install 2018-03-28 02:59:46.0 
+
@@ -0,0 +1 @@
+usr/lib/*/libvolk.so.*
diff -Nru volk-3.1.1/debian/libvolk3.1t64.lintian-overrides 
volk-3.1.1/debian/libvolk3.1t64.lintian-overrides
--- volk-3.1.1/debian/libvolk3.1t64.lintian-overrides   1970-01-01 
00:00:00.0 +
+++ volk-3.1.1/debian/libvolk3.1t64.lintian-overrides   2024-02-04 
18:28:07.0 +
@@ -0,0 +1 @@
+libvolk3.1t64: package-name-doesnt-match-sonames libvolk3.1