Bug#1061908: cppdb: NMU diff for 64-bit time_t transition

2024-02-28 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 cppdb-0.3.1+dfsg/debian/changelog cppdb-0.3.1+dfsg/debian/changelog
--- cppdb-0.3.1+dfsg/debian/changelog   2021-10-19 14:21:37.0 +
+++ cppdb-0.3.1+dfsg/debian/changelog   2024-02-28 17:42:18.0 +
@@ -1,3 +1,10 @@
+cppdb (0.3.1+dfsg-9.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1061908
+
+ -- Steve Langasek   Wed, 28 Feb 2024 17:42:18 +
+
 cppdb (0.3.1+dfsg-9) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru cppdb-0.3.1+dfsg/debian/control cppdb-0.3.1+dfsg/debian/control
--- cppdb-0.3.1+dfsg/debian/control 2021-10-19 14:07:26.0 +
+++ cppdb-0.3.1+dfsg/debian/control 2024-02-28 17:42:17.0 +
@@ -1,7 +1,7 @@
 Source: cppdb
 Priority: optional
 Maintainer: Tobias Frost 
-Build-Depends: cmake,
+Build-Depends: dpkg-dev (>= 1.22.5), cmake,
debhelper-compat (= 13),
default-libmysqlclient-dev,
libpq-dev,
@@ -18,11 +18,11 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libcppdb-mysql0 (= ${binary:Version}),
- libcppdb-odbc0 (= ${binary:Version}),
- libcppdb-postgresql0 (= ${binary:Version}),
- libcppdb-sqlite3-0 (= ${binary:Version}),
- libcppdb0 (= ${binary:Version}),
+Depends: libcppdb-mysql0t64 (= ${binary:Version}),
+ libcppdb-odbc0t64 (= ${binary:Version}),
+ libcppdb-postgresql0t64 (= ${binary:Version}),
+ libcppdb-sqlite3-0t64 (= ${binary:Version}),
+ libcppdb0t64 (= ${binary:Version}),
  ${misc:Depends}
 Description: SQL Connectivity Library (development files)
  CppDB is an SQL connectivity library that is designed to provide platform and
@@ -46,15 +46,18 @@
  .
  This package contains the development files.
 
-Package: libcppdb0
+Package: libcppdb0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb0
+Breaks: libcppdb0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}
-Suggests: libcppdb-mysql0,
-  libcppdb-odbc0,
-  libcppdb-postgresql0,
-  libcppdb-sqlite3-0
+Suggests: libcppdb-mysql0t64,
+  libcppdb-odbc0t64,
+  libcppdb-postgresql0t64,
+  libcppdb-sqlite3-0t64
 Description: SQL Connectivity Library (core library)
  CppDB is an SQL connectivity library that is designed to provide platform and
  Database independent connectivity API similarly to what JDBC, ODBC and other
@@ -77,7 +80,10 @@
  .
  This package contains the core library
 
-Package: libcppdb-mysql0
+Package: libcppdb-mysql0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb-mysql0
+Breaks: libcppdb-mysql0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -104,7 +110,10 @@
  .
  This package contains the MySQL backend
 
-Package: libcppdb-sqlite3-0
+Package: libcppdb-sqlite3-0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb-sqlite3-0
+Breaks: libcppdb-sqlite3-0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -131,7 +140,10 @@
  .
  This package contains the sqlite3 backend
 
-Package: libcppdb-postgresql0
+Package: libcppdb-postgresql0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb-postgresql0
+Breaks: libcppdb-postgresql0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -158,7 +170,10 @@
  .
  This package contains the PostgreSQL backend
 
-Package: libcppdb-odbc0
+Package: libcppdb-odbc0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb-odbc0
+Breaks: libcppdb-odbc0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
diff -Nru cppdb-0.3.1+dfsg/debian/libcppdb-mysql0.install 
cppdb-0.3.1+dfsg/debian/libcppdb-mysql0.install
--- cppdb-0.3.1+dfsg/debian/libcppdb-mysql0.install 2018-04-05 
19:10:53.0 +
+++ cppdb-0.3.1+dfsg/debian/libcppdb-mysql0.install 1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/libcppdb_mysql*.so.*
diff -Nru cppdb-0.3.1+dfsg/debian/libcppdb-mysql0.lintian-overrides 
cppdb-0.3.1+dfsg/debian/libcppdb-mysql0.lintian-overrides
--- cppdb-0.3.1+dfsg/debian/libcppdb-mysql0.lintian-overrides   2018-08-23 

