[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1062907: sndobj: NMU diff for 64-bit time_t transition



Source: sndobj
Version: 2.6.7+ds1-3
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-arm@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
sndobj 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 sndobj
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-5-amd64 (SMP w/32 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 sndobj-2.6.7+ds1/debian/changelog sndobj-2.6.7+ds1/debian/changelog
--- sndobj-2.6.7+ds1/debian/changelog	2020-03-26 23:19:43.000000000 +0000
+++ sndobj-2.6.7+ds1/debian/changelog	2024-02-03 23:09:00.000000000 +0000
@@ -1,3 +1,10 @@
+sndobj (2.6.7+ds1-3.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Sergio Durigan Junior <sergiodj@debian.org>  Sat, 03 Feb 2024 23:09:00 +0000
+
 sndobj (2.6.7+ds1-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru sndobj-2.6.7+ds1/debian/control sndobj-2.6.7+ds1/debian/control
--- sndobj-2.6.7+ds1/debian/control	2020-03-26 23:19:43.000000000 +0000
+++ sndobj-2.6.7+ds1/debian/control	2024-02-03 23:09:00.000000000 +0000
@@ -23,7 +23,7 @@
 Multi-Arch: same
 Depends:
  fftw-dev,
- libsndobj2v5 (= ${binary:Version}),
+ libsndobj2t64 (= ${binary:Version}),
  ${misc:Depends},
 Description: Sound Object library (development files)
  The Sound Object Library is an object-oriented audio processing library.
@@ -32,7 +32,10 @@
  .
  This package contains the development files.
 
-Package: libsndobj2v5
+Package: libsndobj2t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libsndobj2v5
+Breaks: libsndobj2v5 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -40,7 +43,7 @@
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
-Replaces:
+Replaces:libsndobj2v5, 
  libsndobj2,
  libsndobj2c2,
 Conflicts:
diff -Nru sndobj-2.6.7+ds1/debian/libsndobj2t64.lintian-overrides sndobj-2.6.7+ds1/debian/libsndobj2t64.lintian-overrides
--- sndobj-2.6.7+ds1/debian/libsndobj2t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ sndobj-2.6.7+ds1/debian/libsndobj2t64.lintian-overrides	2024-02-03 23:09:00.000000000 +0000
@@ -0,0 +1 @@
+libsndobj2t64: package-name-doesnt-match-sonames libsndobj2v5
diff -Nru sndobj-2.6.7+ds1/debian/rules sndobj-2.6.7+ds1/debian/rules
--- sndobj-2.6.7+ds1/debian/rules	2020-03-26 23:19:43.000000000 +0000
+++ sndobj-2.6.7+ds1/debian/rules	2024-02-03 23:09:00.000000000 +0000
@@ -27,7 +27,7 @@
 override_dh_install:
 	dh_install -plibsndobj-dev include/SndObj usr/include
 	dh_install -plibsndobj-dev lib/*.so usr/lib/$(DEB_HOST_MULTIARCH)/
-	dh_install -plibsndobj2v5 lib/*.so.* usr/lib/$(DEB_HOST_MULTIARCH)/
+	dh_install -plibsndobj2t64 lib/*.so.* usr/lib/$(DEB_HOST_MULTIARCH)/
 
 override_dh_installchangelogs:
 	dh_installchangelogs change.log

Reply to: