Bug#1063887: wvstreams: 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 wvstreams-4.6.1/debian/changelog wvstreams-4.6.1/debian/changelog
--- wvstreams-4.6.1/debian/changelog2024-02-03 22:43:16.0 +
+++ wvstreams-4.6.1/debian/changelog2024-02-29 05:52:13.0 +
@@ -1,3 +1,10 @@
+wvstreams (4.6.1-17.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063887
+
+ -- Steve Langasek   Thu, 29 Feb 2024 05:52:13 +
+
 wvstreams (4.6.1-17) unstable; urgency=medium
 
   * QA upload.
diff -Nru wvstreams-4.6.1/debian/control wvstreams-4.6.1/debian/control
--- wvstreams-4.6.1/debian/control  2024-02-03 22:42:59.0 +
+++ wvstreams-4.6.1/debian/control  2024-02-29 05:52:13.0 +
@@ -2,7 +2,7 @@
 Maintainer: Debian QA Group 
 Section: libs
 Priority: optional
-Build-Depends: debhelper-compat (= 10),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 10),
autoconf,
autotools-dev,
libdb-dev,
@@ -17,7 +17,11 @@
 Standards-Version: 3.9.8
 Homepage: https://github.com/apenwarr/wvstreams/
 
-Package: libwvstreams4.6-base
+Package: libwvstreams4.6t64-base
+Provides: ${t64:Provides}
+X-Time64-Compat: libwvstreams4.6-base
+Replaces: libwvstreams4.6-base
+Breaks: libwvstreams4.6-base (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends},
  ${misc:Depends}
@@ -32,7 +36,11 @@
   * WvLog: a log files handler 
   * UniIniGen: a tiny version of UniConf for simple configuration systems
 
-Package: libwvstreams4.6-extras
+Package: libwvstreams4.6t64-extras
+Provides: ${t64:Provides}
+X-Time64-Compat: libwvstreams4.6-extras
+Replaces: libwvstreams4.6-extras
+Breaks: libwvstreams4.6-extras (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends},
  ${misc:Depends}
@@ -46,7 +54,10 @@
  WvDial, TunnelVision, FastForward, KWvDial, retchmail, and many more yet 
  to come.  ;) 
 
-Package: libuniconf4.6
+Package: libuniconf4.6t64
+Provides: ${t64:Provides}
+Replaces: libuniconf4.6
+Breaks: libuniconf4.6 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends},
  ${misc:Depends}
@@ -75,9 +86,9 @@
 Package: libwvstreams-dev
 Architecture: any
 Section: libdevel
-Depends: libwvstreams4.6-base (= ${binary:Version}),
- libwvstreams4.6-extras (= ${binary:Version}),
- libuniconf4.6 (= ${binary:Version}),
+Depends: libwvstreams4.6t64-base (= ${binary:Version}),
+ libwvstreams4.6t64-extras (= ${binary:Version}),
+ libuniconf4.6t64 (= ${binary:Version}),
  libxplc0.3.13-dev,
  ${misc:Depends}
 Suggests: tk8.5 | wish
diff -Nru wvstreams-4.6.1/debian/libuniconf4.6.install 
wvstreams-4.6.1/debian/libuniconf4.6.install
--- wvstreams-4.6.1/debian/libuniconf4.6.install2011-05-19 
22:00:22.0 +
+++ wvstreams-4.6.1/debian/libuniconf4.6.install1970-01-01 
00:00:00.0 +
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/libuniconf.so*
-debian/tmp/etc/uniconf.conf
diff -Nru wvstreams-4.6.1/debian/libuniconf4.6t64.install 
wvstreams-4.6.1/debian/libuniconf4.6t64.install
--- wvstreams-4.6.1/debian/libuniconf4.6t64.install 1970-01-01 
00:00:00.0 +
+++ wvstreams-4.6.1/debian/libuniconf4.6t64.install 2011-05-19 
22:00:22.0 +
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/libuniconf.so*
+debian/tmp/etc/uniconf.conf
diff -Nru wvstreams-4.6.1/debian/libuniconf4.6t64.lintian-overrides 
wvstreams-4.6.1/debian/libuniconf4.6t64.lintian-overrides
--- wvstreams-4.6.1/debian/libuniconf4.6t64.lintian-overrides   1970-01-01 
00:00:00.0 +
+++ wvstreams-4.6.1/debian/libuniconf4.6t64.lintian-overrides   2024-02-29 
05:49:01.0 +
@@ -0,0 +1 @@
+libuniconf4.6t64: package-name-doesnt-match-sonames libuniconf4.6
diff -Nru wvstreams-4.6.1/debian/libwvstreams4.6-base.dirs 
wvstreams-4.6.1/debian/libwvstreams4.6-base.dirs
--- wvstreams-4.6.1/debian/libwvstreams4.6-base.dirs2011-05-19 
22:00:22.0 +
+++ wvstreams-4.6.1/debian/libwvstreams4.6-base.dirs1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/share/lintian/overrides
diff -Nru wvstreams-4.6.1/debian/libwvstreams4.6-base.install 
wvstreams-4.6.1/debian/libwvstreams4.6-base.install
--- wvstreams-4.6.1/debian/libwvstreams4.6-base.inst

