Bug#1062498: liboop: 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')
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 liboop-1.0.1/debian/changelog liboop-1.0.1/debian/changelog
--- liboop-1.0.1/debian/changelog   2021-01-02 15:48:15.0 +
+++ liboop-1.0.1/debian/changelog   2024-03-01 05:38:17.0 +
@@ -1,3 +1,10 @@
+liboop (1.0.1-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062498
+
+ -- Steve Langasek   Fri, 01 Mar 2024 05:38:17 +
+
 liboop (1.0.1-2.1) unstable; urgency=medium
 
   * Non maintainer upload by the Reproducible Builds team.
diff -Nru liboop-1.0.1/debian/control liboop-1.0.1/debian/control
--- liboop-1.0.1/debian/control 2018-09-30 20:09:14.0 +
+++ liboop-1.0.1/debian/control 2024-03-01 05:38:16.0 +
@@ -2,19 +2,20 @@
 Section: libs
 Priority: optional
 Maintainer: Magnus Holmgren 
-Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 9), libtool,
+Build-Depends: dpkg-dev (>= 1.22.5), dpkg-dev (>= 1.15.7), debhelper (>= 9), 
libtool,
  dh-autoreconf, autoconf, automake, libadns1-dev, libglib2.0-dev,
  libreadline-dev, tcl-dev
 Standards-Version: 3.9.8
 Homepage: http://www.lysator.liu.se/liboop/
 
-Package: liboop4
+Package: liboop4t64
+Breaks: liboop4 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Provides: liboop
-Replaces: liboop3
+Provides: ${t64:Provides}, liboop
+Replaces: liboop4, liboop3
 Description: Event loop management library
  Liboop is a low-level event loop management library for POSIX-based
  operating systems. It supports the development of modular, multiplexed
@@ -28,7 +29,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: liboop4 (= ${binary:Version}), ${misc:Depends}
+Depends: liboop4t64 (= ${binary:Version}), ${misc:Depends}
 Description: Event loop management library - development files
  Liboop is a low-level event loop management library for POSIX-based
  operating systems. It supports the development of modular, multiplexed
