Bug#1062317: libgnt: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: libgnt
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 libgnt-2.14.4/debian/changelog libgnt-2.14.4/debian/changelog
--- libgnt-2.14.4/debian/changelog  2023-12-24 20:44:51.0 +
+++ libgnt-2.14.4/debian/changelog  2024-02-28 12:24:12.0 +
@@ -1,3 +1,10 @@
+libgnt (2.14.4-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062317
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 12:24:12 +
+
 libgnt (2.14.4-1) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru libgnt-2.14.4/debian/control libgnt-2.14.4/debian/control
--- libgnt-2.14.4/debian/control2022-11-07 19:57:33.0 +
+++ libgnt-2.14.4/debian/control2024-02-28 12:24:12.0 +
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Richard Laager 
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
libglib2.0-dev,
libglib2.0-doc,
libncurses-dev,
@@ -14,15 +14,16 @@
 Rules-Requires-Root: no
 Standards-Version: 4.5.1
 
-Package: libgnt0
+Package: libgnt0t64
+Provides: ${t64:Provides}
 Architecture: any
 Depends: libglib2.0-0,
  libncursesw6,
  libxml2,
  ${misc:Depends},
  ${shlibs:Depends},
-Breaks: finch (<< 2.14.1),
-Replaces: finch (<< 2.14.1),
+Breaks: libgnt0 (<< ${source:Version}), finch (<< 2.14.1),
+Replaces: libgnt0, finch (<< 2.14.1),
 Multi-Arch: same
 Description: ncurses toolkit for creating text-mode graphical user interfaces
  GNT is an ncurses toolkit for creating text-mode graphical user interfaces in
@@ -36,7 +37,7 @@
 Architecture: any
 Section: libdevel
 Depends: libglib2.0-dev,
- libgnt0 (= ${binary:Version}),
+ libgnt0t64 (= ${binary:Version}),
  ${misc:Depends},
 Suggests: libgnt-doc,
 Breaks: finch-dev (<< 2.14.1),
diff -Nru libgnt-2.14.4/debian/libgnt0.install 
libgnt-2.14.4/debian/libgnt0.install
--- libgnt-2.14.4/debian/libgnt0.install2021-01-21 22:15:53.0 
+
+++ libgnt-2.14.4/debian/libgnt0.install1970-01-01 00:00:00.0 
+
@@ -1,2 +0,0 @@
-usr/lib/*/gnt/*.so
-usr/lib/*/libgnt.so.*
diff -Nru libgnt-2.14.4/debian/libgnt0.symbols 
libgnt-2.14.4/debian/libgnt0.symbols
--- libgnt-2.14.4/debian/libgnt0.symbols2021-01-21 22:15:53.0 
+
+++ libgnt-2.14.4/debian/libgnt0.symbols1970-01-01 00:00:00.0 
+
@@ -1,359 +0,0 @@
-irssi.so libgnt0 #MINVER#
-* Build-Depends-Package: libgnt-dev
- gntwm_init@Base 2.14.0
- irssi_get_gtype@Base 2.14.0
-libgnt.so.0 libgnt0 #MINVER#
-* Build-Depends-Package: libgnt-dev
- C_@Base 2.14.0
- g_hash_table_duplicate@Base 2.14.0
- gnt_ascii_only@Base 2.14.0
- gnt_bindable_action_free@Base 2.14.0
- gnt_bindable_action_param_free@Base 2.14.0
- gnt_bindable_bindings_view@Base 2.14.0
- gnt_bindable_build_help_window@Base 2.14.0
- gnt_bindable_check_key@Base 2.14.0
- gnt_bindable_class_register_action@Base 2.14.0
- gnt_bindable_get_gtype@Base 2.14.0
- gnt_bindable_perform_action_key@Base 2.14.0
- gnt_bindable_perform_action_named@Base 2.14.0
- gnt_bindable_register_binding@Base 2.14.0
- gnt_bindable_remap_keys@Base 2.14.0
- gnt_boolean_handled_accumulator@Base 2.14.0
- gnt_box_add_widget@Base 2.14.0
- gnt_box_get_children@Base 2.14.0
- gnt_box_get_gtype@Base 2.14.0
- gnt_box_give_focus_to_child@Base 2.14.0
- gnt_box_move_focus@Base 2.14.0
- gnt_box_new@Base 2.14.0
- gnt_box_readjust@Base 2.14.0
- gnt_box_remove@Base 2.14.0
- gnt_box_remove_all@Base 2.14.0
- gnt_box_set_alignment@Base 2.14.0
- gnt_box_set_fill@Base 2.14.0
- gnt_box_set_pad@Base 2.14.0
- gnt_box_set_title@Base 2.14.0
- gnt_box_set_toplevel@Base 2.14.0
- gnt_box_sync_children@Base 2.14.0
- gnt_button_get_gtype@Base 2.14.0
- gnt_button_get_text@Base 2.14.0
- gnt_button_new@Base 2.14.0
- gnt_button_set_text@Base 2.14.0
- gnt_check_box_get_checked@Base 2.14.0
- gnt_check_box_get_gtype@Base 2.14.0
- gnt_check_box_new@Base 2.14.0
- gnt_check_box_set_checked@Base 2.14.0
- gnt_clipboard_get_gtype@Base 2.14.0
- gnt_clipboard_get_string@Base 2.14.0
- gnt_clipboard_set_string@Base 2.14.0
- gnt_closure_marshal_BOOLEAN__INT_INT@Base 2.14.0
- gnt_closure_marshal_BOOLEAN__INT_INT_INT@Base 2.14.0
- 

Bug#1062317: libgnt: NMU diff for 64-bit time_t transition

2024-01-31 Thread Steve Langasek
Source: libgnt
Version: 2.14.4-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
libgnt 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 libgnt
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 libgnt-2.14.4/debian/changelog libgnt-2.14.4/debian/changelog
--- libgnt-2.14.4/debian/changelog  2023-12-24 20:44:51.0 +
+++ libgnt-2.14.4/debian/changelog  2024-02-01 01:53:01.0 +
@@ -1,3 +1,10 @@
+libgnt (2.14.4-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Thu, 01 Feb 2024 01:53:01 +
+
 libgnt (2.14.4-1) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru libgnt-2.14.4/debian/control libgnt-2.14.4/debian/control
--- libgnt-2.14.4/debian/control2022-11-07 19:57:33.0 +
+++ libgnt-2.14.4/debian/control2024-02-01 01:53:01.0 +
@@ -14,15 +14,16 @@
 Rules-Requires-Root: no
 Standards-Version: 4.5.1
 
-Package: libgnt0
+Package: libgnt0t64
+Provides: ${t64:Provides}
 Architecture: any
 Depends: libglib2.0-0,
  libncursesw6,
  libxml2,
  ${misc:Depends},
  ${shlibs:Depends},
-Breaks: finch (<< 2.14.1),
-Replaces: finch (<< 2.14.1),
+Breaks: libgnt0 (<< ${source:Version}), finch (<< 2.14.1),
+Replaces: libgnt0, finch (<< 2.14.1),
 Multi-Arch: same
 Description: ncurses toolkit for creating text-mode graphical user interfaces
  GNT is an ncurses toolkit for creating text-mode graphical user interfaces in
@@ -36,7 +37,7 @@
 Architecture: any
 Section: libdevel
 Depends: libglib2.0-dev,
- libgnt0 (= ${binary:Version}),
+ libgnt0t64 (= ${binary:Version}),
  ${misc:Depends},
 Suggests: libgnt-doc,
 Breaks: finch-dev (<< 2.14.1),
diff -Nru libgnt-2.14.4/debian/libgnt0.install 
libgnt-2.14.4/debian/libgnt0.install
--- libgnt-2.14.4/debian/libgnt0.install2021-01-21 22:15:53.0 
+
+++ libgnt-2.14.4/debian/libgnt0.install1970-01-01 00:00:00.0 
+
@@ -1,2 +0,0 @@
-usr/lib/*/gnt/*.so
-usr/lib/*/libgnt.so.*
diff -Nru libgnt-2.14.4/debian/libgnt0.symbols 
libgnt-2.14.4/debian/libgnt0.symbols
--- libgnt-2.14.4/debian/libgnt0.symbols2021-01-21 22:15:53.0 
+
+++ libgnt-2.14.4/debian/libgnt0.symbols1970-01-01 00:00:00.0 
+
@@ -1,359 +0,0 @@
-irssi.so libgnt0 #MINVER#
-* Build-Depends-Package: libgnt-dev
- gntwm_init@Base 2.14.0
- irssi_get_gtype@Base 2.14.0
-libgnt.so.0 libgnt0 #MINVER#
-* Build-Depends-Package: libgnt-dev
- C_@Base 2.14.0
- g_hash_table_duplicate@Base 2.14.0
- gnt_ascii_only@Base 2.14.0
- gnt_bindable_action_free@Base 2.14.0
- gnt_bindable_action_param_free@Base 2.14.0
- gnt_bindable_bindings_view@Base 2.14.0
- gnt_bindable_build_help_window@Base 2.14.0
- gnt_bindable_check_key@Base 2.14.0
- gnt_bindable_class_register_action@Base 2.14.0
- gnt_bindable_get_gtype@Base 2.14.0
- gnt_bindable_perform_action_key@Base 2.14.0
- gnt_bindable_perform_action_named@Base 2.14.0
- gnt_bindable_register_binding@Base 2.14.0
- gnt_bindable_remap_keys@Base 2.14.0
-