Bug#1063309: zeroc-ice: NMU diff for 64-bit time_t transition

2024-02-29 Thread Steve Langasek
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-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 zeroc-ice-3.7.10/debian/changelog zeroc-ice-3.7.10/debian/changelog
--- zeroc-ice-3.7.10/debian/changelog   2024-02-28 09:13:28.0 +
+++ zeroc-ice-3.7.10/debian/changelog   2024-03-01 00:14:45.0 +
@@ -1,3 +1,10 @@
+zeroc-ice (3.7.10-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063309
+
+ -- Steve Langasek   Fri, 01 Mar 2024 00:14:45 +
+
 zeroc-ice (3.7.10-2) unstable; urgency=medium
 
   * Set javaTargetRelease for java-compat builds using $java_compat_level 
(Closes: #1057672)
diff -Nru zeroc-ice-3.7.10/debian/control zeroc-ice-3.7.10/debian/control
--- zeroc-ice-3.7.10/debian/control 2023-11-07 09:45:43.0 +
+++ zeroc-ice-3.7.10/debian/control 2024-03-01 00:14:44.0 +
@@ -8,7 +8,7 @@
  gradle-ice-builder-plugin (>= 1.3.13),
  libjgoodies-forms-java (>= 1.6.0),
  libjgoodies-looks-java (>= 2.5.2)
-Build-Depends: debhelper,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper,
debhelper-compat (= 10),
dh-exec,
dh-php (>= 0.20),
@@ -43,7 +43,7 @@
 Section: libdevel
 Replaces: libice++-dev,
   libzeroc-ice35-dev
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  zeroc-ice-compilers (= ${binary:Version}),
  zeroc-ice-slice (= ${source:Version}),
  ${misc:Depends}
@@ -69,7 +69,10 @@
  network programming interfaces and allows you to focus your efforts on
  your application logic.
 
-Package: libzeroc-ice3.7
+Package: libzeroc-ice3.7t64
+Provides: ${t64:Provides}
+Replaces: libzeroc-ice3.7
+Breaks: libzeroc-ice3.7 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -85,12 +88,15 @@
  network programming interfaces and allows you to focus your efforts on
  your application logic.
 
-Package: libzeroc-icestorm3.7
+Package: libzeroc-icestorm3.7t64
+Provides: ${t64:Provides}
+Replaces: libzeroc-icestorm3.7
+Breaks: libzeroc-icestorm3.7 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: net
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
 Description: IceStorm publish-subscribe event distribution service
@@ -110,7 +116,7 @@
 Package: php-zeroc-ice
 Architecture: any
 Section: php
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${php:Depends},
  ${shlibs:Depends}
@@ -126,7 +132,7 @@
 Package: python3-zeroc-ice
 Architecture: any
 Section: python
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${python3:Depends},
  ${shlibs:Depends}
@@ -144,7 +150,7 @@
 Section: net
 Replaces: glacier2,
   ice35-services
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
 Description: Glacier2 router
@@ -178,8 +184,8 @@
 Architecture: all
 Section: net
 Depends: libzeroc-ice3.7-java (= ${source:Version}),
- libzeroc-ice3.7 (>= ${source:Version}),
- libzeroc-icestorm3.7 (>= ${source:Version}),
+ libzeroc-ice3.7t64 (>= ${source:Version}),
+ libzeroc-icestorm3.7t64 (>= ${source:Version}),
  php-zeroc-ice (>= ${source:Version}),
  python3-zeroc-ice (>= ${source:Version}),
  zeroc-glacier2 (>= ${source:Version}),
@@ -203,7 +209,7 @@
 Architecture: any
 Multi-Arch: foreign
 Section: devel
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  zeroc-ice-slice (= ${source:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
@@ -232,8 +238,8 @@
 Architecture: any
 Multi-Arch: foreign
 Section: admin
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
- libzeroc-icestorm3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
+ libzeroc-icestorm3.7t64 (= ${binary:Version}),
  

Bug#1063309: zeroc-ice: NMU diff for 64-bit time_t transition

2024-02-29 Thread Steve Langasek
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-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 zeroc-ice-3.7.10/debian/changelog zeroc-ice-3.7.10/debian/changelog
--- zeroc-ice-3.7.10/debian/changelog   2023-11-06 20:35:37.0 +
+++ zeroc-ice-3.7.10/debian/changelog   2024-02-29 08:19:28.0 +
@@ -1,3 +1,10 @@
+zeroc-ice (3.7.10-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063309
+
+ -- Steve Langasek   Thu, 29 Feb 2024 08:19:28 +
+
 zeroc-ice (3.7.10-1) unstable; urgency=medium
 
   * New upstream version 3.7.10
diff -Nru zeroc-ice-3.7.10/debian/control zeroc-ice-3.7.10/debian/control
--- zeroc-ice-3.7.10/debian/control 2023-11-06 20:35:37.0 +
+++ zeroc-ice-3.7.10/debian/control 2024-02-29 08:19:28.0 +
@@ -8,7 +8,7 @@
  gradle-ice-builder-plugin (>= 1.3.13),
  libjgoodies-forms-java (>= 1.6.0),
  libjgoodies-looks-java (>= 2.5.2)
-Build-Depends: debhelper,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper,
debhelper-compat (= 10),
dh-exec,
dh-php (>= 0.20),
@@ -43,7 +43,7 @@
 Section: libdevel
 Replaces: libice++-dev,
   libzeroc-ice35-dev
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  zeroc-ice-compilers (= ${binary:Version}),
  zeroc-ice-slice (= ${source:Version}),
  ${misc:Depends}
@@ -69,7 +69,10 @@
  network programming interfaces and allows you to focus your efforts on
  your application logic.
 
-Package: libzeroc-ice3.7
+Package: libzeroc-ice3.7t64
+Provides: ${t64:Provides}
+Replaces: libzeroc-ice3.7
+Breaks: libzeroc-ice3.7 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -85,12 +88,15 @@
  network programming interfaces and allows you to focus your efforts on
  your application logic.
 
-Package: libzeroc-icestorm3.7
+Package: libzeroc-icestorm3.7t64
+Provides: ${t64:Provides}
+Replaces: libzeroc-icestorm3.7
+Breaks: libzeroc-icestorm3.7 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: net
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
 Description: IceStorm publish-subscribe event distribution service
@@ -110,7 +116,7 @@
 Package: php-zeroc-ice
 Architecture: any
 Section: php
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${php:Depends},
  ${shlibs:Depends}
@@ -126,7 +132,7 @@
 Package: python3-zeroc-ice
 Architecture: any
 Section: python
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${python3:Depends},
  ${shlibs:Depends}
@@ -144,7 +150,7 @@
 Section: net
 Replaces: glacier2,
   ice35-services
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
 Description: Glacier2 router
@@ -178,8 +184,8 @@
 Architecture: all
 Section: net
 Depends: libzeroc-ice3.7-java (= ${source:Version}),
- libzeroc-ice3.7 (>= ${source:Version}),
- libzeroc-icestorm3.7 (>= ${source:Version}),
+ libzeroc-ice3.7t64 (>= ${source:Version}),
+ libzeroc-icestorm3.7t64 (>= ${source:Version}),
  php-zeroc-ice (>= ${source:Version}),
  python3-zeroc-ice (>= ${source:Version}),
  zeroc-glacier2 (>= ${source:Version}),
@@ -203,7 +209,7 @@
 Architecture: any
 Multi-Arch: foreign
 Section: devel
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  zeroc-ice-slice (= ${source:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
@@ -232,8 +238,8 @@
 Architecture: any
 Multi-Arch: foreign
 Section: admin
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
- libzeroc-icestorm3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
+ libzeroc-icestorm3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
 Description: Ice 

Bug#1063309: zeroc-ice: NMU diff for 64-bit time_t transition

2024-02-05 Thread Steve Langasek
Source: zeroc-ice
Version: 3.7.10-1
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
zeroc-ice 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 zeroc-ice
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'), (500, 'stable'), (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 zeroc-ice-3.7.10/debian/changelog zeroc-ice-3.7.10/debian/changelog
--- zeroc-ice-3.7.10/debian/changelog   2023-11-06 20:35:37.0 +
+++ zeroc-ice-3.7.10/debian/changelog   2024-02-06 03:28:45.0 +
@@ -1,3 +1,10 @@
+zeroc-ice (3.7.10-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Tue, 06 Feb 2024 03:28:45 +
+
 zeroc-ice (3.7.10-1) unstable; urgency=medium
 
   * New upstream version 3.7.10
diff -Nru zeroc-ice-3.7.10/debian/control zeroc-ice-3.7.10/debian/control
--- zeroc-ice-3.7.10/debian/control 2023-11-06 20:35:37.0 +
+++ zeroc-ice-3.7.10/debian/control 2024-02-06 03:28:45.0 +
@@ -43,7 +43,7 @@
 Section: libdevel
 Replaces: libice++-dev,
   libzeroc-ice35-dev
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  zeroc-ice-compilers (= ${binary:Version}),
  zeroc-ice-slice (= ${source:Version}),
  ${misc:Depends}
@@ -69,7 +69,10 @@
  network programming interfaces and allows you to focus your efforts on
  your application logic.
 
-Package: libzeroc-ice3.7
+Package: libzeroc-ice3.7t64
+Provides: ${t64:Provides}
+Replaces: libzeroc-ice3.7
+Breaks: libzeroc-ice3.7 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -85,12 +88,15 @@
  network programming interfaces and allows you to focus your efforts on
  your application logic.
 
-Package: libzeroc-icestorm3.7
+Package: libzeroc-icestorm3.7t64
+Provides: ${t64:Provides}
+Replaces: libzeroc-icestorm3.7
+Breaks: libzeroc-icestorm3.7 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: net
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
 Description: IceStorm publish-subscribe event distribution service
@@ -110,7 +116,7 @@
 Package: php-zeroc-ice
 Architecture: any
 Section: php
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${php:Depends},
  ${shlibs:Depends}
@@ -126,7 +132,7 @@
 Package: python3-zeroc-ice
 Architecture: any
 Section: python
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${python3:Depends},
  ${shlibs:Depends}
@@ -144,7 +150,7 @@
 Section: net
 Replaces: glacier2,
   ice35-services
-Depends: libzeroc-ice3.7 (= ${binary:Version}),
+Depends: libzeroc-ice3.7t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
 Description: Glacier2 router
@@ -178,8 +184,8 @@