Source: boost1.83
Version: 1.83.0-2
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
boost1.83 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 boost1.83
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 boost1.83-1.83.0/debian/changelog boost1.83-1.83.0/debian/changelog
--- boost1.83-1.83.0/debian/changelog   2023-12-22 22:36:50.000000000 +0000
+++ boost1.83-1.83.0/debian/changelog   2024-01-31 00:27:54.000000000 +0000
@@ -1,3 +1,10 @@
+boost1.83 (1.83.0-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vor...@debian.org>  Wed, 31 Jan 2024 00:27:54 +0000
+
 boost1.83 (1.83.0-2) unstable; urgency=medium
 
   * [139123a] Add dep to libboost1.83-all-dev on libboost-url1.83-dev. 
(Closes: #1058948)
diff -Nru boost1.83-1.83.0/debian/control boost1.83-1.83.0/debian/control
--- boost1.83-1.83.0/debian/control     2023-12-19 06:01:57.000000000 +0000
+++ boost1.83-1.83.0/debian/control     2024-01-31 00:27:54.000000000 +0000
@@ -219,7 +219,10 @@
  locking.
 Conflicts: libboost-atomic1.53-dev, libboost-atomic1.54-dev, 
libboost-atomic1.55-dev, libboost-atomic1.57-dev, libboost-atomic1.58-dev, 
libboost-atomic1.60-dev, libboost-atomic1.61-dev, libboost-atomic1.62-dev, 
libboost-atomic1.63-dev, libboost-atomic1.65-dev, libboost-atomic1.67-dev, 
libboost-atomic1.70-dev, libboost-atomic1.71-dev, libboost-atomic1.74-dev, 
libboost-atomic1.80-dev, libboost-atomic1.81-dev
 
-Package: libboost-chrono1.83.0
+Package: libboost-chrono1.83.0t64
+Provides: ${t64:Provides}
+Replaces: libboost-chrono1.83.0
+Breaks: libboost-chrono1.83.0 (<< ${source:Version})
 Homepage: http://www.boost.org/libs/chrono/
 Architecture: any
 Multi-Arch: same
@@ -269,7 +272,7 @@
 Section: libdevel
 Depends: ${misc:Depends},
  libboost1.83-dev (= ${binary:Version}),
- libboost-chrono1.83.0 (= ${binary:Version})
+ libboost-chrono1.83.0t64 (= ${binary:Version})
 Conflicts: libboost-chrono1.48-dev, libboost-chrono1.49-dev, 
libboost-chrono1.50-dev, libboost-chrono1.52-dev, libboost-chrono1.53-dev, 
libboost-chrono1.54-dev, libboost-chrono1.55-dev, libboost-chrono1.57-dev, 
libboost-chrono1.58-dev, libboost-chrono1.60-dev, libboost-chrono1.61-dev, 
libboost-chrono1.62-dev, libboost-chrono1.63-dev, libboost-chrono1.65-dev, 
libboost-chrono1.67-dev, libboost-chrono1.70-dev, libboost-chrono1.71-dev, 
libboost-chrono1.74-dev, libboost-chrono1.80-dev, libboost-chrono1.81-dev
 Description: C++ representation of time duration, time point, and clocks
  This package forms part of the Boost C++ Libraries collection.
diff -Nru boost1.83-1.83.0/debian/rules boost1.83-1.83.0/debian/rules
--- boost1.83-1.83.0/debian/rules       2023-10-15 18:39:41.000000000 +0000
+++ boost1.83-1.83.0/debian/rules       2024-01-31 00:27:54.000000000 +0000
@@ -69,11 +69,11 @@
 mk_base_name = usr/lib/$(DEB_HOST_MULTIARCH)/libboost_$(subst -,_,$(1))$(2)
 mk_cmake_name = usr/lib/$(DEB_HOST_MULTIARCH)/cmake/boost_$(subst 
-,_,$(1))-$(SOVERSION)/
 
+t64_suffix_chrono = t64
 # Input: component
 # Return: package name for shared library or development
-mk_pkg_lib = libboost-$(1)$(SOVERSION)
+mk_pkg_lib = libboost-$(1)$(SOVERSION)$(t64_suffix_$(1))
 mk_pkg_dev = libboost-$(1)$(PKGVERSION)-dev
-
 # Helpers to generate debhelper input filenames.
 # Input: component
 # Return: prefix to debhelper filenames

Reply via email to