Bug#1061925: audacious: NMU diff for 64-bit time_t transition

2024-01-31 Thread Steve Langasek
Source: audacious
Followup-For: Bug #1061925

Apologies, an oversight in the conversion script caused us to fail to
update strict versioned dependencies on the previous package name.
Please find attached a fixed patch.

This has also now been uploaded to experimental.
diff -Nru audacious-4.3.1/debian/changelog audacious-4.3.1/debian/changelog
--- audacious-4.3.1/debian/changelog2023-11-01 12:36:46.0 +
+++ audacious-4.3.1/debian/changelog2024-01-31 08:44:31.0 +
@@ -1,3 +1,11 @@
+audacious (4.3.1-2.1~exp2) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * Fix uninstallable packages from the previous upload.
+
+ -- Steve Langasek   Wed, 31 Jan 2024 08:44:31 +
+
 audacious (4.3.1-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru audacious-4.3.1/debian/control audacious-4.3.1/debian/control
--- audacious-4.3.1/debian/control  2023-11-01 12:14:21.0 +
+++ audacious-4.3.1/debian/control  2024-01-31 08:44:31.0 +
@@ -24,7 +24,7 @@
 Depends:
  audacious-plugins (>= ${source:Upstream-Version}),
  default-dbus-session-bus | dbus-session-bus | dbus-x11,
- libaudcore5 (= ${binary:Version}),
+ libaudcore5t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
 Recommends:
@@ -54,10 +54,10 @@
 Architecture: any
 Multi-Arch: same
 Depends:
- libaudcore5 (= ${binary:Version}),
- libaudgui5 (= ${binary:Version}),
- libaudtag3 (= ${binary:Version}),
- libaudqt2 (= ${binary:Version}),
+ libaudcore5t64 (= ${binary:Version}),
+ libaudgui5t64 (= ${binary:Version}),
+ libaudtag3t64 (= ${binary:Version}),
+ libaudqt2t64 (= ${binary:Version}),
  libglib2.0-dev,
  libgtk-3-dev,
  qt6-base-dev,
@@ -86,7 +86,10 @@
  Please note that this package no longer contains libaudacious, as
  libaudacious was dropped in Audacious 1.4.
 
-Package: libaudcore5
+Package: libaudcore5t64
+Provides: ${t64:Provides}
+Replaces: libaudcore5
+Breaks: libaudcore5 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -114,7 +117,10 @@
  This package contains a library which provides core functionality
  of Audacious.
 
-Package: libaudgui5
+Package: libaudgui5t64
+Provides: ${t64:Provides}
+Replaces: libaudgui5
+Breaks: libaudgui5 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -141,7 +147,10 @@
  .
  This package provides the libaudgui shared library.
 
-Package: libaudtag3
+Package: libaudtag3t64
+Provides: ${t64:Provides}
+Replaces: libaudtag3
+Breaks: libaudtag3 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -168,7 +177,10 @@
  .
  This package provides the libaudtag shared library.
 
-Package: libaudqt2
+Package: libaudqt2t64
+Provides: ${t64:Provides}
+Replaces: libaudqt2
+Breaks: libaudqt2 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru audacious-4.3.1/debian/libaudcore5.install 
audacious-4.3.1/debian/libaudcore5.install
--- audacious-4.3.1/debian/libaudcore5.install  2023-11-01 11:14:10.0 
+
+++ audacious-4.3.1/debian/libaudcore5.install  1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/libaudcore.so.*
diff -Nru audacious-4.3.1/debian/libaudcore5.symbols 
audacious-4.3.1/debian/libaudcore5.symbols
--- audacious-4.3.1/debian/libaudcore5.symbols  2023-11-01 12:13:25.0 
+
+++ audacious-4.3.1/debian/libaudcore5.symbols  1970-01-01 00:00:00.0 
+
@@ -1,478 +0,0 @@
-libaudcore.so.5 libaudcore5 #MINVER#
- (c++)"ArchiveReader::ArchiveReader(VFSFile&&)@Base" 4.1
- (c++)"ArchiveReader::ArchiveReader(VFSFile&&)@Base" 4.1
- (c++)"ArchiveReader::open(char const*)@Base" 4.1
- (c++)"ArchiveReader::read_file(char const*)@Base" 4.1
- (c++)"ArchiveReader::read_folder()@Base" 4.1
- (c++)"aud_art_data(AudArtItem const*)@Base" 3.9
- (c++)"aud_art_file(AudArtItem const*)@Base" 3.9
- (c++)"aud_art_request(char const*, int, bool*)@Base" 3.9
- (c++)"aud_art_unref(AudArtItem*)@Base" 3.9
- (c++)"aud_cleanup()@Base" 3.8
- (c++)"aud_config_set_defaults(char const*, char const* const*)@Base" 3.8
- (c++)"aud_custom_infowin(char const*, PluginHandle*)@Base" 3.8
- (c++)"aud_drct_enable_record(bool)@Base" 3.8
- (c++)"aud_drct_get_ab_repeat(int&, int&)@Base" 3.8
- (c++)"aud_drct_get_filename()@Base" 3.8
- (c++)"aud_drct_get_info(int&, int&, int&)@Base" 3.8
- (c++)"aud_drct_get_length()@Base" 3.8
- (c++)"aud_drct_get_paused()@Base" 3.8
- (c++)"aud_drct_get_playing()@Base" 3.8
- (c++)"aud_drct_get_position()@Base" 3.8
- (c++)"aud_drct_get_ready()@Base" 3.8
- (c++)"aud_drct_get_record_enabled()@Base" 3.8
- (c++)"aud_drct_get_record_plugin()@Base" 3.8
- (c++)"aud_drct_get_time()@Base" 3.8
- (c++)"aud_drct_get_title()@Base" 3.8
- (c++)"aud_drct_get_tuple()@Base" 3.8
- (c++)"aud_drct_get_volume_balance()@Base" 3.8
- (c++)"aud_drct_get_volume()@Base" 3.8
- (c++)"aud_drct_get_volume_main()@Base" 3.8
- (c++)"aud_drct_pause()@Base" 3.8
- (c++)"aud_drct_pl_add(char const*, 

Bug#1061925: audacious: NMU diff for 64-bit time_t transition

2024-01-29 Thread Steve Langasek
Source: audacious
Version: 4.3.1-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
audacious 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 audacious
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-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 audacious-4.3.1/debian/changelog audacious-4.3.1/debian/changelog
--- audacious-4.3.1/debian/changelog2023-11-01 12:36:46.0 +
+++ audacious-4.3.1/debian/changelog2024-01-30 03:58:21.0 +
@@ -1,3 +1,10 @@
+audacious (4.3.1-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Tue, 30 Jan 2024 03:58:21 +
+
 audacious (4.3.1-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru audacious-4.3.1/debian/control audacious-4.3.1/debian/control
--- audacious-4.3.1/debian/control  2023-11-01 12:14:21.0 +
+++ audacious-4.3.1/debian/control  2024-01-30 03:58:20.0 +
@@ -86,7 +86,10 @@
  Please note that this package no longer contains libaudacious, as
  libaudacious was dropped in Audacious 1.4.
 
-Package: libaudcore5
+Package: libaudcore5t64
+Provides: ${t64:Provides}
+Replaces: libaudcore5
+Breaks: libaudcore5 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -114,7 +117,10 @@
  This package contains a library which provides core functionality
  of Audacious.
 
-Package: libaudgui5
+Package: libaudgui5t64
+Provides: ${t64:Provides}
+Replaces: libaudgui5
+Breaks: libaudgui5 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -141,7 +147,10 @@
  .
  This package provides the libaudgui shared library.
 
-Package: libaudtag3
+Package: libaudtag3t64
+Provides: ${t64:Provides}
+Replaces: libaudtag3
+Breaks: libaudtag3 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -168,7 +177,10 @@
  .
  This package provides the libaudtag shared library.
 
-Package: libaudqt2
+Package: libaudqt2t64
+Provides: ${t64:Provides}
+Replaces: libaudqt2
+Breaks: libaudqt2 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru audacious-4.3.1/debian/libaudcore5.install 
audacious-4.3.1/debian/libaudcore5.install
--- audacious-4.3.1/debian/libaudcore5.install  2023-11-01 11:14:10.0 
+
+++ audacious-4.3.1/debian/libaudcore5.install  1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/libaudcore.so.*
diff -Nru audacious-4.3.1/debian/libaudcore5.symbols 
audacious-4.3.1/debian/libaudcore5.symbols
--- audacious-4.3.1/debian/libaudcore5.symbols  2023-11-01 12:13:25.0 
+
+++ audacious-4.3.1/debian/libaudcore5.symbols  1970-01-01 00:00:00.0 
+
@@ -1,478 +0,0 @@
-libaudcore.so.5 libaudcore5 #MINVER#
- (c++)"ArchiveReader::ArchiveReader(VFSFile&&)@Base" 4.1
- (c++)"ArchiveReader::ArchiveReader(VFSFile&&)@Base" 4.1
- (c++)"ArchiveReader::open(char const*)@Base" 4.1
- (c++)"ArchiveReader::read_file(char const*)@Base" 4.1
- (c++)"ArchiveReader::read_folder()@Base" 4.1
- (c++)"aud_art_data(AudArtItem const*)@Base" 3.9
- (c++)"aud_art_file(AudArtItem const*)@Base" 3.9
- (c++)"aud_art_request(char const*, int,