Bug#1063092: openjade: NMU diff for 64-bit time_t transition

2024-02-29 Thread Benjamin Drung
Source: openjade
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 openjade-1.4devel1/debian/changelog 
openjade-1.4devel1/debian/changelog
--- openjade-1.4devel1/debian/changelog 2024-01-03 04:39:03.0 +
+++ openjade-1.4devel1/debian/changelog 2024-02-29 12:32:43.0 +
@@ -1,3 +1,10 @@
+openjade (1.4devel1-23.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063092
+
+ -- Benjamin Drung   Thu, 29 Feb 2024 12:32:43 +
+
 openjade (1.4devel1-23) unstable; urgency=medium
 
   * Reverted innocuous looking change to FlowObj.cxx in 21.4 which caused
diff -Nru openjade-1.4devel1/debian/control openjade-1.4devel1/debian/control
--- openjade-1.4devel1/debian/control   2024-01-03 04:39:03.0 +
+++ openjade-1.4devel1/debian/control   2024-02-29 12:32:43.0 +
@@ -4,7 +4,7 @@
 Maintainer: Neil Roeth 
 Homepage: http://openjade.sourceforge.net/
 Standards-Version: 3.9.2.0
-Build-Depends: debhelper (>> 13.0.0), debhelper-compat (=13), dh-buildinfo,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>> 13.0.0), debhelper-compat 
(=13), dh-buildinfo,
  libosp-dev (>= 1.5.1.0-2.1), gettext, libperl4-corelibs-perl
 
 Package: openjade
@@ -25,11 +25,14 @@
  .
  Author:   The OpenJade Team 
 
-Package: libostyle1c2
+Package: libostyle1t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libostyle1c2
+Breaks: libostyle1c2 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: libostyle1
+Replaces: libostyle1c2, libostyle1
 Conflicts: libostyle1
 Description: Runtime libraries for OpenJade
  OpenJade's shared libraries, runtime support.  Includes libogrove,
@@ -42,7 +45,7 @@
 Package: libostyle-dev
 Architecture: any
 Section: libdevel
-Depends: libostyle1c2(= ${binary:Version}), ${misc:Depends}
+Depends: libostyle1t64(= ${binary:Version}), ${misc:Depends}
 Conflicts: openjade (<< 1.4devel1-14)
 Description: OpenJade libraries, developer support
  Contains include files and the static library for libogrove,
diff -Nru openjade-1.4devel1/debian/libostyle1c2.dirs 
openjade-1.4devel1/debian/libostyle1c2.dirs
--- openjade-1.4devel1/debian/libostyle1c2.dirs 2021-06-12 22:04:13.0 
+
+++ openjade-1.4devel1/debian/libostyle1c2.dirs 1970-01-01 00:00:00.0 
+
@@ -1,2 +0,0 @@
-usr/lib
-usr/share/doc/libostyle1c2
diff -Nru openjade-1.4devel1/debian/libostyle1c2.install 
openjade-1.4devel1/debian/libostyle1c2.install
--- openjade-1.4devel1/debian/libostyle1c2.install  2021-06-13 
03:33:34.0 +
+++ openjade-1.4devel1/debian/libostyle1c2.install  1970-01-01 
00:00:00.0 +
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/*/lib*.so.[0-9].[0-9].[0-0]
-debian/tmp/usr/lib/*/lib*.so.[0-9]
diff -Nru openjade-1.4devel1/debian/libostyle1c2.postinst 
openjade-1.4devel1/debian/libostyle1c2.postinst
--- openjade-1.4devel1/debian/libostyle1c2.postinst 2021-06-12 
21:39:20.0 +
+++ openjade-1.4devel1/debian/libostyle1c2.postinst 1970-01-01 
00:00:00.0 +
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "configure" ]; then
-   ldconfig
-fi
-
-#DEBHELPER#
-
-exit 0
diff -Nru openjade-1.4devel1/debian/libostyle1t64.dirs 
openjade-1.4devel1/debian/libostyle1t64.dirs
--- openjade-1.4devel1/debian/libostyle1t64.dirs1970-01-01 
00:00:00.0 +
+++ openjade-1.4devel1/debian/libostyle1t64.dirs2021-06-12 
22:04:13.0 +
@@ -0,0 +1,2 @@
+usr/lib
+usr/share/doc/libostyle1c2
diff -Nru openjade-1.4devel1/debian/libostyle1t64.install 
openjade-1.4devel1/debian/libostyle1t64.install
--- openjade-1.4devel1/debian/libostyle1t64.install 1970-01-01 
00:00:00.0 +
+++ openjade-1.4devel1/debian/libostyle1t64.install 2021-06-13 
03:33:34.0 +
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/*/lib*.so.[0-9].[0-9].[0-0]
+debian/tmp/usr/lib/*/lib*.so.[0-9]
diff -Nru openjade-1.4devel1/debian/libostyle1t64.lintian-overrides 
openjade-1.4devel1/debian/libostyle1t64.lintian-overrides
--- openjade-1.4devel1/debian/libostyle1t64.lintian-overrides   1970-01-01 
00:00:00.0 +
+++ openjade-1.4devel1/debian/libostyle1t64.lintian-overrides   2024-02-29 
12:32:39.0 +
@@ -0,0 +1 @@
+libostyle1t64: 

