Bug#1062285: libevent: NMU diff for 64-bit time_t transition
Source: libevent 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 libevent-2.1.12-stable/debian/changelog libevent-2.1.12-stable/debian/changelog --- libevent-2.1.12-stable/debian/changelog 2023-01-04 20:28:26.0 + +++ libevent-2.1.12-stable/debian/changelog 2024-02-28 11:43:20.0 + @@ -1,3 +1,10 @@ +libevent (2.1.12-stable-8.1) unstable; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. Closes: #1062285 + + -- Benjamin Drung Wed, 28 Feb 2024 11:43:20 + + libevent (2.1.12-stable-8) unstable; urgency=medium * Upload to unstable diff -Nru libevent-2.1.12-stable/debian/control libevent-2.1.12-stable/debian/control --- libevent-2.1.12-stable/debian/control 2023-01-04 20:28:26.0 + +++ libevent-2.1.12-stable/debian/control 2024-02-28 11:43:20.0 + @@ -2,7 +2,7 @@ Maintainer: Nicolas Mora Section: libs Priority: optional -Build-Depends: debhelper-compat (= 13), +Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), libssl-dev Standards-Version: 4.6.2 Vcs-Git: https://salsa.debian.org/debian/libevent.git -b master @@ -14,11 +14,11 @@ Architecture: any Section: libdevel Depends: ${misc:Depends}, - libevent-2.1-7 (= ${binary:Version}), - libevent-core-2.1-7 (= ${binary:Version}), - libevent-extra-2.1-7 (= ${binary:Version}), - libevent-pthreads-2.1-7 (= ${binary:Version}), - libevent-openssl-2.1-7 (= ${binary:Version}) + libevent-2.1-7t64 (= ${binary:Version}), + libevent-core-2.1-7t64 (= ${binary:Version}), + libevent-extra-2.1-7t64 (= ${binary:Version}), + libevent-pthreads-2.1-7t64 (= ${binary:Version}), + libevent-openssl-2.1-7t64 (= ${binary:Version}) Description: Asynchronous event notification library (development files) Libevent is an asynchronous event notification library that provides a mechanism to execute a callback function when a specific event occurs @@ -26,7 +26,10 @@ . This package includes development files for compiling against libevent. -Package: libevent-2.1-7 +Package: libevent-2.1-7t64 +Provides: ${t64:Provides} +Replaces: libevent-2.1-7 +Breaks: libevent-2.1-7 (<< ${source:Version}) Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, @@ -46,7 +49,10 @@ the libevent library that includes everything in libevent_core and libevent_extra. -Package: libevent-core-2.1-7 +Package: libevent-core-2.1-7t64 +Provides: ${t64:Provides} +Replaces: libevent-core-2.1-7 +Breaks: libevent-core-2.1-7 (<< ${source:Version}) Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, @@ -67,12 +73,15 @@ If you're writing software that only uses libevent's event loop, you should link against only the libevent_core library. -Package: libevent-extra-2.1-7 +Package: libevent-extra-2.1-7t64 +Provides: ${t64:Provides} +Replaces: libevent-extra-2.1-7 +Breaks: libevent-extra-2.1-7 (<< ${source:Version}) Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, - libevent-core-2.1-7 (= ${binary:Version}) + libevent-core-2.1-7t64 (= ${binary:Version}) Pre-Depends: ${misc:Pre-Depends} Description: Asynchronous event notification library (extra) Libevent is an asynchronous event notification library that provides a @@ -89,12 +98,15 @@ If you're writing software that uses libevent's protocol support, you need to link libevent_core and libevent_extra as well. -Package: libevent-pthreads-2.1-7 +Package: libevent-pthreads-2.1-7t64 +Provides: ${t64:Provides} +Replaces: libevent-pthreads-2.1-7 +Breaks: libevent-pthreads-2.1-7 (<< ${source:Version}) Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, - libevent-core-2.1-7 (= ${binary:Version}) + libevent-core-2.1-7t64 (= ${binary:Version}) Pre-Depends: ${misc:Pre-Depends} Description: Asynchronous event notification library (pthreads) Libevent is an asynchronous event notification library that provides a @@ -109,12 +121,15 @@ to link against the libevent_pthreads library in addition to libevent_core. -Package: libevent-openssl-2.1-7 +Package: libevent-openssl-2.1-7t64 +Provides: ${t64:Provides} +Replaces:
Bug#1062285: libevent: NMU diff for 64-bit time_t transition
Source: libevent Version: 2.1.12-stable-8 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 libevent 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 libevent 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'), (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 libevent-2.1.12-stable/debian/changelog libevent-2.1.12-stable/debian/changelog --- libevent-2.1.12-stable/debian/changelog 2023-01-04 20:28:26.0 + +++ libevent-2.1.12-stable/debian/changelog 2024-02-01 00:12:50.0 + @@ -1,3 +1,10 @@ +libevent (2.1.12-stable-8.1) experimental; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. + + -- Steve Langasek Thu, 01 Feb 2024 00:12:50 + + libevent (2.1.12-stable-8) unstable; urgency=medium * Upload to unstable diff -Nru libevent-2.1.12-stable/debian/control libevent-2.1.12-stable/debian/control --- libevent-2.1.12-stable/debian/control 2023-01-04 20:28:26.0 + +++ libevent-2.1.12-stable/debian/control 2024-02-01 00:12:50.0 + @@ -14,11 +14,11 @@ Architecture: any Section: libdevel Depends: ${misc:Depends}, - libevent-2.1-7 (= ${binary:Version}), - libevent-core-2.1-7 (= ${binary:Version}), - libevent-extra-2.1-7 (= ${binary:Version}), - libevent-pthreads-2.1-7 (= ${binary:Version}), - libevent-openssl-2.1-7 (= ${binary:Version}) + libevent-2.1-7t64 (= ${binary:Version}), + libevent-core-2.1-7t64 (= ${binary:Version}), + libevent-extra-2.1-7t64 (= ${binary:Version}), + libevent-pthreads-2.1-7t64 (= ${binary:Version}), + libevent-openssl-2.1-7t64 (= ${binary:Version}) Description: Asynchronous event notification library (development files) Libevent is an asynchronous event notification library that provides a mechanism to execute a callback function when a specific event occurs @@ -26,7 +26,10 @@ . This package includes development files for compiling against libevent. -Package: libevent-2.1-7 +Package: libevent-2.1-7t64 +Provides: ${t64:Provides} +Replaces: libevent-2.1-7 +Breaks: libevent-2.1-7 (<< ${source:Version}) Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, @@ -46,7 +49,10 @@ the libevent library that includes everything in libevent_core and libevent_extra. -Package: libevent-core-2.1-7 +Package: libevent-core-2.1-7t64 +Provides: ${t64:Provides} +Replaces: libevent-core-2.1-7 +Breaks: libevent-core-2.1-7 (<< ${source:Version}) Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, @@ -67,12 +73,15 @@ If you're writing software that only uses libevent's event loop, you should link against only the libevent_core library. -Package: libevent-extra-2.1-7 +Package: libevent-extra-2.1-7t64 +Provides: ${t64:Provides} +Replaces: libevent-extra-2.1-7 +Breaks: libevent-extra-2.1-7 (<< ${source:Version}) Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, - libevent-core-2.1-7 (= ${binary:Version}) + libevent-core-2.1-7t64 (= ${binary:Version}) Pre-Depends: ${misc:Pre-Depends} Description: