Bug#1064323: sphinxbase: NMU diff for 64-bit time_t transition

2024-02-29 Thread Benjamin Drung
Source: sphinxbase
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 sphinxbase-0.8+5prealpha+1/debian/changelog 
sphinxbase-0.8+5prealpha+1/debian/changelog
--- sphinxbase-0.8+5prealpha+1/debian/changelog 2023-02-25 18:13:43.0 
+
+++ sphinxbase-0.8+5prealpha+1/debian/changelog 2024-02-29 17:16:35.0 
+
@@ -1,3 +1,10 @@
+sphinxbase (0.8+5prealpha+1-16.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1064323
+
+ -- Benjamin Drung   Thu, 29 Feb 2024 17:16:35 +
+
 sphinxbase (0.8+5prealpha+1-16) unstable; urgency=medium
 
   * control: Drop ltrace dependency on mipsel (Closes: Bug#1031942)
diff -Nru sphinxbase-0.8+5prealpha+1/debian/control 
sphinxbase-0.8+5prealpha+1/debian/control
--- sphinxbase-0.8+5prealpha+1/debian/control   2023-02-25 18:13:05.0 
+
+++ sphinxbase-0.8+5prealpha+1/debian/control   2024-02-29 17:16:35.0 
+
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Debian Accessibility Team 
 Uploaders: Samuel Thibault 
-Build-Depends: debhelper-compat (= 12), bison, pkg-config,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 12), bison, 
pkg-config,
  libpulse-dev, libblas-dev, liblapack-dev,
  doxygen, python3-all-dev:any, libpython3-all-dev, dh-sequence-python3,
  swig, libjs-jquery,
@@ -30,7 +30,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libsphinxbase3 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}, libpulse-dev
+Depends: libsphinxbase3t64 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}, libpulse-dev
 Description: Speech recognition tool - development files
  CMU Sphinx is a large vocabulary, speaker-independent continuous speech
  recognition engine.
@@ -48,7 +48,10 @@
  .
  This package contains tools to manipulate Sphinx files.
 
-Package: libsphinxbase3
+Package: libsphinxbase3t64
+Provides: ${t64:Provides}
+Replaces: libsphinxbase3
+Breaks: libsphinxbase3 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.install 
sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.install
--- sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.install2019-08-29 
08:07:43.0 +
+++ sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.install1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.symbols 
sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.symbols
--- sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.symbols2019-08-29 
08:07:43.0 +
+++ sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.symbols1970-01-01 
00:00:00.0 +
@@ -1,542 +0,0 @@
-libsphinxad.so.3 libsphinxbase3 #MINVER#
- ad_close@Base 0.8+5prealpha
- ad_open@Base 0.8+5prealpha
- ad_open_dev@Base 0.8+5prealpha
- ad_open_sps@Base 0.8+5prealpha
- ad_read@Base 0.8+5prealpha
- ad_start_rec@Base 0.8+5prealpha
- ad_stop_rec@Base 0.8+5prealpha
-libsphinxbase.so.3 libsphinxbase3 #MINVER#
- __ckd_alloc_2d_ptr@Base 0.8+5prealpha
- __ckd_alloc_3d_ptr@Base 0.8+5prealpha
- __ckd_calloc_2d__@Base 0.8+5prealpha
- __ckd_calloc_3d__@Base 0.8+5prealpha
- __ckd_calloc_4d__@Base 0.8+5prealpha
- __ckd_calloc__@Base 0.8+5prealpha
- __ckd_malloc__@Base 0.8+5prealpha
- __ckd_realloc__@Base 0.8+5prealpha
- __ckd_salloc__@Base 0.8+5prealpha
- __listelem_free__@Base 0.8+5prealpha
- __listelem_malloc__@Base 0.8+5prealpha
- __listelem_malloc_id__@Base 0.8+5prealpha
- accum_3d@Base 0.8+5prealpha
- agc_emax@Base 0.8+5prealpha
- agc_emax_get@Base 0.8+5prealpha
- agc_emax_set@Base 0.8+5prealpha
- agc_emax_update@Base 0.8+5prealpha
- agc_free@Base 0.8+5prealpha
- agc_get_threshold@Base 0.8+5prealpha
- agc_init@Base 0.8+5prealpha
- agc_max@Base 0.8+5prealpha
- agc_noise@Base 0.8+5prealpha
- agc_set_threshold@Base 0.8+5prealpha
- agc_type_from_str@Base 0.8+5prealpha
- agc_type_str@Base 0.8+5prealpha
- atof_c@Base 0.8+5prealpha
- band_nz_1d@Base 0.8+5prealpha
- bio_fread@Base 0.8+5prealpha
- bio_fread_1d@Base 0.8+5prealpha
- bio_fread_2d@Base 0.8+5prealpha
- bio_fread_3d@Base 0.8+5prealpha
- bio_fwrite@Base 0.8+5prealpha
- bio_fwrite_1d@Base 0.8+5prealpha
- bio_fwrite_3d@Base 0.8+5prealpha
- bio_hdrarg_free@Base 0.8+5prealpha
- bio_read_wavfile@Base 