diff -Nru liboop-1.0.1/debian/liboop4.install 
liboop-1.0.1/debian/liboop4.install
--- liboop-1.0.1/debian/liboop4.install 2018-09-30 20:09:14.0 +
+++ liboop-1.0.1/debian/liboop4.install 1970-01-01 00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/liboop*.so.*
diff -Nru liboop-1.0.1/debian/liboop4.symbols 
liboop-1.0.1/debian/liboop4.symbols
--- liboop-1.0.1/debian/liboop4.symbols 2017-01-11 19:03:35.0 +
+++ liboop-1.0.1/debian/liboop4.symbols 1970-01-01 00:00:00.0 +
@@ -1,49 +0,0 @@
-liboop-adns.so.3 liboop4 #MINVER#
- oop_adns_cancel@Base 1.0~
- oop_adns_delete@Base 1.0~
- oop_adns_new@Base 1.0~
- oop_adns_submit@Base 1.0~
- oop_adns_submit_reverse@Base 1.0~
-liboop-glib2.so.0 liboop4 #MINVER#
- oop_glib_delete@Base 1.0~
- oop_glib_new@Base 1.0~
- oop_glib_return@Base 1.0~
-liboop-rl.so.0 liboop4 #MINVER#
- oop_readline_cancel@Base 1.0~
- oop_readline_register@Base 1.0~
-liboop-tcl.so.0 liboop4 #MINVER#
- oop_tcl_done@Base 1.0~
- oop_tcl_new@Base 1.0~
-liboop.so.4 liboop4 #MINVER#
- OOP_RD_STYLE_BLOCK@Base 1.0~
- OOP_RD_STYLE_GETLINE@Base 1.0~
- OOP_RD_STYLE_IMMED@Base 1.0~
- _oop_continue@Base 1.0~
- _oop_error@Base 1.0~
- oop_fd_nonblock@Base 1.0~
- oop_free@Base 1.0~
- oop_malloc@Base 1.0~
- oop_rd_cancel@Base 1.0~
- oop_rd_delete@Base 1.0~
- oop_rd_delete_kill@Base 1.0~
- oop_rd_delete_tidy@Base 1.0~
- oop_rd_errmsg@Base 1.0~
- oop_rd_new@Base 1.0~
- oop_rd_new_fd@Base 1.0~
- oop_rd_read@Base 1.0~
- oop_readable_fd@Base 1.0~
- oop_readable_mem@Base 1.0~
- oop_realloc@Base 1.0~
- oop_select_delete@Base 1.0~
- oop_select_new@Base 1.0~
- oop_select_set@Base 1.0~
- oop_signal_delete@Base 1.0~
- oop_signal_new@Base 1.0~
- oop_signal_new_flags@Base 1.0.1~
- oop_signal_source@Base 1.0~
- oop_sys_delete@Base 1.0~
- oop_sys_new@Base 1.0~
- oop_sys_run@Base 1.0~
- oop_sys_run_once@Base 1.0~
- oop_sys_source@Base 1.0~
- sys_sig_owner@Base 1.0~
diff -Nru liboop-1.0.1/debian/liboop4t64.install 
liboop-1.0.1/debian/liboop4t64.install
--- liboop-1.0.1/debian/liboop4t64.install  1970-01-01 00:00:00.0 
+
+++ liboop-1.0.1/debian/liboop4t64.install  2018-09-30 20:09:14.0 
+
@@ -0,0 +1 @@
+usr/lib/*/liboop*.so.*
diff -Nru liboop-1.0.1/debian/liboop4t64.lintian-overrides 

Bug#1062498: liboop: NMU diff for 64-bit time_t transition

2024-02-01 Thread Steve Langasek
Source: liboop
Version: 1.0.1-2.1
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
liboop 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 liboop
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 liboop-1.0.1/debian/changelog liboop-1.0.1/debian/changelog
--- liboop-1.0.1/debian/changelog   2021-01-02 15:48:15.0 +
+++ liboop-1.0.1/debian/changelog   2024-02-01 17:26:54.0 +
@@ -1,3 +1,10 @@
+liboop (1.0.1-2.2) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Thu, 01 Feb 2024 17:26:54 +
+
 liboop (1.0.1-2.1) unstable; urgency=medium
 
   * Non maintainer upload by the Reproducible Builds team.
diff -Nru liboop-1.0.1/debian/control liboop-1.0.1/debian/control
--- liboop-1.0.1/debian/control 2018-09-30 20:09:14.0 +
+++ liboop-1.0.1/debian/control 2024-02-01 17:26:53.0 +
@@ -8,13 +8,14 @@
 Standards-Version: 3.9.8
 Homepage: http://www.lysator.liu.se/liboop/
 
-Package: liboop4
+Package: liboop4t64
+Breaks: liboop4 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Provides: liboop
-Replaces: liboop3
+Provides: ${t64:Provides}, liboop
+Replaces: liboop4, liboop3
 Description: Event loop management library
  Liboop is a low-level event loop management library for POSIX-based
  operating systems. It supports the development of modular, multiplexed
@@ -28,7 +29,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: liboop4 (= ${binary:Version}), ${misc:Depends}
+Depends: liboop4t64 (= ${binary:Version}), ${misc:Depends}
 Description: Event loop management library - development files
  Liboop is a low-level event loop management library for POSIX-based
  operating systems. It supports the development of modular, multiplexed
diff -Nru liboop-1.0.1/debian/liboop4.install 
liboop-1.0.1/debian/liboop4.install
--- liboop-1.0.1/debian/liboop4.install 2018-09-30 20:09:14.0 +
+++ liboop-1.0.1/debian/liboop4.install 1970-01-01 00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/liboop*.so.*
diff -Nru liboop-1.0.1/debian/liboop4.symbols 
liboop-1.0.1/debian/liboop4.symbols
--- liboop-1.0.1/debian/liboop4.symbols 2017-01-11 19:03:35.0 +
+++ liboop-1.0.1/debian/liboop4.symbols 1970-01-01 00:00:00.0 +
@@ -1,49 +0,0 @@
-liboop-adns.so.3 liboop4 #MINVER#
- oop_adns_cancel@Base 1.0~
- oop_adns_delete@Base 1.0~
- oop_adns_new@Base 1.0~
- oop_adns_submit@Base 1.0~
- oop_adns_submit_reverse@Base 1.0~
-liboop-glib2.so.0 liboop4 #MINVER#
- oop_glib_delete@Base 1.0~
- oop_glib_new@Base 1.0~
- oop_glib_return@Base 1.0~
-liboop-rl.so.0 liboop4 #MINVER#
- oop_readline_cancel@Base 1.0~
- oop_readline_register@Base 1.0~
-liboop-tcl.so.0 liboop4 #MINVER#
- oop_tcl_done@Base 1.0~
- oop_tcl_new@Base 1.0~
-liboop.so.4 liboop4 #MINVER#
- OOP_RD_STYLE_BLOCK@Base 1.0~
- OOP_RD_STYLE_GETLINE@Base 1.0~
- OOP_RD_STYLE_IMMED@Base 1.0~
- _oop_continue@Base 1.0~
- _oop_error@Base 1.0~
- oop_fd_nonblock@Base 1.0~
- oop_free@Base 1.0~
-