Source: boost1.74
Version: 1.74.0+ds1-23
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.74 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.74
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.74-1.74.0+ds1/debian/changelog 
boost1.74-1.74.0+ds1/debian/changelog
--- boost1.74-1.74.0+ds1/debian/changelog       2023-10-06 06:15:55.000000000 
+0000
+++ boost1.74-1.74.0+ds1/debian/changelog       2024-01-30 07:49:52.000000000 
+0000
@@ -1,3 +1,10 @@
+boost1.74 (1.74.0+ds1-23.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vor...@debian.org>  Tue, 30 Jan 2024 07:49:52 +0000
+
 boost1.74 (1.74.0+ds1-23) unstable; urgency=medium
 
   [ Gianfranco Costamagna ]
diff -Nru boost1.74-1.74.0+ds1/debian/control 
boost1.74-1.74.0+ds1/debian/control
--- boost1.74-1.74.0+ds1/debian/control 2023-10-03 07:06:19.000000000 +0000
+++ boost1.74-1.74.0+ds1/debian/control 2024-01-30 07:49:52.000000000 +0000
@@ -214,7 +214,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
 
-Package: libboost-chrono1.74.0
+Package: libboost-chrono1.74.0t64
+Provides: ${t64:Provides}
+Replaces: libboost-chrono1.74.0
+Breaks: libboost-chrono1.74.0 (<< ${source:Version})
 Homepage: http://www.boost.org/libs/chrono/
 Architecture: any
 Multi-Arch: same
@@ -264,7 +267,7 @@
 Section: libdevel
 Depends: ${misc:Depends},
  libboost1.74-dev (= ${binary:Version}),
- libboost-chrono1.74.0 (= ${binary:Version})
+ libboost-chrono1.74.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
 Description: C++ representation of time duration, time point, and clocks
  This package forms part of the Boost C++ Libraries collection.
diff -Nru boost1.74-1.74.0+ds1/debian/rules boost1.74-1.74.0+ds1/debian/rules
--- boost1.74-1.74.0+ds1/debian/rules   2023-10-03 07:06:19.000000000 +0000
+++ boost1.74-1.74.0+ds1/debian/rules   2024-01-30 07:49:52.000000000 +0000
@@ -69,9 +69,10 @@
 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.

Reply via email to