Source: heartbeat
Version: 1:3.0.6-14
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
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
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 <gin...@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@Base 1:3.0.6
- apphb_register@Base 1:3.0.6
- apphb_setinterval@Base 1:3.0.6
- apphb_setreboot@Base 1:3.0.6
- apphb_setwarn@Base 1:3.0.6
- apphb_unregister@Base 1:3.0.6
-libccmclient.so.1 libheartbeat2 #MINVER#
-* Build-Depends-Package: libheartbeat2-dev
- cookie_construct@Base 1:3.0.6
- cookie_get_data@Base 1:3.0.6
- cookie_get_func@Base 1:3.0.6
- cookie_ref@Base 1:3.0.6
- cookie_unref@Base 1:3.0.6
- oc_ev_activate@Base 1:3.0.6
- oc_ev_callback_done@Base 1:3.0.6
- oc_ev_handle_event@Base 1:3.0.6
- oc_ev_is_my_nodeid@Base 1:3.0.6
- oc_ev_memb_class@Base 1:3.0.6
- oc_ev_register@Base 1:3.0.6
- oc_ev_set_callback@Base 1:3.0.6
- oc_ev_special@Base 1:3.0.6
- oc_ev_unregister@Base 1:3.0.6
-libclm.so.1 libheartbeat2 #MINVER#
-* Build-Depends-Package: libheartbeat2-dev
- saClmClusterNodeGet@Base 1:3.0.6
- saClmClusterNodeGetAsync@Base 1:3.0.6
- saClmClusterTrackStart@Base 1:3.0.6
- saClmClusterTrackStop@Base 1:3.0.6
- saClmDispatch@Base 1:3.0.6
- saClmFinalize@Base 1:3.0.6
- saClmInitialize@Base 1:3.0.6
- saClmSelectionObjectGet@Base 1:3.0.6
-libhbclient.so.1 libheartbeat2 #MINVER#
-* Build-Depends-Package: libheartbeat2-dev
- BufLen@Base 1:3.0.6
- G_main_add_ll_cluster@Base 1:3.0.6
- add_order_seq@Base 1:3.0.6
- config@Base 1:3.0.6
- curproc@Base 1:3.0.6
- display_orderQ@Base 1:3.0.6
- ll_cluster_new@Base 1:3.0.6
- netstring_format@Base 1:3.0.6
- nosuchfunctionname@Base 1:3.0.6
- strlcat@Base 1:3.0.6
- strlcpy@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@Base 1:3.0.6
+ apphb_register@Base 1:3.0.6
+ apphb_setinterval@Base 1:3.0.6
+ apphb_setreboot@Base 1:3.0.6
+ apphb_setwarn@Base 1:3.0.6
+ apphb_unregister@Base 1:3.0.6
+libccmclient.so.1 libheartbeat2t64 #MINVER#
+* Build-Depends-Package: libheartbeat2t64-dev
+ cookie_construct@Base 1:3.0.6
+ cookie_get_data@Base 1:3.0.6
+ cookie_get_func@Base 1:3.0.6
+ cookie_ref@Base 1:3.0.6
+ cookie_unref@Base 1:3.0.6
+ oc_ev_activate@Base 1:3.0.6
+ oc_ev_callback_done@Base 1:3.0.6
+ oc_ev_handle_event@Base 1:3.0.6
+ oc_ev_is_my_nodeid@Base 1:3.0.6
+ oc_ev_memb_class@Base 1:3.0.6
+ oc_ev_register@Base 1:3.0.6
+ oc_ev_set_callback@Base 1:3.0.6
+ oc_ev_special@Base 1:3.0.6
+ oc_ev_unregister@Base 1:3.0.6
+libclm.so.1 libheartbeat2t64 #MINVER#
+* Build-Depends-Package: libheartbeat2t64-dev
+ saClmClusterNodeGet@Base 1:3.0.6
+ saClmClusterNodeGetAsync@Base 1:3.0.6
+ saClmClusterTrackStart@Base 1:3.0.6
+ saClmClusterTrackStop@Base 1:3.0.6
+ saClmDispatch@Base 1:3.0.6
+ saClmFinalize@Base 1:3.0.6
+ saClmInitialize@Base 1:3.0.6
+ saClmSelectionObjectGet@Base 1:3.0.6
+libhbclient.so.1 libheartbeat2t64 #MINVER#
+* Build-Depends-Package: libheartbeat2t64-dev
+ BufLen@Base 1:3.0.6
+ G_main_add_ll_cluster@Base 1:3.0.6
+ add_order_seq@Base 1:3.0.6
+ config@Base 1:3.0.6
+ curproc@Base 1:3.0.6
+ display_orderQ@Base 1:3.0.6
+ ll_cluster_new@Base 1:3.0.6
+ netstring_format@Base 1:3.0.6
+ nosuchfunctionname@Base 1:3.0.6
+ strlcat@Base 1:3.0.6
+ strlcpy@Base 1:3.0.6

Reply via email to