Bug#1063265: poco: NMU diff for 64-bit time_t transition

2024-02-29 Thread Benjamin Drung
Source: poco
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 poco-1.11.0/debian/changelog poco-1.11.0/debian/changelog
--- poco-1.11.0/debian/changelog2024-01-16 05:46:36.0 +
+++ poco-1.11.0/debian/changelog2024-02-29 21:03:46.0 +
@@ -1,3 +1,10 @@
+poco (1.11.0-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063265
+
+ -- Benjamin Drung   Thu, 29 Feb 2024 21:03:46 +
+
 poco (1.11.0-4) unstable; urgency=medium
 
   * QA upload.
diff -Nru poco-1.11.0/debian/control poco-1.11.0/debian/control
--- poco-1.11.0/debian/control  2024-01-16 05:36:47.0 +
+++ poco-1.11.0/debian/control  2024-02-29 21:03:46.0 +
@@ -1,7 +1,7 @@
 Source: poco
 Priority: optional
 Maintainer: Debian QA Group 
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
cmake,
libexpat1-dev,
default-libmysqlclient-dev,
@@ -22,7 +22,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: ${misc:Depends}, libpocoactiverecord80 (= ${binary:Version}), 
libpococrypto80 (= ${binary:Version}), libpocodata80 (= ${binary:Version}), 
libpocoencodings80 (= ${binary:Version}), libpocofoundation80 (= 
${binary:Version}), libpocojson80 (= ${binary:Version}), libpocojwt80 (= 
${binary:Version}), libpocodatamysql80 (= ${binary:Version}), 
libpocodatapostgresql80 (= ${binary:Version}), libpocomongodb80 (= 
${binary:Version}), libpoconet80 (= ${binary:Version}), libpoconetssl80 (= 
${binary:Version}), libpocodataodbc80 (= ${binary:Version}), 
libpocodatasqlite80 (= ${binary:Version}), libpocoredis80 (= 
${binary:Version}), libpocoutil80 (= ${binary:Version}), libpocoxml80 (= 
${binary:Version}), libpocozip80 (= ${binary:Version}), libexpat1-dev, 
default-libmysqlclient-dev, libpcre3-dev, libsqlite3-dev, libssl-dev, zlib1g-dev
+Depends: ${misc:Depends}, libpocoactiverecord80t64 (= ${binary:Version}), 
libpococrypto80t64 (= ${binary:Version}), libpocodata80t64 (= 
${binary:Version}), libpocoencodings80t64 (= ${binary:Version}), 
libpocofoundation80t64 (= ${binary:Version}), libpocojson80t64 (= 
${binary:Version}), libpocojwt80t64 (= ${binary:Version}), 
libpocodatamysql80t64 (= ${binary:Version}), libpocodatapostgresql80t64 (= 
${binary:Version}), libpocomongodb80t64 (= ${binary:Version}), libpoconet80t64 
(= ${binary:Version}), libpoconetssl80t64 (= ${binary:Version}), 
libpocodataodbc80t64 (= ${binary:Version}), libpocodatasqlite80t64 (= 
${binary:Version}), libpocoredis80t64 (= ${binary:Version}), libpocoutil80t64 
(= ${binary:Version}), libpocoxml80t64 (= ${binary:Version}), libpocozip80t64 
(= ${binary:Version}), libexpat1-dev, default-libmysqlclient-dev, libpcre3-dev, 
libsqlite3-dev, libssl-dev, zlib1g-dev
 Description: C++ Portable Components (POCO) Development files
  The POCO C++ Libraries are a collection of open source C++ class libraries
  that simplify and accelerate the development of network-centric, portable
@@ -39,7 +39,10 @@
  are NetSSL, providing SSL support for the network classes in the Net library,
  and Data, a library for uniformly accessing different SQL databases.
 
-Package: libpocoactiverecord80
+Package: libpocoactiverecord80t64
+Provides: ${t64:Provides}
+Replaces: libpocoactiverecord80
+Breaks: libpocoactiverecord80 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -56,7 +59,10 @@
  .
  This package provides the POCO ActiveRecord library.
 
-Package: libpococrypto80
+Package: libpococrypto80t64
+Provides: ${t64:Provides}
+Replaces: libpococrypto80
+Breaks: libpococrypto80 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -73,7 +79,10 @@
  .
  This package provides the POCO Crypto library.
 
-Package: libpocodata80
+Package: libpocodata80t64
+Provides: ${t64:Provides}
+Replaces: libpocodata80
+Breaks: libpocodata80 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -90,7 +99,10 @@
  .
  This package provides the POCO Data library.
 
-Package: libpocomongodb80
+Package: libpocomongodb80t64
+Provides: ${t64:Provides}
+Replaces: libpocomongodb80
+Breaks: 

Bug#1063265: poco: NMU diff for 64-bit time_t transition

2024-02-06 Thread Bastian Germann
Hi Lucas,

Please use the latest experimental QA upload for the 64-bit time_t transition 
instead of uploading your NMU.
The other planned transition is documented in #1061645.
All library package names are SO-bumped, which should be enough to fulfill your 
intended change.
This is a cross-posting to ensure the release team is aware of that.

Thanks,
Bastian



Bug#1063265: poco: NMU diff for 64-bit time_t transition

2024-02-05 Thread Lucas Kanashiro
Source: poco
Version: 1.11.0-4
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
poco 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 poco
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 poco-1.11.0/debian/changelog poco-1.11.0/debian/changelog
--- poco-1.11.0/debian/changelog2024-01-16 02:46:36.0 -0300
+++ poco-1.11.0/debian/changelog2024-02-05 19:14:40.0 -0300
@@ -1,3 +1,10 @@
+poco (1.11.0-4.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Lucas Kanashiro   Mon, 05 Feb 2024 19:14:40 -0300
+
 poco (1.11.0-4) unstable; urgency=medium
 
   * QA upload.
diff -Nru poco-1.11.0/debian/control poco-1.11.0/debian/control
--- poco-1.11.0/debian/control  2024-01-16 02:36:47.0 -0300
+++ poco-1.11.0/debian/control  2024-02-05 19:14:40.0 -0300
@@ -22,7 +22,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: ${misc:Depends}, libpocoactiverecord80 (= ${binary:Version}), 
libpococrypto80 (= ${binary:Version}), libpocodata80 (= ${binary:Version}), 
libpocoencodings80 (= ${binary:Version}), libpocofoundation80 (= 
${binary:Version}), libpocojson80 (= ${binary:Version}), libpocojwt80 (= 
${binary:Version}), libpocodatamysql80 (= ${binary:Version}), 
libpocodatapostgresql80 (= ${binary:Version}), libpocomongodb80 (= 
${binary:Version}), libpoconet80 (= ${binary:Version}), libpoconetssl80 (= 
${binary:Version}), libpocodataodbc80 (= ${binary:Version}), 
libpocodatasqlite80 (= ${binary:Version}), libpocoredis80 (= 
${binary:Version}), libpocoutil80 (= ${binary:Version}), libpocoxml80 (= 
${binary:Version}), libpocozip80 (= ${binary:Version}), libexpat1-dev, 
default-libmysqlclient-dev, libpcre3-dev, libsqlite3-dev, libssl-dev, zlib1g-dev
+Depends: ${misc:Depends}, libpocoactiverecord80t64 (= ${binary:Version}), 
libpococrypto80t64 (= ${binary:Version}), libpocodata80t64 (= 
${binary:Version}), libpocoencodings80t64 (= ${binary:Version}), 
libpocofoundation80t64 (= ${binary:Version}), libpocojson80t64 (= 
${binary:Version}), libpocojwt80t64 (= ${binary:Version}), 
libpocodatamysql80t64 (= ${binary:Version}), libpocodatapostgresql80t64 (= 
${binary:Version}), libpocomongodb80t64 (= ${binary:Version}), libpoconet80t64 
(= ${binary:Version}), libpoconetssl80t64 (= ${binary:Version}), 
libpocodataodbc80t64 (= ${binary:Version}), libpocodatasqlite80t64 (= 
${binary:Version}), libpocoredis80t64 (= ${binary:Version}), libpocoutil80t64 
(= ${binary:Version}), libpocoxml80t64 (= ${binary:Version}), libpocozip80t64 
(= ${binary:Version}), libexpat1-dev, default-libmysqlclient-dev, libpcre3-dev, 
libsqlite3-dev, libssl-dev, zlib1g-dev
 Description: C++ Portable Components (POCO) Development files
  The POCO C++ Libraries are a collection of open source C++ class libraries
  that simplify and accelerate the development of network-centric, portable
@@ -39,7 +39,10 @@
  are NetSSL, providing SSL support for the network classes in the Net library,
  and Data, a library for uniformly