Bug#1063263: pocl: NMU diff for 64-bit time_t transition
Source: pocl Dear maintainer, Please find attached a final version of this patch for the time_t transition. This patch is being uploaded to unstable. Note that this adds a versioned build-dependency on dpkg-dev, to guard against accidental backports with a wrong ABI. Thanks! -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.5.0-21-generic (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_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 diff -Nru pocl-5.0/debian/changelog pocl-5.0/debian/changelog --- pocl-5.0/debian/changelog 2024-01-19 13:00:32.0 + +++ pocl-5.0/debian/changelog 2024-02-29 20:59:55.0 + @@ -1,3 +1,10 @@ +pocl (5.0-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. Closes: #1063263 + + -- Benjamin Drung Thu, 29 Feb 2024 20:59:55 + + pocl (5.0-2) unstable; urgency=medium * Switch to llvm 16. (Closes: #1060298) diff -Nru pocl-5.0/debian/control pocl-5.0/debian/control --- pocl-5.0/debian/control 2024-01-19 13:00:32.0 + +++ pocl-5.0/debian/control 2024-02-29 20:59:55.0 + @@ -4,7 +4,7 @@ Maintainer: Debian OpenCL Maintainers Uploaders: Vincent Danjean , Andreas Beckmann , -Build-Depends: +Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), gcc (>= 4:13), clang-16, @@ -31,7 +31,7 @@ Architecture: any Multi-Arch: same Depends: - libpocl2 (= ${binary:Version}), + libpocl2t64 (= ${binary:Version}), ${misc:Depends} Provides: opencl-icd, @@ -66,7 +66,7 @@ . This package provides the architecture independent files of the pocl library. -Package: libpocl2 +Package: libpocl2t64 Architecture: any Multi-Arch: same Pre-Depends: @@ -78,11 +78,11 @@ ${misc:Depends} Recommends: pocl-opencl-icd, -Breaks: +Breaks:libpocl2 (<< ${source:Version}), libpocl1-common (<< 0.13-9), -Replaces: +Replaces:libpocl2, libpocl1-common (<< 0.13-9), -Provides: +Provides: ${t64:Provides}, libpocl2+llvm${LLVM:Version}, Description: Portable Computing Language library Portable Computing Language is an open source implementation of the OpenCL @@ -97,7 +97,7 @@ Architecture: any Section: libdevel Depends: - libpocl2 (= ${binary:Version}), + libpocl2t64 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: development files for the pocl library diff -Nru pocl-5.0/debian/libpocl2.install pocl-5.0/debian/libpocl2.install --- pocl-5.0/debian/libpocl2.install2024-01-19 13:00:32.0 + +++ pocl-5.0/debian/libpocl2.install1970-01-01 00:00:00.0 + @@ -1,4 +0,0 @@ -usr/lib/${DEB_HOST_MULTIARCH}/libpocl.so.2* -usr/lib/${DEB_HOST_MULTIARCH}/pocl/libpocl-devices-basic.so -usr/lib/${DEB_HOST_MULTIARCH}/pocl/libpocl-devices-pthread.so -usr/share/pocl/kernel-*-*-*-*-*.bc diff -Nru pocl-5.0/debian/libpocl2.lintian-overrides pocl-5.0/debian/libpocl2.lintian-overrides --- pocl-5.0/debian/libpocl2.lintian-overrides 2024-01-19 13:00:32.0 + +++ pocl-5.0/debian/libpocl2.lintian-overrides 1970-01-01 00:00:00.0 + @@ -1,2 +0,0 @@ -# we use fake Debian revisions to mark symbol (dis)appearance on compiler version changes -symbols-file-contains-debian-revision diff -Nru pocl-5.0/debian/libpocl2.symbols pocl-5.0/debian/libpocl2.symbols --- pocl-5.0/debian/libpocl2.symbols2024-01-19 13:00:32.0 + +++ pocl-5.0/debian/libpocl2.symbols1970-01-01 00:00:00.0 + @@ -1,332 +0,0 @@ -# SymbolsHelper-Confirmed: 5.0-2~llvm16 amd64 i386 -libpocl-devices-basic.so #PACKAGE# #MINVER# -* Build-Depends-Package: libpocl-dev - pocl_basic_init_device_ops@Base 1.6 - pocl_topology_detect_device_info@Base 5 -libpocl-devices-pthread.so #PACKAGE# #MINVER# -* Build-Depends-Package: libpocl-dev - pocl_pthread_init_device_ops@Base 1.6 -libpocl.so.2 #PACKAGE# #MINVER# -* Build-Depends-Package: libpocl-dev -#MISSING: 0.11# Header@Base 0.10 -#MISSING: 0.11# KernelName@Base 0.10 - POclGetExtensionFunctionAddress@Base 3.0 - POclIcdGetPlatformIDsKHR@Base 3.0 - POclReleaseContext@Base 4 - POclReleaseDevice@Base 1.8-3~visibility - POclReleaseEvent@Base 1.6-5~visibility - POclRetainEvent@Base 1.6-5~visibility -#MISSING: 1.6-5~visibility# X@Base 0.13 -#MISSING: 1.6-5~visibility# Y@Base 0.10 -#MISSING: 5# (subst)_Z14poclParseSPIRVPi{size_t}RSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrI11OCLFuncInfoESt4lessIS6_ESaISt4pairIKS6_S9_EEE@Base 4 - _Z16populateModulePMPvS_jjb@Base 5 - _Z20getModuleIntMetadataRKN4llvm6ModuleEPKcRm@Base 1.8 - _Z21getModuleBoolMetadataRKN4llvm6ModuleEPKcRb@Base 1.8 - _Z23getModuleStringMetadataRKN4llvm6ModuleEPKcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 1.8 -
Bug#1063263: pocl: NMU diff for 64-bit time_t transition
Source: pocl Version: 5.0-2 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 pocl 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 pocl 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.2.0-39-generic (SMP w/32 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C.UTF-8, 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 pocl-5.0/debian/changelog pocl-5.0/debian/changelog --- pocl-5.0/debian/changelog 2024-01-19 10:00:32.0 -0300 +++ pocl-5.0/debian/changelog 2024-02-05 19:09:32.0 -0300 @@ -1,3 +1,10 @@ +pocl (5.0-2.1) experimental; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. + + -- Lucas Kanashiro Mon, 05 Feb 2024 19:09:32 -0300 + pocl (5.0-2) unstable; urgency=medium * Switch to llvm 16. (Closes: #1060298) diff -Nru pocl-5.0/debian/control pocl-5.0/debian/control --- pocl-5.0/debian/control 2024-01-19 10:00:32.0 -0300 +++ pocl-5.0/debian/control 2024-02-05 19:09:32.0 -0300 @@ -31,7 +31,7 @@ Architecture: any Multi-Arch: same Depends: - libpocl2 (= ${binary:Version}), + libpocl2t64 (= ${binary:Version}), ${misc:Depends} Provides: opencl-icd, @@ -66,7 +66,7 @@ . This package provides the architecture independent files of the pocl library. -Package: libpocl2 +Package: libpocl2t64 Architecture: any Multi-Arch: same Pre-Depends: @@ -78,11 +78,11 @@ ${misc:Depends} Recommends: pocl-opencl-icd, -Breaks: +Breaks:libpocl2 (<< ${source:Version}), libpocl1-common (<< 0.13-9), -Replaces: +Replaces:libpocl2, libpocl1-common (<< 0.13-9), -Provides: +Provides: ${t64:Provides}, libpocl2+llvm${LLVM:Version}, Description: Portable Computing Language library Portable Computing Language is an open source implementation of the OpenCL @@ -97,7 +97,7 @@ Architecture: any Section: libdevel Depends: - libpocl2 (= ${binary:Version}), + libpocl2t64 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: development files for the pocl library diff -Nru pocl-5.0/debian/libpocl2.install pocl-5.0/debian/libpocl2.install --- pocl-5.0/debian/libpocl2.install2024-01-19 10:00:32.0 -0300 +++ pocl-5.0/debian/libpocl2.install1969-12-31 21:00:00.0 -0300 @@ -1,4 +0,0 @@ -usr/lib/${DEB_HOST_MULTIARCH}/libpocl.so.2* -usr/lib/${DEB_HOST_MULTIARCH}/pocl/libpocl-devices-basic.so -usr/lib/${DEB_HOST_MULTIARCH}/pocl/libpocl-devices-pthread.so -usr/share/pocl/kernel-*-*-*-*-*.bc diff -Nru pocl-5.0/debian/libpocl2.lintian-overrides pocl-5.0/debian/libpocl2.lintian-overrides --- pocl-5.0/debian/libpocl2.lintian-overrides 2024-01-19 10:00:32.0 -0300 +++ pocl-5.0/debian/libpocl2.lintian-overrides 1969-12-31 21:00:00.0 -0300 @@ -1,2 +0,0 @@ -# we use fake Debian revisions to mark symbol (dis)appearance on compiler version changes -symbols-file-contains-debian-revision diff -Nru pocl-5.0/debian/libpocl2.symbols pocl-5.0/debian/libpocl2.symbols --- pocl-5.0/debian/libpocl2.symbols2024-01-19 10:00:32.0 -0300 +++ pocl-5.0/debian/libpocl2.symbols1969-12-31 21:00:00.0 -0300 @@ -1,332 +0,0 @@ -# SymbolsHelper-Confirmed: 5.0-2~llvm16 amd64 i386