[Debian-ha-maintainers] Bug#1062337: heartbeat: NMU diff for 64-bit time_t transition

Graham Inggs ginggs at debian.org
Thu Feb 1 05:41:46 GMT 2024


Source: heartbeat
Version: 1:3.0.6-14
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-arm at 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
heartbeat 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 heartbeat
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/8 CPU threads; PREEMPT)
Kernel taint flags: 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: unable to detect
-------------- next part --------------
diff -Nru heartbeat-3.0.6/debian/changelog heartbeat-3.0.6/debian/changelog
--- heartbeat-3.0.6/debian/changelog	2023-12-21 16:32:05.000000000 +0000
+++ heartbeat-3.0.6/debian/changelog	2024-02-01 05:40:22.000000000 +0000
@@ -1,3 +1,10 @@
+heartbeat (1:3.0.6-14.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs <ginggs at debian.org>  Thu, 01 Feb 2024 05:40:22 +0000
+
 heartbeat (1:3.0.6-14) unstable; urgency=medium
 
   [ Helmut Grohne ]
diff -Nru heartbeat-3.0.6/debian/control heartbeat-3.0.6/debian/control
--- heartbeat-3.0.6/debian/control	2023-12-21 16:30:29.000000000 +0000
+++ heartbeat-3.0.6/debian/control	2024-02-01 05:40:22.000000000 +0000
@@ -96,7 +96,10 @@
  .
  This package contains Heartbeat-specific development files.
 
-Package: libheartbeat2
+Package: libheartbeat2t64
+Provides: ${t64:Provides}
+Replaces: libheartbeat2
+Breaks: libheartbeat2 (<< ${source:Version})
 Section: libs
 Architecture: any
 Depends:
@@ -117,7 +120,7 @@
 Section: libdevel
 Architecture: any
 Depends:
- libheartbeat2 (= ${binary:Version}),
+ libheartbeat2t64 (= ${binary:Version}),
  ${misc:Depends},
 Description: Subsystem for High-Availability Linux (development files)
  heartbeat is a messaging subsystem for high availability which implements
diff -Nru heartbeat-3.0.6/debian/libheartbeat2.install heartbeat-3.0.6/debian/libheartbeat2.install
--- heartbeat-3.0.6/debian/libheartbeat2.install	2017-08-26 15:11:48.000000000 +0000
+++ heartbeat-3.0.6/debian/libheartbeat2.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,8 +0,0 @@
-usr/lib/libapphb.so.2
-usr/lib/libapphb.so.2.0.0
-usr/lib/libccmclient.so.1
-usr/lib/libccmclient.so.1.0.0
-usr/lib/libclm.so.1
-usr/lib/libclm.so.1.0.0
-usr/lib/libhbclient.so.1
-usr/lib/libhbclient.so.1.0.0
diff -Nru heartbeat-3.0.6/debian/libheartbeat2.lintian-overrides heartbeat-3.0.6/debian/libheartbeat2.lintian-overrides
--- heartbeat-3.0.6/debian/libheartbeat2.lintian-overrides	2017-08-26 15:11:48.000000000 +0000
+++ heartbeat-3.0.6/debian/libheartbeat2.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-libheartbeat2 binary: package-name-doesnt-match-sonames
diff -Nru heartbeat-3.0.6/debian/libheartbeat2.symbols heartbeat-3.0.6/debian/libheartbeat2.symbols
--- heartbeat-3.0.6/debian/libheartbeat2.symbols	2018-12-09 13:35:32.000000000 +0000
+++ heartbeat-3.0.6/debian/libheartbeat2.symbols	1970-01-01 00:00:00.000000000 +0000
@@ -1,47 +0,0 @@
-libapphb.so.2 libheartbeat2 #MINVER#
-* Build-Depends-Package: libheartbeat2-dev
- apphb_hb at Base 1:3.0.6
- apphb_register at Base 1:3.0.6
- apphb_setinterval at Base 1:3.0.6
- apphb_setreboot at Base 1:3.0.6
- apphb_setwarn at Base 1:3.0.6
- apphb_unregister at Base 1:3.0.6
-libccmclient.so.1 libheartbeat2 #MINVER#
-* Build-Depends-Package: libheartbeat2-dev
- cookie_construct at Base 1:3.0.6
- cookie_get_data at Base 1:3.0.6
- cookie_get_func at Base 1:3.0.6
- cookie_ref at Base 1:3.0.6
- cookie_unref at Base 1:3.0.6
- oc_ev_activate at Base 1:3.0.6
- oc_ev_callback_done at Base 1:3.0.6
- oc_ev_handle_event at Base 1:3.0.6
- oc_ev_is_my_nodeid at Base 1:3.0.6
- oc_ev_memb_class at Base 1:3.0.6
- oc_ev_register at Base 1:3.0.6
- oc_ev_set_callback at Base 1:3.0.6
- oc_ev_special at Base 1:3.0.6
- oc_ev_unregister at Base 1:3.0.6
-libclm.so.1 libheartbeat2 #MINVER#
-* Build-Depends-Package: libheartbeat2-dev
- saClmClusterNodeGet at Base 1:3.0.6
- saClmClusterNodeGetAsync at Base 1:3.0.6
- saClmClusterTrackStart at Base 1:3.0.6
- saClmClusterTrackStop at Base 1:3.0.6
- saClmDispatch at Base 1:3.0.6
- saClmFinalize at Base 1:3.0.6
- saClmInitialize at Base 1:3.0.6
- saClmSelectionObjectGet at Base 1:3.0.6
-libhbclient.so.1 libheartbeat2 #MINVER#
-* Build-Depends-Package: libheartbeat2-dev
- BufLen at Base 1:3.0.6
- G_main_add_ll_cluster at Base 1:3.0.6
- add_order_seq at Base 1:3.0.6
- config at Base 1:3.0.6
- curproc at Base 1:3.0.6
- display_orderQ at Base 1:3.0.6
- ll_cluster_new at Base 1:3.0.6
- netstring_format at Base 1:3.0.6
- nosuchfunctionname at Base 1:3.0.6
- strlcat at Base 1:3.0.6
- strlcpy at Base 1:3.0.6
diff -Nru heartbeat-3.0.6/debian/libheartbeat2t64.install heartbeat-3.0.6/debian/libheartbeat2t64.install
--- heartbeat-3.0.6/debian/libheartbeat2t64.install	1970-01-01 00:00:00.000000000 +0000
+++ heartbeat-3.0.6/debian/libheartbeat2t64.install	2017-08-26 15:11:48.000000000 +0000
@@ -0,0 +1,8 @@
+usr/lib/libapphb.so.2
+usr/lib/libapphb.so.2.0.0
+usr/lib/libccmclient.so.1
+usr/lib/libccmclient.so.1.0.0
+usr/lib/libclm.so.1
+usr/lib/libclm.so.1.0.0
+usr/lib/libhbclient.so.1
+usr/lib/libhbclient.so.1.0.0
diff -Nru heartbeat-3.0.6/debian/libheartbeat2t64.lintian-overrides heartbeat-3.0.6/debian/libheartbeat2t64.lintian-overrides
--- heartbeat-3.0.6/debian/libheartbeat2t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ heartbeat-3.0.6/debian/libheartbeat2t64.lintian-overrides	2024-02-01 05:40:22.000000000 +0000
@@ -0,0 +1,2 @@
+libheartbeat2t64 binary: package-name-doesnt-match-sonames
+libheartbeat2t64: package-name-doesnt-match-sonames libheartbeat2
diff -Nru heartbeat-3.0.6/debian/libheartbeat2t64.symbols heartbeat-3.0.6/debian/libheartbeat2t64.symbols
--- heartbeat-3.0.6/debian/libheartbeat2t64.symbols	1970-01-01 00:00:00.000000000 +0000
+++ heartbeat-3.0.6/debian/libheartbeat2t64.symbols	2024-02-01 05:40:22.000000000 +0000
@@ -0,0 +1,47 @@
+libapphb.so.2 libheartbeat2t64 #MINVER#
+* Build-Depends-Package: libheartbeat2t64-dev
+ apphb_hb at Base 1:3.0.6
+ apphb_register at Base 1:3.0.6
+ apphb_setinterval at Base 1:3.0.6
+ apphb_setreboot at Base 1:3.0.6
+ apphb_setwarn at Base 1:3.0.6
+ apphb_unregister at Base 1:3.0.6
+libccmclient.so.1 libheartbeat2t64 #MINVER#
+* Build-Depends-Package: libheartbeat2t64-dev
+ cookie_construct at Base 1:3.0.6
+ cookie_get_data at Base 1:3.0.6
+ cookie_get_func at Base 1:3.0.6
+ cookie_ref at Base 1:3.0.6
+ cookie_unref at Base 1:3.0.6
+ oc_ev_activate at Base 1:3.0.6
+ oc_ev_callback_done at Base 1:3.0.6
+ oc_ev_handle_event at Base 1:3.0.6
+ oc_ev_is_my_nodeid at Base 1:3.0.6
+ oc_ev_memb_class at Base 1:3.0.6
+ oc_ev_register at Base 1:3.0.6
+ oc_ev_set_callback at Base 1:3.0.6
+ oc_ev_special at Base 1:3.0.6
+ oc_ev_unregister at Base 1:3.0.6
+libclm.so.1 libheartbeat2t64 #MINVER#
+* Build-Depends-Package: libheartbeat2t64-dev
+ saClmClusterNodeGet at Base 1:3.0.6
+ saClmClusterNodeGetAsync at Base 1:3.0.6
+ saClmClusterTrackStart at Base 1:3.0.6
+ saClmClusterTrackStop at Base 1:3.0.6
+ saClmDispatch at Base 1:3.0.6
+ saClmFinalize at Base 1:3.0.6
+ saClmInitialize at Base 1:3.0.6
+ saClmSelectionObjectGet at Base 1:3.0.6
+libhbclient.so.1 libheartbeat2t64 #MINVER#
+* Build-Depends-Package: libheartbeat2t64-dev
+ BufLen at Base 1:3.0.6
+ G_main_add_ll_cluster at Base 1:3.0.6
+ add_order_seq at Base 1:3.0.6
+ config at Base 1:3.0.6
+ curproc at Base 1:3.0.6
+ display_orderQ at Base 1:3.0.6
+ ll_cluster_new at Base 1:3.0.6
+ netstring_format at Base 1:3.0.6
+ nosuchfunctionname at Base 1:3.0.6
+ strlcat at Base 1:3.0.6
+ strlcpy at Base 1:3.0.6


More information about the Debian-ha-maintainers mailing list