Bug#1061908: cppdb: NMU diff for 64-bit time_t transition

2024-02-04 Thread Tobias Frost
On Thu, Feb 01, 2024 at 12:45:20AM +, mwhud...@debian.org wrote:
> Source: cppdb
> Followup-For: Bug #1061908
> 
> Apologies, thanks to operator error (i.e. I messed up) the diff attached to
> this bug is not the one that was uploaded to experimental. Please see the 
> patch
> attached to this message.

Please commit it to the repository. 
A NMU out of the blue is already unfriendly enough, please don't push
the work to clean up to me. 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-15-generic (SMP w/16 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not 
> set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)

> diff -Nru cppdb-0.3.1+dfsg/debian/changelog cppdb-0.3.1+dfsg/debian/changelog
> --- cppdb-0.3.1+dfsg/debian/changelog 2021-10-19 14:21:37.0 +
> +++ cppdb-0.3.1+dfsg/debian/changelog 2024-01-30 09:50:40.0 +
> @@ -1,3 +1,10 @@
> +cppdb (0.3.1+dfsg-9.1~exp1) experimental; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Rename libraries for 64-bit time_t transition.
> +
> + -- Michael Hudson-Doyle   Tue, 30 Jan 2024 09:50:40 
> +
> +
>  cppdb (0.3.1+dfsg-9) unstable; urgency=medium
>  
>[ Ondřej Nový ]
> diff -Nru cppdb-0.3.1+dfsg/debian/control cppdb-0.3.1+dfsg/debian/control
> --- cppdb-0.3.1+dfsg/debian/control   2021-10-19 14:07:26.0 +
> +++ cppdb-0.3.1+dfsg/debian/control   2024-01-30 09:50:40.0 +
> @@ -18,11 +18,11 @@
>  Section: libdevel
>  Architecture: any
>  Multi-Arch: same
> -Depends: libcppdb-mysql0 (= ${binary:Version}),
> - libcppdb-odbc0 (= ${binary:Version}),
> - libcppdb-postgresql0 (= ${binary:Version}),
> - libcppdb-sqlite3-0 (= ${binary:Version}),
> - libcppdb0 (= ${binary:Version}),
> +Depends: libcppdb-mysql0t64 (= ${binary:Version}),
> + libcppdb-odbc0t64 (= ${binary:Version}),
> + libcppdb-postgresql0t64 (= ${binary:Version}),
> + libcppdb-sqlite3-0t64 (= ${binary:Version}),
> + libcppdb0t64 (= ${binary:Version}),
>   ${misc:Depends}
>  Description: SQL Connectivity Library (development files)
>   CppDB is an SQL connectivity library that is designed to provide platform 
> and
> @@ -46,15 +46,18 @@
>   .
>   This package contains the development files.
>  
> -Package: libcppdb0
> +Package: libcppdb0t64
> +Provides: ${t64:Provides}
> +Replaces: libcppdb0
> +Breaks: libcppdb0 (<< ${source:Version})
>  Architecture: any
>  Multi-Arch: same
>  Pre-Depends: ${misc:Pre-Depends}
>  Depends: ${misc:Depends}, ${shlibs:Depends}
> -Suggests: libcppdb-mysql0,
> -  libcppdb-odbc0,
> -  libcppdb-postgresql0,
> -  libcppdb-sqlite3-0
> +Suggests: libcppdb-mysql0t64,
> +  libcppdb-odbc0t64,
> +  libcppdb-postgresql0t64,
> +  libcppdb-sqlite3-0t64
>  Description: SQL Connectivity Library (core library)
>   CppDB is an SQL connectivity library that is designed to provide platform 
> and
>   Database independent connectivity API similarly to what JDBC, ODBC and other
> @@ -77,7 +80,10 @@
>   .
>   This package contains the core library
>  
> -Package: libcppdb-mysql0
> +Package: libcppdb-mysql0t64
> +Provides: ${t64:Provides}
> +Replaces: libcppdb-mysql0
> +Breaks: libcppdb-mysql0 (<< ${source:Version})
>  Architecture: any
>  Multi-Arch: same
>  Pre-Depends: ${misc:Pre-Depends}
> @@ -104,7 +110,10 @@
>   .
>   This package contains the MySQL backend
>  
> -Package: libcppdb-sqlite3-0
> +Package: libcppdb-sqlite3-0t64
> +Provides: ${t64:Provides}
> +Replaces: libcppdb-sqlite3-0
> +Breaks: libcppdb-sqlite3-0 (<< ${source:Version})
>  Architecture: any
>  Multi-Arch: same
>  Pre-Depends: ${misc:Pre-Depends}
> @@ -131,7 +140,10 @@
>   .
>   This package contains the sqlite3 backend
>  
> -Package: libcppdb-postgresql0
> +Package: libcppdb-postgresql0t64
> +Provides: ${t64:Provides}
> +Replaces: libcppdb-postgresql0
> +Breaks: libcppdb-postgresql0 (<< ${source:Version})
>  Architecture: any
>  Multi-Arch: same
>  Pre-Depends: ${misc:Pre-Depends}
> @@ -158,7 +170,10 @@
>   .
>   This package contains the PostgreSQL backend
>  
> -Package: libcppdb-odbc0
> +Package: libcppdb-odbc0t64
> +Provides: ${t64:Provides}
> +Replaces: libcppdb-odbc0
> +Breaks: libcppdb-odbc0 (<< ${source:Version})
>  Architecture: any
>  Multi-Arch: same
>  Pre-Depends: ${misc:Pre-Depends}
> diff -Nru cppdb-0.3.1+dfsg/debian/libcppdb0.install 
> cppdb-0.3.1+dfsg/debian/libcppdb0.install
> --- cppdb-0.3.1+dfsg/debian/libcppdb0.install 2018-04-05 19:10:53.0 
> +
> +++ cppdb-0.3.1+dfsg/debian/libcppdb0.install 1970-01-01 00:00:00.0 
> +
> @@ -1 +0,0 @@
> -usr/lib/*/libcppdb.so.*
> diff -Nru 

Bug#1061908: cppdb: NMU diff for 64-bit time_t transition

2024-01-31 Thread mwhudson
Source: cppdb
Followup-For: Bug #1061908

Apologies, thanks to operator error (i.e. I messed up) the diff attached to
this bug is not the one that was uploaded to experimental. Please see the patch
attached to this message.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-15-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru cppdb-0.3.1+dfsg/debian/changelog cppdb-0.3.1+dfsg/debian/changelog
--- cppdb-0.3.1+dfsg/debian/changelog   2021-10-19 14:21:37.0 +
+++ cppdb-0.3.1+dfsg/debian/changelog   2024-01-30 09:50:40.0 +
@@ -1,3 +1,10 @@
+cppdb (0.3.1+dfsg-9.1~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Michael Hudson-Doyle   Tue, 30 Jan 2024 09:50:40 +
+
 cppdb (0.3.1+dfsg-9) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru cppdb-0.3.1+dfsg/debian/control cppdb-0.3.1+dfsg/debian/control
--- cppdb-0.3.1+dfsg/debian/control 2021-10-19 14:07:26.0 +
+++ cppdb-0.3.1+dfsg/debian/control 2024-01-30 09:50:40.0 +
@@ -18,11 +18,11 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libcppdb-mysql0 (= ${binary:Version}),
- libcppdb-odbc0 (= ${binary:Version}),
- libcppdb-postgresql0 (= ${binary:Version}),
- libcppdb-sqlite3-0 (= ${binary:Version}),
- libcppdb0 (= ${binary:Version}),
+Depends: libcppdb-mysql0t64 (= ${binary:Version}),
+ libcppdb-odbc0t64 (= ${binary:Version}),
+ libcppdb-postgresql0t64 (= ${binary:Version}),
+ libcppdb-sqlite3-0t64 (= ${binary:Version}),
+ libcppdb0t64 (= ${binary:Version}),
  ${misc:Depends}
 Description: SQL Connectivity Library (development files)
  CppDB is an SQL connectivity library that is designed to provide platform and
@@ -46,15 +46,18 @@
  .
  This package contains the development files.
 
-Package: libcppdb0
+Package: libcppdb0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb0
+Breaks: libcppdb0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}
-Suggests: libcppdb-mysql0,
-  libcppdb-odbc0,
-  libcppdb-postgresql0,
-  libcppdb-sqlite3-0
+Suggests: libcppdb-mysql0t64,
+  libcppdb-odbc0t64,
+  libcppdb-postgresql0t64,
+  libcppdb-sqlite3-0t64
 Description: SQL Connectivity Library (core library)
  CppDB is an SQL connectivity library that is designed to provide platform and
  Database independent connectivity API similarly to what JDBC, ODBC and other
@@ -77,7 +80,10 @@
  .
  This package contains the core library
 
-Package: libcppdb-mysql0
+Package: libcppdb-mysql0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb-mysql0
+Breaks: libcppdb-mysql0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -104,7 +110,10 @@
  .
  This package contains the MySQL backend
 
-Package: libcppdb-sqlite3-0
+Package: libcppdb-sqlite3-0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb-sqlite3-0
+Breaks: libcppdb-sqlite3-0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -131,7 +140,10 @@
  .
  This package contains the sqlite3 backend
 
-Package: libcppdb-postgresql0
+Package: libcppdb-postgresql0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb-postgresql0
+Breaks: libcppdb-postgresql0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -158,7 +170,10 @@
  .
  This package contains the PostgreSQL backend
 
-Package: libcppdb-odbc0
+Package: libcppdb-odbc0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb-odbc0
+Breaks: libcppdb-odbc0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
diff -Nru cppdb-0.3.1+dfsg/debian/libcppdb0.install 
cppdb-0.3.1+dfsg/debian/libcppdb0.install
--- cppdb-0.3.1+dfsg/debian/libcppdb0.install   2018-04-05 19:10:53.0 
+
+++ cppdb-0.3.1+dfsg/debian/libcppdb0.install   1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/libcppdb.so.*
diff -Nru cppdb-0.3.1+dfsg/debian/libcppdb0.lintian-overrides 
cppdb-0.3.1+dfsg/debian/libcppdb0.lintian-overrides
--- cppdb-0.3.1+dfsg/debian/libcppdb0.lintian-overrides 2018-08-23 
17:51:25.0 +
+++ cppdb-0.3.1+dfsg/debian/libcppdb0.lintian-overrides 1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-libcppdb0: no-symbols-control-file usr/lib/x86_64-linux-gnu/libcppdb.so.0.3.1
diff -Nru cppdb-0.3.1+dfsg/debian/libcppdb0t64.install 
cppdb-0.3.1+dfsg/debian/libcppdb0t64.install
--- 

Bug#1061908: cppdb: NMU diff for 64-bit time_t transition

2024-01-30 Thread Tobias Frost
Hi,

It seems that I've missed the MBF announcement…

regarding the NMU, please go ahead, but make it a Team upload (it is in the
Debian salsa namespace, so this shouldnt be a NMU) and commit your changes to
the repository.

Thanks

--
tobi

Am Tue, Jan 30, 2024 at 01:26:06AM + schrieb mwhud...@debian.org:
> Source: cppdb
> Version: 0.3.1+dfsg-9
> 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
> cppdb 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 cppdb
> 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'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 6.5.0-15-generic (SMP w/16 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not 
> set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)

> diff -Nru cppdb-0.3.1+dfsg/debian/changelog cppdb-0.3.1+dfsg/debian/changelog
> --- cppdb-0.3.1+dfsg/debian/changelog 2021-10-19 14:21:37.0 +
> +++ cppdb-0.3.1+dfsg/debian/changelog 2024-01-30 01:25:56.0 +
> @@ -1,3 +1,10 @@
> +cppdb (0.3.1+dfsg-9.1) experimental; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Rename libraries for 64-bit time_t transition.
> +
> + -- Michael Hudson-Doyle   Tue, 30 Jan 2024 01:25:56 
> +
> +
>  cppdb (0.3.1+dfsg-9) unstable; urgency=medium
>  
>[ Ondřej Nový ]
> diff -Nru cppdb-0.3.1+dfsg/debian/control cppdb-0.3.1+dfsg/debian/control
> --- cppdb-0.3.1+dfsg/debian/control   2021-10-19 14:07:26.0 +
> +++ cppdb-0.3.1+dfsg/debian/control   2024-01-30 01:25:56.0 +
> @@ -46,7 +46,10 @@
>   .
>   This package contains the development files.
>  
> -Package: libcppdb0
> +Package: libcppdb0t64
> +Provides: ${t64:Provides}
> +Replaces: libcppdb0
> +Breaks: libcppdb0 (<< ${source:Version})
>  Architecture: any
>  Multi-Arch: same
>  Pre-Depends: ${misc:Pre-Depends}
> @@ -77,7 +80,10 @@
>   .
>   This package contains the core library
>  
> -Package: libcppdb-mysql0
> +Package: libcppdb-mysql0t64
> +Provides: ${t64:Provides}
> +Replaces: libcppdb-mysql0
> +Breaks: libcppdb-mysql0 (<< ${source:Version})
>  Architecture: any
>  Multi-Arch: same
>  Pre-Depends: ${misc:Pre-Depends}
> @@ -104,7 +110,10 @@
>   .
>   This package contains the MySQL backend
>  
> -Package: libcppdb-sqlite3-0
> +Package: libcppdb-sqlite3-0t64
> +Provides: ${t64:Provides}
> +Replaces: libcppdb-sqlite3-0
> +Breaks: libcppdb-sqlite3-0 (<< ${source:Version})
>  Architecture: any
>  Multi-Arch: same
>  Pre-Depends: ${misc:Pre-Depends}
> @@ -131,7 +140,10 @@
>   .
>   This package contains the sqlite3 backend
>  
> -Package: libcppdb-postgresql0
> +Package: libcppdb-postgresql0t64
> +Provides: ${t64:Provides}
> +Replaces: libcppdb-postgresql0
> +Breaks: libcppdb-postgresql0 (<< ${source:Version})
>  Architecture: any
>  Multi-Arch: same
>  Pre-Depends: ${misc:Pre-Depends}
> @@ -158,7 +170,10 @@
>   .
>   This package contains the PostgreSQL backend
>  
> -Package: libcppdb-odbc0
> +Package: libcppdb-odbc0t64
> +Provides: ${t64:Provides}
> +Replaces: libcppdb-odbc0
> +Breaks: libcppdb-odbc0 (<< ${source:Version})
>  Architecture: any
>  Multi-Arch: same
>  Pre-Depends: ${misc:Pre-Depends}
> diff -Nru cppdb-0.3.1+dfsg/debian/libcppdb0.install 
> cppdb-0.3.1+dfsg/debian/libcppdb0.install
> --- 

Bug#1061908: cppdb: NMU diff for 64-bit time_t transition

2024-01-29 Thread mwhudson
Source: cppdb
Version: 0.3.1+dfsg-9
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
cppdb 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 cppdb
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'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-15-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru cppdb-0.3.1+dfsg/debian/changelog cppdb-0.3.1+dfsg/debian/changelog
--- cppdb-0.3.1+dfsg/debian/changelog   2021-10-19 14:21:37.0 +
+++ cppdb-0.3.1+dfsg/debian/changelog   2024-01-30 01:25:56.0 +
@@ -1,3 +1,10 @@
+cppdb (0.3.1+dfsg-9.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Michael Hudson-Doyle   Tue, 30 Jan 2024 01:25:56 +
+
 cppdb (0.3.1+dfsg-9) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru cppdb-0.3.1+dfsg/debian/control cppdb-0.3.1+dfsg/debian/control
--- cppdb-0.3.1+dfsg/debian/control 2021-10-19 14:07:26.0 +
+++ cppdb-0.3.1+dfsg/debian/control 2024-01-30 01:25:56.0 +
@@ -46,7 +46,10 @@
  .
  This package contains the development files.
 
-Package: libcppdb0
+Package: libcppdb0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb0
+Breaks: libcppdb0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -77,7 +80,10 @@
  .
  This package contains the core library
 
-Package: libcppdb-mysql0
+Package: libcppdb-mysql0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb-mysql0
+Breaks: libcppdb-mysql0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -104,7 +110,10 @@
  .
  This package contains the MySQL backend
 
-Package: libcppdb-sqlite3-0
+Package: libcppdb-sqlite3-0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb-sqlite3-0
+Breaks: libcppdb-sqlite3-0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -131,7 +140,10 @@
  .
  This package contains the sqlite3 backend
 
-Package: libcppdb-postgresql0
+Package: libcppdb-postgresql0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb-postgresql0
+Breaks: libcppdb-postgresql0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -158,7 +170,10 @@
  .
  This package contains the PostgreSQL backend
 
-Package: libcppdb-odbc0
+Package: libcppdb-odbc0t64
+Provides: ${t64:Provides}
+Replaces: libcppdb-odbc0
+Breaks: libcppdb-odbc0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
diff -Nru cppdb-0.3.1+dfsg/debian/libcppdb0.install 
cppdb-0.3.1+dfsg/debian/libcppdb0.install
--- cppdb-0.3.1+dfsg/debian/libcppdb0.install   2018-04-05 19:10:53.0 
+
+++ cppdb-0.3.1+dfsg/debian/libcppdb0.install   1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/libcppdb.so.*
diff -Nru cppdb-0.3.1+dfsg/debian/libcppdb0.lintian-overrides 
cppdb-0.3.1+dfsg/debian/libcppdb0.lintian-overrides
--- cppdb-0.3.1+dfsg/debian/libcppdb0.lintian-overrides 2018-08-23 
17:51:25.0 +
+++ cppdb-0.3.1+dfsg/debian/libcppdb0.lintian-overrides 1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-libcppdb0: no-symbols-control-file