Bug#1063092: openjade: NMU diff for 64-bit time_t transition

2024-02-04 Thread Lucas Kanashiro
Source: openjade
Version: 1.4devel1-23
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-...@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
openjade 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 openjade
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')
Architecture: amd64 (x86_64)

Kernel: Linux 6.2.0-39-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, 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 openjade-1.4devel1/debian/changelog 
openjade-1.4devel1/debian/changelog
--- openjade-1.4devel1/debian/changelog 2024-01-03 01:39:03.0 -0300
+++ openjade-1.4devel1/debian/changelog 2024-02-04 23:14:55.0 -0300
@@ -1,3 +1,10 @@
+openjade (1.4devel1-23.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Lucas Kanashiro   Sun, 04 Feb 2024 23:14:55 -0300
+
 openjade (1.4devel1-23) unstable; urgency=medium
 
   * Reverted innocuous looking change to FlowObj.cxx in 21.4 which caused
diff -Nru openjade-1.4devel1/debian/control openjade-1.4devel1/debian/control
--- openjade-1.4devel1/debian/control   2024-01-03 01:39:03.0 -0300
+++ openjade-1.4devel1/debian/control   2024-02-04 23:14:55.0 -0300
@@ -25,11 +25,14 @@
  .
  Author:   The OpenJade Team 
 
-Package: libostyle1c2
+Package: libostyle1t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libostyle1c2
+Breaks: libostyle1c2 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: libostyle1
+Replaces: libostyle1c2, libostyle1
 Conflicts: libostyle1
 Description: Runtime libraries for OpenJade
  OpenJade's shared libraries, runtime support.  Includes libogrove,
@@ -42,7 +45,7 @@
 Package: libostyle-dev
 Architecture: any
 Section: libdevel
-Depends: libostyle1c2(= ${binary:Version}), ${misc:Depends}
+Depends: libostyle1t64(= ${binary:Version}), ${misc:Depends}
 Conflicts: openjade (<< 1.4devel1-14)
 Description: OpenJade libraries, developer support
  Contains include files and the static library for libogrove,
diff -Nru openjade-1.4devel1/debian/libostyle1c2.dirs 
openjade-1.4devel1/debian/libostyle1c2.dirs
--- openjade-1.4devel1/debian/libostyle1c2.dirs 2021-06-12 19:04:13.0 
-0300
+++ openjade-1.4devel1/debian/libostyle1c2.dirs 1969-12-31 21:00:00.0 
-0300
@@ -1,2 +0,0 @@
-usr/lib
-usr/share/doc/libostyle1c2
diff -Nru openjade-1.4devel1/debian/libostyle1c2.install 
openjade-1.4devel1/debian/libostyle1c2.install
--- openjade-1.4devel1/debian/libostyle1c2.install  2021-06-13 
00:33:34.0 -0300
+++ openjade-1.4devel1/debian/libostyle1c2.install  1969-12-31 
21:00:00.0 -0300
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/*/lib*.so.[0-9].[0-9].[0-0]
-debian/tmp/usr/lib/*/lib*.so.[0-9]
diff -Nru openjade-1.4devel1/debian/libostyle1c2.postinst 
openjade-1.4devel1/debian/libostyle1c2.postinst
--- openjade-1.4devel1/debian/libostyle1c2.postinst 2021-06-12 
18:39:20.0 -0300
+++ openjade-1.4devel1/debian/libostyle1c2.postinst 1969-12-31 
21:00:00.0 -0300
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "configure" ]; then
-   ldconfig
-fi
-
-#DEBHELPER#
-
-exit 0
diff -Nru openjade-1.4devel1/debian/libostyle1t64.dirs