Source: collectd
Version: 5.12.0-15
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
collectd 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 collectd
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-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 collectd-5.12.0/debian/changelog collectd-5.12.0/debian/changelog
--- collectd-5.12.0/debian/changelog    2023-12-07 14:35:28.000000000 +0000
+++ collectd-5.12.0/debian/changelog    2024-01-31 10:54:01.000000000 +0000
@@ -1,3 +1,10 @@
+collectd (5.12.0-15.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vor...@debian.org>  Wed, 31 Jan 2024 10:54:01 +0000
+
 collectd (5.12.0-15) unstable; urgency=medium
 
   [ Bernd Zeimetz ]
diff -Nru collectd-5.12.0/debian/control collectd-5.12.0/debian/control
--- collectd-5.12.0/debian/control      2023-12-07 14:35:28.000000000 +0000
+++ collectd-5.12.0/debian/control      2024-01-31 10:54:01.000000000 +0000
@@ -285,7 +285,7 @@
 Package: libcollectdclient-dev
 Section: libdevel
 Architecture: any
-Depends: libcollectdclient1 (= ${binary:Version}), ${misc:Depends}
+Depends: libcollectdclient1t64 (= ${binary:Version}), ${misc:Depends}
 Description: client library for collectd's control interface (development 
files)
  libcollectdclient provides an API to access the control interface provided by
  the unixsock plugin of collectd, a statistics collection and monitoring
@@ -295,7 +295,10 @@
  .
  This package contains the header files and the static library.
 
-Package: libcollectdclient1
+Package: libcollectdclient1t64
+Provides: ${t64:Provides}
+Replaces: libcollectdclient1
+Breaks: libcollectdclient1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
diff -Nru collectd-5.12.0/debian/libcollectdclient1.install 
collectd-5.12.0/debian/libcollectdclient1.install
--- collectd-5.12.0/debian/libcollectdclient1.install   2023-12-07 
14:35:28.000000000 +0000
+++ collectd-5.12.0/debian/libcollectdclient1.install   1970-01-01 
00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/lib/libcollectdclient.so.*
-
diff -Nru collectd-5.12.0/debian/libcollectdclient1.symbols 
collectd-5.12.0/debian/libcollectdclient1.symbols
--- collectd-5.12.0/debian/libcollectdclient1.symbols   2023-12-07 
14:35:28.000000000 +0000
+++ collectd-5.12.0/debian/libcollectdclient1.symbols   1970-01-01 
00:00:00.000000000 +0000
@@ -1,32 +0,0 @@
-libcollectdclient.so.1 libcollectdclient1 #MINVER#
- lcc_connect@Base 4.6.0
- lcc_disconnect@Base 4.6.0
- lcc_flush@Base 4.6.0
- lcc_getval@Base 4.6.0
- lcc_identifier_compare@Base 5.2.0
- lcc_identifier_to_string@Base 4.6.0
- lcc_listen_and_write@Base 5.8.0
- lcc_listval@Base 4.6.0
- lcc_network_buffer_add_value@Base 5.2.0
- lcc_network_buffer_create@Base 5.2.0
- lcc_network_buffer_destroy@Base 5.2.0
- lcc_network_buffer_finalize@Base 5.2.0
- lcc_network_buffer_get@Base 5.2.0
- lcc_network_buffer_initialize@Base 5.2.0
- lcc_network_buffer_set_security_level@Base 5.2.0
- lcc_network_create@Base 5.2.0
- lcc_network_destroy@Base 5.2.0
- lcc_network_parse@Base 5.8.0
- lcc_network_values_send@Base 5.2.0
- lcc_putval@Base 4.6.0
- lcc_server_create@Base 5.2.0
- lcc_server_destroy@Base 5.2.0
- lcc_server_set_interface@Base 5.5.0
- lcc_server_set_security_level@Base 5.2.0
- lcc_server_set_ttl@Base 5.2.0
- lcc_sort_identifiers@Base 5.1.0
- lcc_strerror@Base 4.6.0
- lcc_string_to_identifier@Base 4.6.0
- lcc_version@Base 4.6.0
- lcc_version_extra@Base 4.6.0
- lcc_version_string@Base 4.6.0
diff -Nru collectd-5.12.0/debian/libcollectdclient1t64.install 
collectd-5.12.0/debian/libcollectdclient1t64.install
--- collectd-5.12.0/debian/libcollectdclient1t64.install        1970-01-01 
00:00:00.000000000 +0000
+++ collectd-5.12.0/debian/libcollectdclient1t64.install        2023-12-07 
14:35:28.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib/libcollectdclient.so.*
+
diff -Nru collectd-5.12.0/debian/libcollectdclient1t64.lintian-overrides 
collectd-5.12.0/debian/libcollectdclient1t64.lintian-overrides
--- collectd-5.12.0/debian/libcollectdclient1t64.lintian-overrides      
1970-01-01 00:00:00.000000000 +0000
+++ collectd-5.12.0/debian/libcollectdclient1t64.lintian-overrides      
2024-01-31 10:54:01.000000000 +0000
@@ -0,0 +1 @@
+libcollectdclient1t64: package-name-doesnt-match-sonames libcollectdclient1
diff -Nru collectd-5.12.0/debian/libcollectdclient1t64.symbols 
collectd-5.12.0/debian/libcollectdclient1t64.symbols
--- collectd-5.12.0/debian/libcollectdclient1t64.symbols        1970-01-01 
00:00:00.000000000 +0000
+++ collectd-5.12.0/debian/libcollectdclient1t64.symbols        2024-01-31 
10:54:01.000000000 +0000
@@ -0,0 +1,32 @@
+libcollectdclient.so.1 libcollectdclient1t64 #MINVER#
+ lcc_connect@Base 4.6.0
+ lcc_disconnect@Base 4.6.0
+ lcc_flush@Base 4.6.0
+ lcc_getval@Base 4.6.0
+ lcc_identifier_compare@Base 5.2.0
+ lcc_identifier_to_string@Base 4.6.0
+ lcc_listen_and_write@Base 5.8.0
+ lcc_listval@Base 4.6.0
+ lcc_network_buffer_add_value@Base 5.2.0
+ lcc_network_buffer_create@Base 5.2.0
+ lcc_network_buffer_destroy@Base 5.2.0
+ lcc_network_buffer_finalize@Base 5.2.0
+ lcc_network_buffer_get@Base 5.2.0
+ lcc_network_buffer_initialize@Base 5.2.0
+ lcc_network_buffer_set_security_level@Base 5.2.0
+ lcc_network_create@Base 5.2.0
+ lcc_network_destroy@Base 5.2.0
+ lcc_network_parse@Base 5.8.0
+ lcc_network_values_send@Base 5.2.0
+ lcc_putval@Base 4.6.0
+ lcc_server_create@Base 5.2.0
+ lcc_server_destroy@Base 5.2.0
+ lcc_server_set_interface@Base 5.5.0
+ lcc_server_set_security_level@Base 5.2.0
+ lcc_server_set_ttl@Base 5.2.0
+ lcc_sort_identifiers@Base 5.1.0
+ lcc_strerror@Base 4.6.0
+ lcc_string_to_identifier@Base 4.6.0
+ lcc_version@Base 4.6.0
+ lcc_version_extra@Base 4.6.0
+ lcc_version_string@Base 4.6.0

Reply via email to