Bug#1063887: wvstreams: NMU diff for 64-bit time_t transition

2024-02-13 Thread Steve Langasek
Source: wvstreams
Version: 4.6.1-17
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
wvstreams 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 wvstreams
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)
diff -Nru wvstreams-4.6.1/debian/changelog wvstreams-4.6.1/debian/changelog
--- wvstreams-4.6.1/debian/changelog2024-02-03 22:43:16.0 +
+++ wvstreams-4.6.1/debian/changelog2024-02-14 05:51:04.0 +
@@ -1,3 +1,13 @@
+wvstreams (4.6.1-17.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * Use dh_lintian instead of bespoke debian/rules code to install files;
+their contents are superseedd by the t64 lintian overrides and also
+didn't use the debhelper-standard names for these files
+
+ -- Steve Langasek   Wed, 14 Feb 2024 05:51:04 +
+
 wvstreams (4.6.1-17) unstable; urgency=medium
 
   * QA upload.
diff -Nru wvstreams-4.6.1/debian/control wvstreams-4.6.1/debian/control
--- wvstreams-4.6.1/debian/control  2024-02-03 22:42:59.0 +
+++ wvstreams-4.6.1/debian/control  2024-02-14 05:51:04.0 +
@@ -17,7 +17,11 @@
 Standards-Version: 3.9.8
 Homepage: https://github.com/apenwarr/wvstreams/
 
-Package: libwvstreams4.6-base
+Package: libwvstreams4.6t64-base
+Provides: ${t64:Provides}
+X-Time64-Compat: libwvstreams4.6-base
+Replaces: libwvstreams4.6-base
+Breaks: libwvstreams4.6-base (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends},
  ${misc:Depends}
@@ -32,7 +36,11 @@
   * WvLog: a log files handler 
   * UniIniGen: a tiny version of UniConf for simple configuration systems
 
-Package: libwvstreams4.6-extras
+Package: libwvstreams4.6t64-extras
+Provides: ${t64:Provides}
+X-Time64-Compat: libwvstreams4.6-extras
+Replaces: libwvstreams4.6-extras
+Breaks: libwvstreams4.6-extras (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends},
  ${misc:Depends}
@@ -46,7 +54,10 @@
  WvDial, TunnelVision, FastForward, KWvDial, retchmail, and many more yet 
  to come.  ;) 
 
-Package: libuniconf4.6
+Package: libuniconf4.6t64
+Provides: ${t64:Provides}
+Replaces: libuniconf4.6
+Breaks: libuniconf4.6 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends},
  ${misc:Depends}
@@ -75,9 +86,9 @@
 Package: libwvstreams-dev
 Architecture: any
 Section: libdevel
-Depends: libwvstreams4.6-base (= ${binary:Version}),
- libwvstreams4.6-extras (= ${binary:Version}),
- libuniconf4.6 (= ${binary:Version}),
+Depends: libwvstreams4.6t64-base (= ${binary:Version}),
+ libwvstreams4.6t64-extras (= ${binary:Version}),
+ libuniconf4.6t64 (= ${binary:Version}),
  libxplc0.3.13-dev,
  ${misc:Depends}
 Suggests: tk8.5 | wish
diff -Nru wvstreams-4.6.1/debian/libuniconf4.6.install 
wvstreams-4.6.1/debian/libuniconf4.6.install
--- wvstreams-4.6.1/debian/libuniconf4.6.install2011-05-19 
22:00:22.0 +
+++ wvstreams-4.6.1/debian/libuniconf4.6.install