Source: gsound
Version: 1.0.3-2
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

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
gsound 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 gsound
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'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-15-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: 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: unable to detect
diff -Nru gsound-1.0.3/debian/changelog gsound-1.0.3/debian/changelog
--- gsound-1.0.3/debian/changelog       2021-08-22 21:12:56.000000000 +0000
+++ gsound-1.0.3/debian/changelog       2024-01-31 15:38:03.000000000 +0000
@@ -1,3 +1,10 @@
+gsound (1.0.3-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs <gin...@debian.org>  Wed, 31 Jan 2024 15:38:03 +0000
+
 gsound (1.0.3-2) unstable; urgency=medium
 
   * Have libgsound-dev depend on libcanberra-dev & libglib2.0-dev
diff -Nru gsound-1.0.3/debian/control gsound-1.0.3/debian/control
--- gsound-1.0.3/debian/control 2021-08-22 21:12:56.000000000 +0000
+++ gsound-1.0.3/debian/control 2024-01-31 15:38:03.000000000 +0000
@@ -6,7 +6,7 @@
 Section: gnome
 Priority: optional
 Maintainer: Debian GNOME Maintainers 
<pkg-gnome-maintain...@lists.alioth.debian.org>
-Uploaders: Jeremy Bicha <jbi...@debian.org>, Laurent Bigonville 
<bi...@debian.org>, Michael Biebl <bi...@debian.org>
+Uploaders: Laurent Bigonville <bi...@debian.org>, Michael Biebl 
<bi...@debian.org>
 Build-Depends: debhelper-compat (= 13),
                dh-sequence-gir,
                dh-sequence-gnome,
@@ -35,7 +35,10 @@
  .
  This package contains tools for use with GSound.
 
-Package: libgsound0
+Package: libgsound0t64
+Provides: ${t64:Provides}
+Replaces: libgsound0
+Breaks: libgsound0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -54,7 +57,7 @@
 Depends: gir1.2-gsound-1.0 (= ${binary:Version}),
          libcanberra-dev,
          libglib2.0-dev,
-         libgsound0 (= ${binary:Version}),
+         libgsound0t64 (= ${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: small library for playing system sounds (devel)
diff -Nru gsound-1.0.3/debian/control.in gsound-1.0.3/debian/control.in
--- gsound-1.0.3/debian/control.in      2021-08-22 21:12:56.000000000 +0000
+++ gsound-1.0.3/debian/control.in      2024-01-31 15:38:03.000000000 +0000
@@ -31,7 +31,10 @@
  .
  This package contains tools for use with GSound.
 
-Package: libgsound0
+Package: libgsound0t64
+Provides: ${t64:Provides}
+Replaces: libgsound0
+Breaks: libgsound0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -50,7 +53,7 @@
 Depends: gir1.2-gsound-1.0 (= ${binary:Version}),
          libcanberra-dev,
          libglib2.0-dev,
-         libgsound0 (= ${binary:Version}),
+         libgsound0t64 (= ${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: small library for playing system sounds (devel)
diff -Nru gsound-1.0.3/debian/libgsound0.install 
gsound-1.0.3/debian/libgsound0.install
--- gsound-1.0.3/debian/libgsound0.install      2021-08-22 21:12:56.000000000 
+0000
+++ gsound-1.0.3/debian/libgsound0.install      1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*/libgsound.so.0*
diff -Nru gsound-1.0.3/debian/libgsound0.symbols 
gsound-1.0.3/debian/libgsound0.symbols
--- gsound-1.0.3/debian/libgsound0.symbols      2021-08-22 21:12:56.000000000 
+0000
+++ gsound-1.0.3/debian/libgsound0.symbols      1970-01-01 00:00:00.000000000 
+0000
@@ -1,16 +0,0 @@
-libgsound.so.0 libgsound0 #MINVER#
-* Build-Depends-Package: libgsound-dev
- gsound_context_cache@Base 1.0.1
- gsound_context_cachev@Base 1.0.1
- gsound_context_get_type@Base 1.0.1
- gsound_context_new@Base 1.0.1
- gsound_context_open@Base 1.0.1
- gsound_context_play_full@Base 1.0.1
- gsound_context_play_full_finish@Base 1.0.1
- gsound_context_play_fullv@Base 1.0.1
- gsound_context_play_simple@Base 1.0.1
- gsound_context_play_simplev@Base 1.0.1
- gsound_context_set_attributes@Base 1.0.1
- gsound_context_set_attributesv@Base 1.0.1
- gsound_context_set_driver@Base 1.0.1
- gsound_error_quark@Base 1.0.1
diff -Nru gsound-1.0.3/debian/libgsound0t64.install 
gsound-1.0.3/debian/libgsound0t64.install
--- gsound-1.0.3/debian/libgsound0t64.install   1970-01-01 00:00:00.000000000 
+0000
+++ gsound-1.0.3/debian/libgsound0t64.install   2021-08-22 21:12:56.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*/libgsound.so.0*
diff -Nru gsound-1.0.3/debian/libgsound0t64.lintian-overrides 
gsound-1.0.3/debian/libgsound0t64.lintian-overrides
--- gsound-1.0.3/debian/libgsound0t64.lintian-overrides 1970-01-01 
00:00:00.000000000 +0000
+++ gsound-1.0.3/debian/libgsound0t64.lintian-overrides 2024-01-31 
15:38:03.000000000 +0000
@@ -0,0 +1 @@
+libgsound0t64: package-name-doesnt-match-sonames libgsound0
diff -Nru gsound-1.0.3/debian/libgsound0t64.symbols 
gsound-1.0.3/debian/libgsound0t64.symbols
--- gsound-1.0.3/debian/libgsound0t64.symbols   1970-01-01 00:00:00.000000000 
+0000
+++ gsound-1.0.3/debian/libgsound0t64.symbols   2024-01-31 15:38:03.000000000 
+0000
@@ -0,0 +1,16 @@
+libgsound.so.0 libgsound0t64 #MINVER#
+* Build-Depends-Package: libgsound-dev
+ gsound_context_cache@Base 1.0.1
+ gsound_context_cachev@Base 1.0.1
+ gsound_context_get_type@Base 1.0.1
+ gsound_context_new@Base 1.0.1
+ gsound_context_open@Base 1.0.1
+ gsound_context_play_full@Base 1.0.1
+ gsound_context_play_full_finish@Base 1.0.1
+ gsound_context_play_fullv@Base 1.0.1
+ gsound_context_play_simple@Base 1.0.1
+ gsound_context_play_simplev@Base 1.0.1
+ gsound_context_set_attributes@Base 1.0.1
+ gsound_context_set_attributesv@Base 1.0.1
+ gsound_context_set_driver@Base 1.0.1
+ gsound_error_quark@Base 1.0.1

Reply via email to