Bug#1062505: libopenraw: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: libopenraw
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 libopenraw-0.1.2/debian/changelog libopenraw-0.1.2/debian/changelog
--- libopenraw-0.1.2/debian/changelog   2023-08-14 14:03:39.0 +
+++ libopenraw-0.1.2/debian/changelog   2024-02-28 15:59:23.0 +
@@ -1,3 +1,10 @@
+libopenraw (0.1.2-0.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062505
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 15:59:23 +
+
 libopenraw (0.1.2-0.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libopenraw-0.1.2/debian/control libopenraw-0.1.2/debian/control
--- libopenraw-0.1.2/debian/control 2023-08-14 13:45:11.0 +
+++ libopenraw-0.1.2/debian/control 2024-02-28 15:59:23.0 +
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: David Paleino 
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  debhelper (>= 9~)
  , dh-autoreconf
  , libglib2.0-dev (>= 2.0.0)
@@ -21,7 +21,7 @@
 Architecture: any
 Multi-Arch: same
 Depends:
- libopenraw7 (= ${binary:Version})
+ libopenraw7t64 (= ${binary:Version})
  , ${misc:Depends}
 Description: free implementation for RAW decoding - development files
  libopenraw is an ongoing project to provide a free software implementation for
@@ -34,7 +34,10 @@
  .
  This package contains development header files.
 
-Package: libopenraw7
+Package: libopenraw7t64
+Provides: ${t64:Provides}
+Replaces: libopenraw7
+Breaks: libopenraw7 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -50,14 +53,17 @@
  It also has the goal to address missing feature from dcraw like meta-data
  decoding and easy thumbnail extraction.
 
-Package: libopenrawgnome7
+Package: libopenrawgnome7t64
+Provides: ${t64:Provides}
+Replaces: libopenrawgnome7
+Breaks: libopenrawgnome7 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends:
  ${shlibs:Depends}
  , ${misc:Depends}
- , libopenraw7 (= ${binary:Version})
+ , libopenraw7t64 (= ${binary:Version})
 Description: free implementation for RAW decoding (GNOME integration)
  libopenraw is an ongoing project to provide a free software implementation for
  camera RAW files decoding. One of the main reason is that dcraw is not suited
@@ -74,7 +80,7 @@
 Architecture: any
 Depends:
  libopenraw-dev (= ${binary:Version})
- , libopenrawgnome7 (= ${binary:Version})
+ , libopenrawgnome7t64 (= ${binary:Version})
  , ${misc:Depends}
 Description: GNOME integration for libopenraw - development files
  libopenraw is an ongoing project to provide a free software implementation for
diff -Nru libopenraw-0.1.2/debian/libopenraw7.dirs 
libopenraw-0.1.2/debian/libopenraw7.dirs
--- libopenraw-0.1.2/debian/libopenraw7.dirs2023-08-14 13:38:10.0 
+
+++ libopenraw-0.1.2/debian/libopenraw7.dirs1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib
diff -Nru libopenraw-0.1.2/debian/libopenraw7.install 
libopenraw-0.1.2/debian/libopenraw7.install
--- libopenraw-0.1.2/debian/libopenraw7.install 2023-08-14 13:38:10.0 
+
+++ libopenraw-0.1.2/debian/libopenraw7.install 1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/libopenraw.so.*
diff -Nru libopenraw-0.1.2/debian/libopenraw7.shlibs 
libopenraw-0.1.2/debian/libopenraw7.shlibs
--- libopenraw-0.1.2/debian/libopenraw7.shlibs  2023-08-14 13:38:10.0 
+
+++ libopenraw-0.1.2/debian/libopenraw7.shlibs  1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-libopenraw 7   libopenraw7
diff -Nru libopenraw-0.1.2/debian/libopenraw7.sumbols 
libopenraw-0.1.2/debian/libopenraw7.sumbols
--- libopenraw-0.1.2/debian/libopenraw7.sumbols 2023-08-14 13:38:10.0 
+
+++ libopenraw-0.1.2/debian/libopenraw7.sumbols 1970-01-01 00:00:00.0 
+
@@ -1,900 +0,0 @@
-libopenraw.so.7 libopenraw7 #MINVER#
- _Z17bimedian_demosaicPtjj14or_cfa_patternPh@Base 0.0.9-3.9
- 
_ZGVZN7OpenRaw9Internals14RawFileFactory10extensionsEvE18rawExtensionsTable@Base
 0.0.9-3.9
- _ZGVZN7OpenRaw9Internals14RawFileFactory5tableEvE15rawFactoryTable@Base 
0.0.9-3.9
- _ZN5Debug5Trace10debugLevelE@Base 0.0.9-3.9
- _ZN5Debug5Trace13setDebugLevelE12_debug_level@Base 0.0.9-3.9
- _ZN5Debug5Trace5printEi@Base 

Bug#1062505: libopenraw: NMU diff for 64-bit time_t transition

2024-02-01 Thread Steve Langasek
Source: libopenraw
Version: 0.1.2-0.3
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
libopenraw 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 libopenraw
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 libopenraw-0.1.2/debian/changelog libopenraw-0.1.2/debian/changelog
--- libopenraw-0.1.2/debian/changelog   2023-08-14 14:03:39.0 +
+++ libopenraw-0.1.2/debian/changelog   2024-02-01 17:40:51.0 +
@@ -1,3 +1,10 @@
+libopenraw (0.1.2-0.4) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Thu, 01 Feb 2024 17:40:51 +
+
 libopenraw (0.1.2-0.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libopenraw-0.1.2/debian/control libopenraw-0.1.2/debian/control
--- libopenraw-0.1.2/debian/control 2023-08-14 13:45:11.0 +
+++ libopenraw-0.1.2/debian/control 2024-02-01 17:40:51.0 +
@@ -21,7 +21,7 @@
 Architecture: any
 Multi-Arch: same
 Depends:
- libopenraw7 (= ${binary:Version})
+ libopenraw7t64 (= ${binary:Version})
  , ${misc:Depends}
 Description: free implementation for RAW decoding - development files
  libopenraw is an ongoing project to provide a free software implementation for
@@ -34,7 +34,10 @@
  .
  This package contains development header files.
 
-Package: libopenraw7
+Package: libopenraw7t64
+Provides: ${t64:Provides}
+Replaces: libopenraw7
+Breaks: libopenraw7 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -50,14 +53,17 @@
  It also has the goal to address missing feature from dcraw like meta-data
  decoding and easy thumbnail extraction.
 
-Package: libopenrawgnome7
+Package: libopenrawgnome7t64
+Provides: ${t64:Provides}
+Replaces: libopenrawgnome7
+Breaks: libopenrawgnome7 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends:
  ${shlibs:Depends}
  , ${misc:Depends}
- , libopenraw7 (= ${binary:Version})
+ , libopenraw7t64 (= ${binary:Version})
 Description: free implementation for RAW decoding (GNOME integration)
  libopenraw is an ongoing project to provide a free software implementation for
  camera RAW files decoding. One of the main reason is that dcraw is not suited
@@ -74,7 +80,7 @@
 Architecture: any
 Depends:
  libopenraw-dev (= ${binary:Version})
- , libopenrawgnome7 (= ${binary:Version})
+ , libopenrawgnome7t64 (= ${binary:Version})
  , ${misc:Depends}
 Description: GNOME integration for libopenraw - development files
  libopenraw is an ongoing project to provide a free software implementation for
diff -Nru libopenraw-0.1.2/debian/libopenraw7.dirs 
libopenraw-0.1.2/debian/libopenraw7.dirs
--- libopenraw-0.1.2/debian/libopenraw7.dirs2023-08-14 13:38:10.0 
+
+++ libopenraw-0.1.2/debian/libopenraw7.dirs1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib
diff -Nru libopenraw-0.1.2/debian/libopenraw7.install 
libopenraw-0.1.2/debian/libopenraw7.install
--- libopenraw-0.1.2/debian/libopenraw7.install 2023-08-14 13:38:10.0 
+
+++