Source: stdgpu
Version: 1.3.0+git20220507.32e0517-5
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

NOTICE: these changes must not be uploaded to unstable yet!

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
stdgpu 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 stdgpu
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/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 stdgpu-1.3.0+git20220507.32e0517/debian/changelog 
stdgpu-1.3.0+git20220507.32e0517/debian/changelog
--- stdgpu-1.3.0+git20220507.32e0517/debian/changelog   2023-07-01 
14:13:20.000000000 -0700
+++ stdgpu-1.3.0+git20220507.32e0517/debian/changelog   2024-02-03 
16:28:11.000000000 -0800
@@ -1,3 +1,14 @@
+stdgpu (1.3.0+git20220507.32e0517-5.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * Since this is already a custom soname set in debian/rules, adjust the
+    soname as well to avoid any need for breaks/replaces.  This breaks
+    compatibility on 64-bit archs as well, but with no reverse-dependencies
+    in the archive, the impact is negligible.
+
+ -- Steve Langasek <vor...@debian.org>  Sun, 04 Feb 2024 00:28:11 +0000
+
 stdgpu (1.3.0+git20220507.32e0517-5) unstable; urgency=medium
 
   * Fix wrong alignment test to actually provoke wrong alignment
diff -Nru stdgpu-1.3.0+git20220507.32e0517/debian/control 
stdgpu-1.3.0+git20220507.32e0517/debian/control
--- stdgpu-1.3.0+git20220507.32e0517/debian/control     2023-07-01 
14:13:11.000000000 -0700
+++ stdgpu-1.3.0+git20220507.32e0517/debian/control     2024-02-03 
16:27:36.000000000 -0800
@@ -21,7 +21,7 @@
  agnostic and native algorithms that look like sequential CPU code but are
  executed in parallel on the GPU.
 
-Package: libstdgpu-openmp0d
+Package: libstdgpu-openmp0t64
 Architecture: any
 Multi-Arch: same
 Depends:
@@ -40,7 +40,7 @@
 Provides: libstdgpu-dev
 Depends:
  ${misc:Depends},
- libstdgpu-openmp0d (= ${binary:Version}),
+ libstdgpu-openmp0t64 (= ${binary:Version}),
  libthrust-dev,
 Description: ${source:Synopsis} (OpenMP development headers)
  ${source:Extended-Description}
diff -Nru stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0d.install 
stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0d.install
--- stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0d.install  
2023-07-01 14:13:11.000000000 -0700
+++ stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0d.install  
1969-12-31 16:00:00.000000000 -0800
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0t64.install 
stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0t64.install
--- stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0t64.install        
1969-12-31 16:00:00.000000000 -0800
+++ stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0t64.install        
2023-07-01 14:13:11.000000000 -0700
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff -Nru stdgpu-1.3.0+git20220507.32e0517/debian/rules 
stdgpu-1.3.0+git20220507.32e0517/debian/rules
--- stdgpu-1.3.0+git20220507.32e0517/debian/rules       2023-07-01 
14:13:11.000000000 -0700
+++ stdgpu-1.3.0+git20220507.32e0517/debian/rules       2024-02-03 
16:28:07.000000000 -0800
@@ -4,7 +4,8 @@
 
 BUILD_TESTS := $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON)
 BUILD_HIP := $(if $(filter amd64 arm64 ppc64el,$(DEB_HOST_ARCH)),ON,OFF)
-SOVERSION := 0d
+SOVERSION := 0t64
+SOVERSION_HIP := 0d
 
 %:
        dh $@ --buildsystem=cmake
@@ -28,7 +29,7 @@
                -DSTDGPU_BUILD_SHARED_LIBS=ON \
                -DSTDGPU_BACKEND=STDGPU_BACKEND_HIP \
                -DCMAKE_HIP_ARCHITECTURES=OFF \
-               -DSTDGPU_SOVERSION=$(SOVERSION) \
+               -DSTDGPU_SOVERSION=$(SOVERSION_HIP) \
                -DSTDGPU_OUTPUT_NAME=stdgpu_hip
 endif
 
@@ -53,6 +54,6 @@
 override_dh_install:
        dh_install --package=libstdgpu-openmp$(SOVERSION) 
--package=libstdgpu-openmp-dev --sourcedir=debian/tmp-openmp
 ifeq ($(BUILD_HIP),ON)
-       dh_install --package=libstdgpu-hip$(SOVERSION) 
--package=libstdgpu-hip-dev --sourcedir=debian/tmp-hip
+       dh_install --package=libstdgpu-hip$(SOVERSION_HIP) 
--package=libstdgpu-hip-dev --sourcedir=debian/tmp-hip
 endif
 

Reply via email to