Bug#1062933: svox: NMU diff for 64-bit time_t transition

2024-02-29 Thread Benjamin Drung
Source: svox
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 svox-1.0+git20130326/debian/changelog 
svox-1.0+git20130326/debian/changelog
--- svox-1.0+git20130326/debian/changelog   2023-12-26 00:24:42.0 
+
+++ svox-1.0+git20130326/debian/changelog   2024-02-29 17:48:34.0 
+
@@ -1,3 +1,10 @@
+svox (1.0+git20130326-14.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062933
+
+ -- Benjamin Drung   Thu, 29 Feb 2024 17:48:34 +
+
 svox (1.0+git20130326-14) unstable; urgency=medium
 
   [ Samuel Thibault ]
diff -Nru svox-1.0+git20130326/debian/control 
svox-1.0+git20130326/debian/control
--- svox-1.0+git20130326/debian/control 2023-09-12 20:11:52.0 +
+++ svox-1.0+git20130326/debian/control 2024-02-29 17:48:34.0 +
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Debian Accessibility Team 
 Uploaders: Samuel Thibault 
-Build-Depends: debhelper-compat (= 13), automake, autoconf, libtool, help2man, 
libpopt-dev, libpopt-dev:native
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), automake, 
autoconf, libtool, help2man, libpopt-dev, libpopt-dev:native
 Rules-Requires-Root: no
 Standards-Version: 4.6.1
 Section: non-free/sound
@@ -15,7 +15,7 @@
 Section: non-free/libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libttspico0 (= ${binary:Version}), ${misc:Depends}
+Depends: libttspico0t64 (= ${binary:Version}), ${misc:Depends}
 Description: Small Footprint TTS (development files)
  The SVOX Pico engine is a software speech synthesizer for German, English (GB
  and US), Spanish, French and Italian.
@@ -29,7 +29,7 @@
 Architecture: all
 Multi-Arch: foreign
 Depends: ${misc:Depends}
-Recommends: libttspico0
+Recommends: libttspico0t64
 Description: Small Footprint TTS (lingware)
  The SVOX Pico engine is a software speech synthesizer for German, English (GB
  and US), Spanish, French and Italian.
@@ -39,7 +39,10 @@
  .
  This package contains the language files (lingware).
 
-Package: libttspico0
+Package: libttspico0t64
+Provides: ${t64:Provides}
+Replaces: libttspico0
+Breaks: libttspico0 (<< ${source:Version})
 Section: non-free/libs
 Architecture: any
 Multi-Arch: same
diff -Nru svox-1.0+git20130326/debian/libttspico0.dirs 
svox-1.0+git20130326/debian/libttspico0.dirs
--- svox-1.0+git20130326/debian/libttspico0.dirs2022-09-21 
22:41:44.0 +
+++ svox-1.0+git20130326/debian/libttspico0.dirs1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib
diff -Nru svox-1.0+git20130326/debian/libttspico0.docs 
svox-1.0+git20130326/debian/libttspico0.docs
--- svox-1.0+git20130326/debian/libttspico0.docs2022-09-21 
22:41:44.0 +
+++ svox-1.0+git20130326/debian/libttspico0.docs1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-pico/lib/NOTICE
diff -Nru svox-1.0+git20130326/debian/libttspico0.install 
svox-1.0+git20130326/debian/libttspico0.install
--- svox-1.0+git20130326/debian/libttspico0.install 2022-09-21 
22:41:44.0 +
+++ svox-1.0+git20130326/debian/libttspico0.install 1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru svox-1.0+git20130326/debian/libttspico0.symbols 
svox-1.0+git20130326/debian/libttspico0.symbols
--- svox-1.0+git20130326/debian/libttspico0.symbols 2022-09-21 
22:41:44.0 +
+++ svox-1.0+git20130326/debian/libttspico0.symbols 1970-01-01 
00:00:00.0 +
@@ -1,379 +0,0 @@
-libttspico.so.0 libttspico0 #MINVER#
- bitrv208neg@Base 1.0
- bitrv216neg@Base 1.0
- bitrv2conj@Base 1.0
- cftb040@Base 1.0
- cftb1st@Base 1.0
- dfct_nmf@Base 1.0
- env_spec@Base 1.0
- getMemUsage@Base 1.0
- impulse_response@Base 1.0
- is_valid_itemtype@Base 1.0
- is_valid_system_handle@Base 1.0
- mel_2_lin_init@Base 1.0
- mel_2_lin_lookup@Base 1.0
- norm_result@Base 1.0
- overlap_add@Base 1.0
- phase_spec2@Base 1.0
- pico_addResourceToVoiceDefinition@Base 1.0
- pico_createVoiceDefinition@Base 1.0
- pico_disposeEngine@Base 1.0
- pico_getData@Base 1.0
- pico_getEngineStatusMessage@Base 1.0
- pico_getEngineWarning@Base 1.0
- pico_getNrEngineWarnings@Base 1.0
- pico_getNrSystemWarnings@Base 1.0
- pico_getResourceName@Base 1.0
- pico_getSystemStatusMessage@Base 1.0
- pico_getSystemWarning@Base 1.0
- 

