Bug#1061904: cpdb-libs: NMU diff for 64-bit time_t transition
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 cpdb-libs-2.0~b5/debian/changelog cpdb-libs-2.0~b5/debian/changelog --- cpdb-libs-2.0~b5/debian/changelog 2024-02-16 23:29:17.0 + +++ cpdb-libs-2.0~b5/debian/changelog 2024-02-28 17:35:17.0 + @@ -1,3 +1,10 @@ +cpdb-libs (2.0~b5-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. Closes: #1061904 + + -- Steve Langasek Wed, 28 Feb 2024 17:35:17 + + cpdb-libs (2.0~b5-1) unstable; urgency=medium * New upstream release. diff -Nru cpdb-libs-2.0~b5/debian/control cpdb-libs-2.0~b5/debian/control --- cpdb-libs-2.0~b5/debian/control 2024-02-16 23:29:17.0 + +++ cpdb-libs-2.0~b5/debian/control 2024-02-28 17:35:17.0 + @@ -4,7 +4,7 @@ Maintainer: Debian Printing Team Uploaders: Till Kamppeter , Thorsten Alteholz -Build-Depends: debhelper-compat (=13) +Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (=13) , autoconf , pkg-config , sharutils @@ -18,7 +18,10 @@ Vcs-Browser: https://salsa.debian.org/printing-team/cpdb-libs Vcs-Git: https://salsa.debian.org/printing-team/cpdb-libs.git -Package: libcpdb2 +Package: libcpdb2t64 +Provides: ${t64:Provides} +Replaces: libcpdb2 +Breaks: libcpdb2 (<< ${source:Version}) Section: libs Architecture: any Pre-Depends: ${misc:Pre-Depends} @@ -42,12 +45,15 @@ This package contains the library which provides the functions needed by both the frontends and the backends. -Package: libcpdb-frontend2 +Package: libcpdb-frontend2t64 +Provides: ${t64:Provides} +Replaces: libcpdb-frontend2 +Breaks: libcpdb-frontend2 (<< ${source:Version}) Section: libs Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, - libcpdb2 (= ${binary:Version}) + libcpdb2t64 (= ${binary:Version}) Multi-Arch: same Description: Common Print Dialog Backends - Interface Library for Frontends The Common Print Dialog Backends project provides a D-Bus interface @@ -72,7 +78,7 @@ Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, - libcpdb2 (= ${binary:Version}), + libcpdb2t64 (= ${binary:Version}), libcpdb-dev (= ${binary:Version}) Description: Common Print Dialog Backends - Development files for Backend Library The Common Print Dialog Backends project provides a D-Bus interface @@ -97,8 +103,8 @@ Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, - libcpdb-frontend2 (= ${binary:Version}), - libcpdb2 (= ${binary:Version}), + libcpdb-frontend2t64 (= ${binary:Version}), + libcpdb2t64 (= ${binary:Version}), libcpdb-dev (= ${binary:Version}) Description: Common Print Dialog Backends - Development files for Frontend Library The Common Print Dialog Backends project provides a D-Bus interface @@ -124,7 +130,7 @@ Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, - libcpdb2 (= ${binary:Version}) + libcpdb2t64 (= ${binary:Version}) Description: Common Print Dialog Backends - Development files for both libraries The Common Print Dialog Backends project provides a D-Bus interface so that the print dialogs of GUI applications and the communication @@ -146,7 +152,7 @@ Package: cpdb-libs-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, - libcpdb2 (= ${binary:Version}) + libcpdb2t64 (= ${binary:Version}) Breaks: libcpdb-libs-common-dev (<< 1.2.0-1~), libcpdb-libs-tools (<< 2~) Replaces: libcpdb-libs-common-dev (<< 1.2.0-1~), diff -Nru cpdb-libs-2.0~b5/debian/libcpdb-frontend2.install cpdb-libs-2.0~b5/debian/libcpdb-frontend2.install --- cpdb-libs-2.0~b5/debian/libcpdb-frontend2.install 2024-02-16 23:29:17.0 + +++ cpdb-libs-2.0~b5/debian/libcpdb-frontend2.install 1970-01-01 00:00:00.0 + @@ -1 +0,0 @@ -usr/lib/*/libcpdb-frontend.so.* diff -Nru cpdb-libs-2.0~b5/debian/libcpdb-frontend2.symbols cpdb-libs-2.0~b5/debian/libcpdb-frontend2.symbols --- cpdb-libs-2.0~b5/debian/libcpdb-frontend2.symbols 2024-02-16 23:29:17.0 + +++ cpdb-libs-2.0~b5/debian/libcpdb-frontend2.symbols 1970-01-01 00:00:00.0 + @@ -1,110 +0,0 @@ -libcpdb-frontend.so.2 libcpdb-frontend2 #MINVER# -* Build-Depends-Package: libcpdb-frontend-dev
Bug#1061904: cpdb-libs: NMU diff for 64-bit time_t transition
Source: cpdb-libs Followup-For: Bug #1061904 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 cpdb-libs-1.2.0/debian/changelog cpdb-libs-1.2.0/debian/changelog --- cpdb-libs-1.2.0/debian/changelog2023-06-27 20:03:02.0 + +++ cpdb-libs-1.2.0/debian/changelog2024-01-30 07:10:27.0 + @@ -1,3 +1,10 @@ +cpdb-libs (1.2.0-3.1~exp1) experimental; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. + + -- Michael Hudson-Doyle Tue, 30 Jan 2024 07:10:27 + + cpdb-libs (1.2.0-3) unstable; urgency=medium * CVE-2023-34095 (Closes: #1038253) diff -Nru cpdb-libs-1.2.0/debian/control cpdb-libs-1.2.0/debian/control --- cpdb-libs-1.2.0/debian/control 2023-06-27 20:03:02.0 + +++ cpdb-libs-1.2.0/debian/control 2024-01-30 07:10:27.0 + @@ -17,7 +17,10 @@ Vcs-Browser: https://salsa.debian.org/printing-team/cpdb-libs Vcs-Git: https://salsa.debian.org/printing-team/cpdb-libs.git -Package: libcpdb-libs-common1 +Package: libcpdb-libs-common1t64 +Provides: ${t64:Provides} +Replaces: libcpdb-libs-common1 +Breaks: libcpdb-libs-common1 (<< ${source:Version}) Section: libs Architecture: any Pre-Depends: ${misc:Pre-Depends} @@ -41,12 +44,15 @@ This package contains the library which provides the functions needed by both the frontends and the backends. -Package: libcpdb-libs-frontend1 +Package: libcpdb-libs-frontend1t64 +Provides: ${t64:Provides} +Replaces: libcpdb-libs-frontend1 +Breaks: libcpdb-libs-frontend1 (<< ${source:Version}) Section: libs Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, - libcpdb-libs-common1 (= ${binary:Version}) + libcpdb-libs-common1t64 (= ${binary:Version}) Multi-Arch: same Description: Common Print Dialog Backends - Interface Library for Frontends The Common Print Dialog Backends project provides a D-Bus interface @@ -71,7 +77,7 @@ Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, - libcpdb-libs-common1 (= ${binary:Version}), + libcpdb-libs-common1t64 (= ${binary:Version}), libcpdb-libs-common-dev (= ${binary:Version}) Description: Common Print Dialog Backends - Development files for Backend Library The Common Print Dialog Backends project provides a D-Bus interface @@ -96,8 +102,8 @@ Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, - libcpdb-libs-frontend1 (= ${binary:Version}), - libcpdb-libs-common1 (= ${binary:Version}), + libcpdb-libs-frontend1t64 (= ${binary:Version}), + libcpdb-libs-common1t64 (= ${binary:Version}), libcpdb-libs-common-dev (= ${binary:Version}) Description: Common Print Dialog Backends - Development files for Frontend Library The Common Print Dialog Backends project provides a D-Bus interface @@ -123,7 +129,7 @@ Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, - libcpdb-libs-common1 (= ${binary:Version}) + libcpdb-libs-common1t64 (= ${binary:Version}) Description: Common Print Dialog Backends - Development files for both libraries The Common Print Dialog Backends project provides a D-Bus interface so that the print dialogs of GUI applications and the communication @@ -146,7 +152,7 @@ Package: libcpdb-libs-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, - libcpdb-libs-common1 (= ${binary:Version}) + libcpdb-libs-common1t64 (= ${binary:Version}) # The Breaks/Replaces can be dropped after Ubuntu 24.04 LTS (April 2024) Breaks: libcpdb-libs-common-dev (<< 1.2.0-1~) Replaces: libcpdb-libs-common-dev (<< 1.2.0-1~) diff -Nru cpdb-libs-1.2.0/debian/libcpdb-libs-common1.install cpdb-libs-1.2.0/debian/libcpdb-libs-common1.install --- cpdb-libs-1.2.0/debian/libcpdb-libs-common1.install 2023-06-27 20:03:02.0 + +++ cpdb-libs-1.2.0/debian/libcpdb-libs-common1.install 1970-01-01 00:00:00.0 + @@ -1 +0,0 @@ -usr/lib/*/*ommon.so.* diff -Nru cpdb-libs-1.2.0/debian/libcpdb-libs-common1.symbols cpdb-libs-1.2.0/debian/libcpdb-libs-common1.symbols --- cpdb-libs-1.2.0/debian/libcpdb-libs-common1.symbols 2023-06-27 20:03:02.0 + +++ cpdb-libs-1.2.0/debian/libcpdb-libs-common1.symbols 1970-01-01 00:00:00.0 + @@ -1,92 +0,0 @@ -libcpdb-libs-common.so.1 libcpdb-libs-common1 #MINVER# -* Build-Depends-Package: libcpdb-libs-common-dev -
Bug#1061904: cpdb-libs: NMU diff for 64-bit time_t transition
Source: cpdb-libs Version: 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 cpdb-libs 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 cpdb-libs 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 cpdb-libs-1.2.0/debian/changelog cpdb-libs-1.2.0/debian/changelog --- cpdb-libs-1.2.0/debian/changelog2023-06-27 20:03:02.0 + +++ cpdb-libs-1.2.0/debian/changelog2024-01-30 01:24:37.0 + @@ -1,3 +1,10 @@ +cpdb-libs (1.2.0-3.1) experimental; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. + + -- Michael Hudson-Doyle Tue, 30 Jan 2024 01:24:37 + + cpdb-libs (1.2.0-3) unstable; urgency=medium * CVE-2023-34095 (Closes: #1038253) diff -Nru cpdb-libs-1.2.0/debian/control cpdb-libs-1.2.0/debian/control --- cpdb-libs-1.2.0/debian/control 2023-06-27 20:03:02.0 + +++ cpdb-libs-1.2.0/debian/control 2024-01-30 01:24:37.0 + @@ -17,7 +17,10 @@ Vcs-Browser: https://salsa.debian.org/printing-team/cpdb-libs Vcs-Git: https://salsa.debian.org/printing-team/cpdb-libs.git -Package: libcpdb-libs-common1 +Package: libcpdb-libs-common1t64 +Provides: ${t64:Provides} +Replaces: libcpdb-libs-common1 +Breaks: libcpdb-libs-common1 (<< ${source:Version}) Section: libs Architecture: any Pre-Depends: ${misc:Pre-Depends} @@ -41,7 +44,10 @@ This package contains the library which provides the functions needed by both the frontends and the backends. -Package: libcpdb-libs-frontend1 +Package: libcpdb-libs-frontend1t64 +Provides: ${t64:Provides} +Replaces: libcpdb-libs-frontend1 +Breaks: libcpdb-libs-frontend1 (<< ${source:Version}) Section: libs Architecture: any Pre-Depends: ${misc:Pre-Depends} diff -Nru cpdb-libs-1.2.0/debian/libcpdb-libs-common1.install cpdb-libs-1.2.0/debian/libcpdb-libs-common1.install --- cpdb-libs-1.2.0/debian/libcpdb-libs-common1.install 2023-06-27 20:03:02.0 + +++ cpdb-libs-1.2.0/debian/libcpdb-libs-common1.install 1970-01-01 00:00:00.0 + @@ -1 +0,0 @@ -usr/lib/*/*ommon.so.* diff -Nru cpdb-libs-1.2.0/debian/libcpdb-libs-common1.symbols cpdb-libs-1.2.0/debian/libcpdb-libs-common1.symbols --- cpdb-libs-1.2.0/debian/libcpdb-libs-common1.symbols 2023-06-27 20:03:02.0 + +++ cpdb-libs-1.2.0/debian/libcpdb-libs-common1.symbols 1970-01-01 00:00:00.0 + @@ -1,92 +0,0 @@ -libcpdb-libs-common.so.1 libcpdb-libs-common1 #MINVER# -* Build-Depends-Package: libcpdb-libs-common-dev - extract_file_name@Base 1.2.0 - get_absolute_path@Base 1.2.0 - get_boolean@Base 1.2.0 - get_string_copy@Base 1.2.0 - pack_string_array@Base 1.2.0 - print_backend_call_activate_backend@Base 1.2.0 - print_backend_call_activate_backend_finish@Base 1.2.0 - print_backend_call_activate_backend_sync@Base 1.2.0 - print_backend_call_cancel_job@Base 1.2.0 - print_backend_call_cancel_job_finish@Base 1.2.0 - print_backend_call_cancel_job_sync@Base 1.2.0 - print_backend_call_get_active_jobs_count@Base 1.2.0 - print_backend_call_get_active_jobs_count_finish@Base 1.2.0 -