Source: gap
Version: 4.12.1-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
gap 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 gap
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')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-14-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru gap-4.12.1/debian/changelog gap-4.12.1/debian/changelog
--- gap-4.12.1/debian/changelog 2022-11-05 16:44:02.000000000 +0000
+++ gap-4.12.1/debian/changelog 2024-01-30 14:58:54.000000000 +0000
@@ -1,3 +1,10 @@
+gap (4.12.1-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Lukas Märdian <sl...@debian.org>  Tue, 30 Jan 2024 14:58:54 +0000
+
 gap (4.12.1-2) unstable; urgency=medium
 
   * New patch:
diff -Nru gap-4.12.1/debian/control gap-4.12.1/debian/control
--- gap-4.12.1/debian/control   2022-11-03 15:57:34.000000000 +0000
+++ gap-4.12.1/debian/control   2024-01-30 14:58:54.000000000 +0000
@@ -117,7 +117,7 @@
 Architecture: any
 Section: libdevel
 Provides: libgap8-dev
-Depends: libgap8 (= ${binary:Version}), libc-dev, ${misc:Depends}
+Depends: libgap8t64 (= ${binary:Version}), libc-dev, ${misc:Depends}
 Replaces: gap-dev (<< 4.11.0)
 Multi-Arch: same
 Description: GAP computer algebra system, compiler and development files
@@ -130,12 +130,14 @@
  .
  This package contains the include files and static library.
 
-Package: libgap8
+Package: libgap8t64
+Provides: ${t64:Provides}
+Breaks: libgap8 (<< ${source:Version})
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, gap-libs (=${source:Version})
 Pre-Depends: ${misc:Pre-Depends}
-Replaces: gap-dev (<< 4.11.0)
+Replaces: libgap8, gap-dev (<< 4.11.0)
 Multi-Arch: same
 Description: GAP computer algebra system, compiler and development files
  GAP is a system for computational discrete algebra, with particular emphasis
diff -Nru gap-4.12.1/debian/rules gap-4.12.1/debian/rules
--- gap-4.12.1/debian/rules     2022-11-03 22:00:29.000000000 +0000
+++ gap-4.12.1/debian/rules     2024-01-30 14:58:54.000000000 +0000
@@ -18,7 +18,7 @@
 triplet = $(DEB_HOST_MULTIARCH)
 libtriplet = usr/lib/$(triplet)
 gaptriplet = $(libtriplet)/gap
-library = libgap8
+library = libgap8t64
 
 #strip is handled by dh_strip
 CFLAGS = -g -Wall

Reply via email to