Bug#1062509: libopenshot: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: libopenshot
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 libopenshot-0.3.2+dfsg1/debian/changelog 
libopenshot-0.3.2+dfsg1/debian/changelog
--- libopenshot-0.3.2+dfsg1/debian/changelog2023-10-13 10:56:19.0 
+
+++ libopenshot-0.3.2+dfsg1/debian/changelog2024-02-28 16:02:52.0 
+
@@ -1,3 +1,10 @@
+libopenshot (0.3.2+dfsg1-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062509
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 16:02:52 +
+
 libopenshot (0.3.2+dfsg1-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru libopenshot-0.3.2+dfsg1/debian/control 
libopenshot-0.3.2+dfsg1/debian/control
--- libopenshot-0.3.2+dfsg1/debian/control  2023-10-11 13:47:27.0 
+
+++ libopenshot-0.3.2+dfsg1/debian/control  2024-02-28 16:02:52.0 
+
@@ -4,7 +4,7 @@
 Section: libs
 Rules-Requires-Root: no
 Priority: optional
-Build-Depends: cmake,
+Build-Depends: dpkg-dev (>= 1.22.5), cmake,
debhelper-compat (= 13),
dh-python,
ffmpeg,
@@ -37,7 +37,7 @@
 Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},
- libopenshot25 (= ${binary:Version})
+ libopenshot25t64 (= ${binary:Version})
 Suggests: libopenshot-doc 
 Description: development files for the OpenShot video library
  OpenShot Library (libopenshot) is an open-source project dedicated to
@@ -46,7 +46,10 @@
  .
  This package provides the development files.
 
-Package: libopenshot25
+Package: libopenshot25t64
+Provides: ${t64:Provides}
+Replaces: libopenshot25
+Breaks: libopenshot25 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
diff -Nru libopenshot-0.3.2+dfsg1/debian/libopenshot25.install 
libopenshot-0.3.2+dfsg1/debian/libopenshot25.install
--- libopenshot-0.3.2+dfsg1/debian/libopenshot25.install2023-10-11 
10:10:55.0 +
+++ libopenshot-0.3.2+dfsg1/debian/libopenshot25.install1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/*.so.*
diff -Nru libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.install 
libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.install
--- libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.install 1970-01-01 
00:00:00.0 +
+++ libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.install 2023-10-11 
10:10:55.0 +
@@ -0,0 +1 @@
+usr/lib/*/*.so.*
diff -Nru libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.lintian-overrides 
libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.lintian-overrides
--- libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.lintian-overrides   
1970-01-01 00:00:00.0 +
+++ libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.lintian-overrides   
2024-02-28 16:02:18.0 +
@@ -0,0 +1 @@
+libopenshot25t64: package-name-doesnt-match-sonames libopenshot25


Bug#1062509: libopenshot: NMU diff for 64-bit time_t transition

2024-02-01 Thread Steve Langasek
Source: libopenshot
Version: 0.3.2+dfsg1-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
libopenshot 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 libopenshot
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 libopenshot-0.3.2+dfsg1/debian/changelog 
libopenshot-0.3.2+dfsg1/debian/changelog
--- libopenshot-0.3.2+dfsg1/debian/changelog2023-10-13 10:56:19.0 
+
+++ libopenshot-0.3.2+dfsg1/debian/changelog2024-02-01 17:45:54.0 
+
@@ -1,3 +1,10 @@
+libopenshot (0.3.2+dfsg1-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Thu, 01 Feb 2024 17:45:54 +
+
 libopenshot (0.3.2+dfsg1-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru libopenshot-0.3.2+dfsg1/debian/control 
libopenshot-0.3.2+dfsg1/debian/control
--- libopenshot-0.3.2+dfsg1/debian/control  2023-10-11 13:47:27.0 
+
+++ libopenshot-0.3.2+dfsg1/debian/control  2024-02-01 17:45:53.0 
+
@@ -37,7 +37,7 @@
 Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},
- libopenshot25 (= ${binary:Version})
+ libopenshot25t64 (= ${binary:Version})
 Suggests: libopenshot-doc 
 Description: development files for the OpenShot video library
  OpenShot Library (libopenshot) is an open-source project dedicated to
@@ -46,7 +46,10 @@
  .
  This package provides the development files.
 
-Package: libopenshot25
+Package: libopenshot25t64
+Provides: ${t64:Provides}
+Replaces: libopenshot25
+Breaks: libopenshot25 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
diff -Nru libopenshot-0.3.2+dfsg1/debian/libopenshot25.install 
libopenshot-0.3.2+dfsg1/debian/libopenshot25.install
--- libopenshot-0.3.2+dfsg1/debian/libopenshot25.install2023-10-11 
10:10:55.0 +
+++ libopenshot-0.3.2+dfsg1/debian/libopenshot25.install1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/*.so.*
diff -Nru libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.install 
libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.install
--- libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.install 1970-01-01 
00:00:00.0 +
+++ libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.install 2023-10-11 
10:10:55.0 +
@@ -0,0 +1 @@
+usr/lib/*/*.so.*
diff -Nru libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.lintian-overrides 
libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.lintian-overrides
--- libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.lintian-overrides   
1970-01-01 00:00:00.0 +
+++ libopenshot-0.3.2+dfsg1/debian/libopenshot25t64.lintian-overrides   
2024-02-01 17:45:53.0 +
@@ -0,0 +1 @@
+libopenshot25t64: package-name-doesnt-match-sonames libopenshot25