Source: libdumb
Version: 1.2.1-5.1
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
libdumb 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 libdumb
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'), (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 libdumb-0.9.3/debian/changelog libdumb-0.9.3/debian/changelog
--- libdumb-0.9.3/debian/changelog      2013-06-07 21:09:54.000000000 +0000
+++ libdumb-0.9.3/debian/changelog      2024-01-31 22:21:17.000000000 +0000
@@ -1,3 +1,10 @@
+libdumb (1:0.9.3-6.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vor...@debian.org>  Wed, 31 Jan 2024 22:21:17 +0000
+
 libdumb (1:0.9.3-6) unstable; urgency=low
 
   * I took over the package after it was unmaintained for a long time.
diff -Nru libdumb-0.9.3/debian/control libdumb-0.9.3/debian/control
--- libdumb-0.9.3/debian/control        2013-06-07 20:55:49.000000000 +0000
+++ libdumb-0.9.3/debian/control        2024-01-31 22:21:17.000000000 +0000
@@ -9,7 +9,10 @@
 Vcs-Git: git://git.debian.org/pkg-games/libdumb.git
 Vcs-Browser: http://git.debian.org/?p=pkg-games/libdumb.git;a=summary
 
-Package: libdumb1
+Package: libdumb1t64
+Provides: ${t64:Provides}
+Replaces: libdumb1
+Breaks: libdumb1 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -20,17 +23,17 @@
  filters for the IT files, accurate timing and pitching, and three resampling
  quality settings (aliasing, linear interpolation and cubic interpolation).
  .
- This package contains the libdumb1 runtime library, a standalone library
+ This package contains the libdumb1t64 runtime library, a standalone library
  for module playback. If you plan to use the Allegro library with your
- project, please consider the libaldmb1 library.
+ project, please consider the libaldmb1t64 library.
 
 Package: libdumb1-dev
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libdumb1 (= ${binary:Version}), ${misc:Depends}
+Depends: libdumb1t64 (= ${binary:Version}), ${misc:Depends}
 Conflicts: libdumb0-dev
-Description: development files for libdumb1
+Description: development files for libdumb1t64
  DUMB is a tracker library with support for IT, XM, S3M and MOD files. It
  targets maximum accuracy to the original formats, with low-pass resonant
  filters for the IT files, accurate timing and pitching, and three resampling
@@ -39,7 +42,10 @@
  This package contains the header files and static library needed to
  compile applications that use libdumb1.
 
-Package: libaldmb1
+Package: libaldmb1t64
+Provides: ${t64:Provides}
+Replaces: libaldmb1
+Breaks: libaldmb1 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -50,18 +56,18 @@
  filters for the IT files, accurate timing and pitching, and three resampling
  quality settings (aliasing, linear interpolation and cubic interpolation).
  .
- This package contains the libaldmb1 runtime library, a library for module
+ This package contains the libaldmb1t64 runtime library, a library for module
  playback that uses the Allegro library. If you do not plan to use Allegro
- with your project, please consider the libdumb1 library.
+ with your project, please consider the libdumb1t64 library.
 
 Package: libaldmb1-dev
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libaldmb1 (= ${binary:Version}), libdumb1-dev, liballegro4-dev,
+Depends: libaldmb1t64 (= ${binary:Version}), libdumb1-dev, liballegro4-dev,
          ${misc:Depends}
 Conflicts: libaldmb0-dev
-Description: development files for libaldmb1
+Description: development files for libaldmb1t64
  DUMB is a tracker library with support for IT, XM, S3M and MOD files. It
  targets maximum accuracy to the original formats, with low-pass resonant
  filters for the IT files, accurate timing and pitching, and three resampling
diff -Nru libdumb-0.9.3/debian/libaldmb1.docs 
libdumb-0.9.3/debian/libaldmb1.docs
--- libdumb-0.9.3/debian/libaldmb1.docs 2013-06-07 21:02:21.000000000 +0000
+++ libdumb-0.9.3/debian/libaldmb1.docs 1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-docs
-examples
-readme.txt
diff -Nru libdumb-0.9.3/debian/libaldmb1t64.docs 
libdumb-0.9.3/debian/libaldmb1t64.docs
--- libdumb-0.9.3/debian/libaldmb1t64.docs      1970-01-01 00:00:00.000000000 
+0000
+++ libdumb-0.9.3/debian/libaldmb1t64.docs      2013-06-07 21:02:21.000000000 
+0000
@@ -0,0 +1,3 @@
+docs
+examples
+readme.txt
diff -Nru libdumb-0.9.3/debian/libaldmb1t64.lintian-overrides 
libdumb-0.9.3/debian/libaldmb1t64.lintian-overrides
--- libdumb-0.9.3/debian/libaldmb1t64.lintian-overrides 1970-01-01 
00:00:00.000000000 +0000
+++ libdumb-0.9.3/debian/libaldmb1t64.lintian-overrides 2024-01-31 
22:21:17.000000000 +0000
@@ -0,0 +1 @@
+libaldmb1t64: package-name-doesnt-match-sonames libaldmb1
diff -Nru libdumb-0.9.3/debian/libdumb1.docs libdumb-0.9.3/debian/libdumb1.docs
--- libdumb-0.9.3/debian/libdumb1.docs  2013-06-07 20:36:23.000000000 +0000
+++ libdumb-0.9.3/debian/libdumb1.docs  1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-docs
-examples
-readme.txt
diff -Nru libdumb-0.9.3/debian/libdumb1t64.docs 
libdumb-0.9.3/debian/libdumb1t64.docs
--- libdumb-0.9.3/debian/libdumb1t64.docs       1970-01-01 00:00:00.000000000 
+0000
+++ libdumb-0.9.3/debian/libdumb1t64.docs       2013-06-07 20:36:23.000000000 
+0000
@@ -0,0 +1,3 @@
+docs
+examples
+readme.txt
diff -Nru libdumb-0.9.3/debian/libdumb1t64.lintian-overrides 
libdumb-0.9.3/debian/libdumb1t64.lintian-overrides
--- libdumb-0.9.3/debian/libdumb1t64.lintian-overrides  1970-01-01 
00:00:00.000000000 +0000
+++ libdumb-0.9.3/debian/libdumb1t64.lintian-overrides  2024-01-31 
22:21:17.000000000 +0000
@@ -0,0 +1 @@
+libdumb1t64: package-name-doesnt-match-sonames libdumb1
diff -Nru libdumb-0.9.3/debian/rules libdumb-0.9.3/debian/rules
--- libdumb-0.9.3/debian/rules  2013-06-07 21:12:54.000000000 +0000
+++ libdumb-0.9.3/debian/rules  2024-01-31 22:21:17.000000000 +0000
@@ -42,24 +42,24 @@
        rm -f libdumb.so
 
 override_dh_auto_install:
-       dh_install -plibdumb1 libdumb.so.1.0.0 usr/lib/$(DEB_HOST_MULTIARCH)
-       dh_install -plibaldmb1 libaldmb.so.1.0.0 usr/lib/$(DEB_HOST_MULTIARCH)
+       dh_install -plibdumb1t64 libdumb.so.1.0.0 usr/lib/$(DEB_HOST_MULTIARCH)
+       dh_install -plibaldmb1t64 libaldmb.so.1.0.0 
usr/lib/$(DEB_HOST_MULTIARCH)
        dh_install -plibdumb1-dev libdumb.a usr/lib/$(DEB_HOST_MULTIARCH)
        dh_install -plibaldmb1-dev libaldmb.a usr/lib/$(DEB_HOST_MULTIARCH)
        dh_install -plibdumb1-dev include/dumb.h usr/include
        dh_install -plibaldmb1-dev include/aldumb.h usr/include
 
 override_dh_link:
-       dh_link -plibdumb1 usr/lib/$(DEB_HOST_MULTIARCH)/libdumb.so.1.0.0 
usr/lib/$(DEB_HOST_MULTIARCH)/libdumb.so.1
+       dh_link -plibdumb1t64 usr/lib/$(DEB_HOST_MULTIARCH)/libdumb.so.1.0.0 
usr/lib/$(DEB_HOST_MULTIARCH)/libdumb.so.1
        dh_link -plibdumb1-dev usr/lib/$(DEB_HOST_MULTIARCH)/libdumb.so.1 
usr/lib/$(DEB_HOST_MULTIARCH)/libdumb.so
-       dh_link -plibaldmb1 usr/lib/$(DEB_HOST_MULTIARCH)/libaldmb.so.1.0.0 
usr/lib/$(DEB_HOST_MULTIARCH)/libaldmb.so.1
+       dh_link -plibaldmb1t64 usr/lib/$(DEB_HOST_MULTIARCH)/libaldmb.so.1.0.0 
usr/lib/$(DEB_HOST_MULTIARCH)/libaldmb.so.1
        dh_link -plibaldmb1-dev usr/lib/$(DEB_HOST_MULTIARCH)/libaldmb.so.1 
usr/lib/$(DEB_HOST_MULTIARCH)/libaldmb.so
 
 override_dh_installdocs:
-       dh_installdocs -plibdumb1
-       dh_installdocs -plibaldmb1
-       dh_installdocs -plibdumb1-dev --link-doc=libdumb1
-       dh_installdocs -plibaldmb1-dev --link-doc=libdumb1
+       dh_installdocs -plibdumb1t64
+       dh_installdocs -plibaldmb1t64
+       dh_installdocs -plibdumb1-dev --link-doc=libdumb1t64
+       dh_installdocs -plibaldmb1-dev --link-doc=libdumb1t64
 
 override_dh_installchangelogs:
        dh_installchangelogs release.txt

Reply via email to