[Pkg-opencl-devel] Bug#1063225: oclgrind: NMU diff for 64-bit time_t transition

Graham Inggs ginggs at debian.org
Mon Feb 5 18:44:27 GMT 2024


Source: oclgrind
Version: 21.10-3
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-arm at 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
oclgrind 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 oclgrind
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-15-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: 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: unable to detect
-------------- next part --------------
diff -Nru oclgrind-21.10/debian/changelog oclgrind-21.10/debian/changelog
--- oclgrind-21.10/debian/changelog	2023-01-04 13:16:19.000000000 +0000
+++ oclgrind-21.10/debian/changelog	2024-02-05 18:42:22.000000000 +0000
@@ -1,3 +1,10 @@
+oclgrind (21.10-3.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs <ginggs at debian.org>  Mon, 05 Feb 2024 18:42:22 +0000
+
 oclgrind (21.10-3) unstable; urgency=medium
 
   * Switch to LLVM/Clang 14.  (Closes: #1017654)
diff -Nru oclgrind-21.10/debian/control oclgrind-21.10/debian/control
--- oclgrind-21.10/debian/control	2023-01-04 13:16:19.000000000 +0000
+++ oclgrind-21.10/debian/control	2024-02-05 18:42:21.000000000 +0000
@@ -24,7 +24,10 @@
 Vcs-Browser: https://salsa.debian.org/opencl-team/oclgrind
 Vcs-Git: https://salsa.debian.org/opencl-team/oclgrind.git
 
-Package: liboclgrind-21.10
+Package: liboclgrind-21.10t64
+Provides: ${t64:Provides}
+Replaces: liboclgrind-21.10
+Breaks: liboclgrind-21.10 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -43,7 +46,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: ${misc:Depends}, liboclgrind-21.10 (= ${binary:Version})
+Depends: ${misc:Depends}, liboclgrind-21.10t64 (= ${binary:Version})
 Description: development files for Oclgrind
  Oclgrind is an extensible OpenCL device simulator that provides a
  plugin interface to facilitate the creation of tools to aid analysis
@@ -57,7 +60,7 @@
 Package: oclgrind
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, liboclgrind-21.10
+Depends: ${shlibs:Depends}, ${misc:Depends}, liboclgrind-21.10t64
 Description: OpenCL device simulator
  Oclgrind is an extensible OpenCL device simulator that provides a
  plugin interface to facilitate the creation of tools to aid analysis
diff -Nru oclgrind-21.10/debian/liboclgrind-21.10.install oclgrind-21.10/debian/liboclgrind-21.10.install
--- oclgrind-21.10/debian/liboclgrind-21.10.install	2023-01-04 13:16:19.000000000 +0000
+++ oclgrind-21.10/debian/liboclgrind-21.10.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-#!/usr/bin/dh-exec
-usr/lib/liboclgrind-21.10.so usr/lib/${DEB_HOST_MULTIARCH}/
-usr/lib/oclgrind/21.10/* usr/lib/${DEB_HOST_MULTIARCH}/oclgrind/21.10/
diff -Nru oclgrind-21.10/debian/liboclgrind-21.10.lintian-overrides oclgrind-21.10/debian/liboclgrind-21.10.lintian-overrides
--- oclgrind-21.10/debian/liboclgrind-21.10.lintian-overrides	2023-01-04 13:16:19.000000000 +0000
+++ oclgrind-21.10/debian/liboclgrind-21.10.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-# false positives caused by compiler optimizations (#831449)
-spelling-error-in-binary * * [usr/lib/*/liboclgrind-21.10.so]
diff -Nru oclgrind-21.10/debian/liboclgrind-21.10t64.install oclgrind-21.10/debian/liboclgrind-21.10t64.install
--- oclgrind-21.10/debian/liboclgrind-21.10t64.install	1970-01-01 00:00:00.000000000 +0000
+++ oclgrind-21.10/debian/liboclgrind-21.10t64.install	2023-01-04 13:16:19.000000000 +0000
@@ -0,0 +1,3 @@
+#!/usr/bin/dh-exec
+usr/lib/liboclgrind-21.10.so usr/lib/${DEB_HOST_MULTIARCH}/
+usr/lib/oclgrind/21.10/* usr/lib/${DEB_HOST_MULTIARCH}/oclgrind/21.10/
diff -Nru oclgrind-21.10/debian/liboclgrind-21.10t64.lintian-overrides oclgrind-21.10/debian/liboclgrind-21.10t64.lintian-overrides
--- oclgrind-21.10/debian/liboclgrind-21.10t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ oclgrind-21.10/debian/liboclgrind-21.10t64.lintian-overrides	2024-02-05 18:42:21.000000000 +0000
@@ -0,0 +1,3 @@
+# false positives caused by compiler optimizations (#831449)
+spelling-error-in-binary * * [usr/lib/*/liboclgrind-21.10t64.so]
+liboclgrind-21.10t64: package-name-doesnt-match-sonames liboclgrind-21.10


More information about the Pkg-opencl-devel mailing list