Bug#1062933: svox: NMU diff for 64-bit time_t transition

2024-02-03 Thread Steve Langasek
Source: svox
Version: 1.0+git20130326-14
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
svox 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 svox
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 svox-1.0+git20130326/debian/changelog 
svox-1.0+git20130326/debian/changelog
--- svox-1.0+git20130326/debian/changelog   2023-12-26 00:24:42.0 
+
+++ svox-1.0+git20130326/debian/changelog   2024-02-04 02:22:35.0 
+
@@ -1,3 +1,10 @@
+svox (1.0+git20130326-14.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Sun, 04 Feb 2024 02:22:35 +
+
 svox (1.0+git20130326-14) unstable; urgency=medium
 
   [ Samuel Thibault ]
diff -Nru svox-1.0+git20130326/debian/control 
svox-1.0+git20130326/debian/control
--- svox-1.0+git20130326/debian/control 2023-09-12 20:11:52.0 +
+++ svox-1.0+git20130326/debian/control 2024-02-04 02:22:35.0 +
@@ -15,7 +15,7 @@
 Section: non-free/libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libttspico0 (= ${binary:Version}), ${misc:Depends}
+Depends: libttspico0t64 (= ${binary:Version}), ${misc:Depends}
 Description: Small Footprint TTS (development files)
  The SVOX Pico engine is a software speech synthesizer for German, English (GB
  and US), Spanish, French and Italian.
@@ -29,7 +29,7 @@
 Architecture: all
 Multi-Arch: foreign
 Depends: ${misc:Depends}
-Recommends: libttspico0
+Recommends: libttspico0t64
 Description: Small Footprint TTS (lingware)
  The SVOX Pico engine is a software speech synthesizer for German, English (GB
  and US), Spanish, French and Italian.
@@ -39,7 +39,10 @@
  .
  This package contains the language files (lingware).
 
-Package: libttspico0
+Package: libttspico0t64
+Provides: ${t64:Provides}
+Replaces: libttspico0
+Breaks: libttspico0 (<< ${source:Version})
 Section: non-free/libs
 Architecture: any
 Multi-Arch: same
diff -Nru svox-1.0+git20130326/debian/libttspico0.dirs 
svox-1.0+git20130326/debian/libttspico0.dirs
--- svox-1.0+git20130326/debian/libttspico0.dirs2022-09-21 
22:41:44.0 +
+++ svox-1.0+git20130326/debian/libttspico0.dirs1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib
diff -Nru svox-1.0+git20130326/debian/libttspico0.docs 
svox-1.0+git20130326/debian/libttspico0.docs
--- svox-1.0+git20130326/debian/libttspico0.docs2022-09-21 
22:41:44.0 +
+++ svox-1.0+git20130326/debian/libttspico0.docs1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-pico/lib/NOTICE
diff -Nru svox-1.0+git20130326/debian/libttspico0.install 
svox-1.0+git20130326/debian/libttspico0.install
--- svox-1.0+git20130326/debian/libttspico0.install 2022-09-21 
22:41:44.0 +
+++ svox-1.0+git20130326/debian/libttspico0.install 1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru svox-1.0+git20130326/debian/libttspico0.symbols 
svox-1.0+git20130326/debian/libttspico0.symbols
--- svox-1.0+git20130326/debian/libttspico0.symbols 2022-09-21