Bug#1064323: sphinxbase: NMU diff for 64-bit time_t transition

2024-02-19 Thread Steve Langasek
Source: sphinxbase
Version: 0.8+5prealpha+1-16
Severity: important
Tags: patch pending sid trixie
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
sphinxbase 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 sphinxbase
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 sphinxbase-0.8+5prealpha+1/debian/changelog 
sphinxbase-0.8+5prealpha+1/debian/changelog
--- sphinxbase-0.8+5prealpha+1/debian/changelog 2023-02-25 18:13:43.0 
+
+++ sphinxbase-0.8+5prealpha+1/debian/changelog 2024-02-19 22:57:36.0 
+
@@ -1,3 +1,10 @@
+sphinxbase (0.8+5prealpha+1-16.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Mon, 19 Feb 2024 22:57:36 +
+
 sphinxbase (0.8+5prealpha+1-16) unstable; urgency=medium
 
   * control: Drop ltrace dependency on mipsel (Closes: Bug#1031942)
diff -Nru sphinxbase-0.8+5prealpha+1/debian/control 
sphinxbase-0.8+5prealpha+1/debian/control
--- sphinxbase-0.8+5prealpha+1/debian/control   2023-02-25 18:13:05.0 
+
+++ sphinxbase-0.8+5prealpha+1/debian/control   2024-02-19 22:57:36.0 
+
@@ -30,7 +30,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libsphinxbase3 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}, libpulse-dev
+Depends: libsphinxbase3t64 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}, libpulse-dev
 Description: Speech recognition tool - development files
  CMU Sphinx is a large vocabulary, speaker-independent continuous speech
  recognition engine.
@@ -48,7 +48,10 @@
  .
  This package contains tools to manipulate Sphinx files.
 
-Package: libsphinxbase3
+Package: libsphinxbase3t64
+Provides: ${t64:Provides}
+Replaces: libsphinxbase3
+Breaks: libsphinxbase3 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.install 
sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.install
--- sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.install2019-08-29 
08:07:43.0 +
+++ sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.install1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.symbols 
sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.symbols
--- sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.symbols2019-08-29 
08:07:43.0 +
+++ sphinxbase-0.8+5prealpha+1/debian/libsphinxbase3.symbols1970-01-01 
00:00:00.0 +
@@ -1,542 +0,0 @@
-libsphinxad.so.3 libsphinxbase3 #MINVER#
- ad_close@Base 0.8+5prealpha
- ad_open@Base 0.8+5prealpha
- ad_open_dev@Base 0.8+5prealpha
- ad_open_sps@Base 0.8+5prealpha
- ad_read@Base 0.8+5prealpha
- ad_start_rec@Base 0.8+5prealpha
- ad_stop_rec@Base 0.8+5prealpha
-libsphinxbase.so.3 libsphinxbase3 #MINVER#
- __ckd_alloc_2d_ptr@Base 0.8+5prealpha
- __ckd_alloc_3d_ptr@Base 0.8+5prealpha
- __ckd_calloc_2d__@Base 0.8+5prealpha
- __ckd_calloc_3d__@Base 0.8+5prealpha
- __ckd_calloc_4d__@Base 0.8+5prealpha
- __ckd_calloc__@Base 0.8+5prealpha
- __ckd_malloc__@Base 0.8+5prealpha
- __ckd_realloc__@Base