Bug#1063083: starpu: NMU diff for 64-bit time_t transition

2024-02-29 Thread Benjamin Drung
Source: starpu
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 starpu-1.4.3+dfsg/debian/changelog starpu-1.4.3+dfsg/debian/changelog
--- starpu-1.4.3+dfsg/debian/changelog  2024-01-29 19:36:00.0 +
+++ starpu-1.4.3+dfsg/debian/changelog  2024-02-29 17:31:25.0 +
@@ -1,3 +1,13 @@
+starpu (1.4.3+dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063083
+  * Ignore failures from 'chmod' in debian/rules clean; this fails because
+'*contrib*' .install files have become dangling symlinks, but these are
+not part of the source package anyway.
+
+ -- Benjamin Drung   Thu, 29 Feb 2024 17:31:25 +
+
 starpu (1.4.3+dfsg-2) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru starpu-1.4.3+dfsg/debian/control starpu-1.4.3+dfsg/debian/control
--- starpu-1.4.3+dfsg/debian/control2024-01-29 13:26:34.0 +
+++ starpu-1.4.3+dfsg/debian/control2024-02-29 17:31:25.0 +
@@ -1,7 +1,7 @@
 Source: starpu
 Priority: optional
 Maintainer: Samuel Thibault 
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
chrpath,
pkg-config,
libnuma-dev [linux-any],
@@ -39,7 +39,7 @@
 Package: libstarpu-dev
 Section: libdevel
 Architecture: any
-Depends: libstarpu-1.4-4 (= ${binary:Version}) | libstarpu-any-1.4-4, 
libstarpu-openmp-llvm-1.4-1 (= ${binary:Version}) [amd64 arm64 armhf i386 
mips64el ppc64el ppc64 riscv64] | libstarpu-any-openmp-llvm-1.4-1 [amd64 arm64 
armhf i386 mips64el ppc64el ppc64 riscv64], libstarpufft-1.4-1 (= 
${binary:Version}) | libstarpu-anyfft-1.4-1, libstarpumpi-1.4-3 (= 
${binary:Version}) | libstarpu-anympi-1.4-3, libsocl-1.4-1 (= 
${binary:Version}) | libsocl-any-1.4-1, libstarpurm-1.4-1 (= ${binary:Version}) 
| libstarpu-anyrm-1.4-1, ${misc:Depends}, libhwloc-dev, opencl-headers, 
ocl-icd-opencl-dev, libpapi-dev [amd64 arm64 armel armhf i386 mips64el mipsel 
ppc64el hppa ppc64 x32]
+Depends: libstarpu-1.4-4t64 (= ${binary:Version}) | libstarpu-any-1.4-4, 
libstarpu-openmp-llvm-1.4-1t64 (= ${binary:Version}) [amd64 arm64 armhf i386 
mips64el ppc64el ppc64 riscv64] | libstarpu-any-openmp-llvm-1.4-1 [amd64 arm64 
armhf i386 mips64el ppc64el ppc64 riscv64], libstarpufft-1.4-1t64 (= 
${binary:Version}) | libstarpu-anyfft-1.4-1, libstarpumpi-1.4-3t64 (= 
${binary:Version}) | libstarpu-anympi-1.4-3, libsocl-1.4-1t64 (= 
${binary:Version}) | libsocl-any-1.4-1, libstarpurm-1.4-1t64 (= 
${binary:Version}) | libstarpu-anyrm-1.4-1, ${misc:Depends}, libhwloc-dev, 
opencl-headers, ocl-icd-opencl-dev, libpapi-dev [amd64 arm64 armel armhf i386 
mips64el mipsel ppc64el hppa ppc64 x32]
 Conflicts: libstarpu-contrib-dev
 Provides: libstarpu-any-dev
 Description: Task scheduler for heterogeneous multicore machines - dev
@@ -54,12 +54,14 @@
  This package contains development headers and libraries.
 # This "contrib" version is built against CUDA.
 
-Package: libstarpu-1.4-4
+Package: libstarpu-1.4-4t64
+Replaces: libstarpu-1.4-4
+Breaks: libstarpu-1.4-4 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: libstarpu-contrib-1.4-4
-Provides: libstarpu-any-1.4-4
+Provides: ${t64:Provides}, libstarpu-any-1.4-4
 Description: Task scheduler for heterogeneous multicore machines
  StarPU is a runtime system that offers support for heterogeneous
  multicore machines. While many efforts are devoted to design efficient
@@ -72,12 +74,14 @@
  This package contains the main StarPU library
 # This "contrib" version is built against CUDA.
 
-Package: libstarpu-openmp-llvm-1.4-1
+Package: libstarpu-openmp-llvm-1.4-1t64
+Replaces: libstarpu-openmp-llvm-1.4-1
+Breaks: libstarpu-openmp-llvm-1.4-1 (<< ${source:Version})
 Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: libstarpu-contrib-openmp-llvm-1.4-1
-Provides: libstarpu-any-openmp-llvm-1.4-1
+Provides: ${t64:Provides}, libstarpu-any-openmp-llvm-1.4-1
 Description: Task scheduler for heterogeneous multicore machines
  StarPU is a runtime system that offers support for heterogeneous
  multicore machines. While many efforts are devoted to design efficient
@@ -90,12 +94,14 @@
 

Bug#1063083: starpu: NMU diff for 64-bit time_t transition

2024-02-04 Thread Steve Langasek
Source: starpu
Version: 1.4.3+dfsg-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
starpu 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 starpu
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 starpu-1.4.3+dfsg/debian/changelog starpu-1.4.3+dfsg/debian/changelog
--- starpu-1.4.3+dfsg/debian/changelog  2024-01-29 19:36:00.0 +
+++ starpu-1.4.3+dfsg/debian/changelog  2024-02-05 00:44:39.0 +
@@ -1,3 +1,13 @@
+starpu (1.4.3+dfsg-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * Ignore failures from 'chmod' in debian/rules clean; this fails because
+'*contrib*' .install files have become dangling symlinks, but these are
+not part of the source package anyway.
+
+ -- Steve Langasek   Mon, 05 Feb 2024 00:44:39 +
+
 starpu (1.4.3+dfsg-2) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru starpu-1.4.3+dfsg/debian/control starpu-1.4.3+dfsg/debian/control
--- starpu-1.4.3+dfsg/debian/control2024-01-29 13:26:34.0 +
+++ starpu-1.4.3+dfsg/debian/control2024-02-05 00:44:39.0 +
@@ -39,7 +39,7 @@
 Package: libstarpu-dev
 Section: libdevel
 Architecture: any
-Depends: libstarpu-1.4-4 (= ${binary:Version}) | libstarpu-any-1.4-4, 
libstarpu-openmp-llvm-1.4-1 (= ${binary:Version}) [amd64 arm64 armhf i386 
mips64el ppc64el ppc64 riscv64] | libstarpu-any-openmp-llvm-1.4-1 [amd64 arm64 
armhf i386 mips64el ppc64el ppc64 riscv64], libstarpufft-1.4-1 (= 
${binary:Version}) | libstarpu-anyfft-1.4-1, libstarpumpi-1.4-3 (= 
${binary:Version}) | libstarpu-anympi-1.4-3, libsocl-1.4-1 (= 
${binary:Version}) | libsocl-any-1.4-1, libstarpurm-1.4-1 (= ${binary:Version}) 
| libstarpu-anyrm-1.4-1, ${misc:Depends}, libhwloc-dev, opencl-headers, 
ocl-icd-opencl-dev, libpapi-dev [amd64 arm64 armel armhf i386 mips64el mipsel 
ppc64el hppa ppc64 x32]
+Depends: libstarpu-1.4-4t64 (= ${binary:Version}) | libstarpu-any-1.4-4, 
libstarpu-openmp-llvm-1.4-1t64 (= ${binary:Version}) [amd64 arm64 armhf i386 
mips64el ppc64el ppc64 riscv64] | libstarpu-any-openmp-llvm-1.4-1 [amd64 arm64 
armhf i386 mips64el ppc64el ppc64 riscv64], libstarpufft-1.4-1t64 (= 
${binary:Version}) | libstarpu-anyfft-1.4-1, libstarpumpi-1.4-3t64 (= 
${binary:Version}) | libstarpu-anympi-1.4-3, libsocl-1.4-1t64 (= 
${binary:Version}) | libsocl-any-1.4-1, libstarpurm-1.4-1t64 (= 
${binary:Version}) | libstarpu-anyrm-1.4-1, ${misc:Depends}, libhwloc-dev, 
opencl-headers, ocl-icd-opencl-dev, libpapi-dev [amd64 arm64 armel armhf i386 
mips64el mipsel ppc64el hppa ppc64 x32]
 Conflicts: libstarpu-contrib-dev
 Provides: libstarpu-any-dev
 Description: Task scheduler for heterogeneous multicore machines - dev
@@ -54,12 +54,14 @@
  This package contains development headers and libraries.
 # This "contrib" version is built against CUDA.
 
-Package: libstarpu-1.4-4
+Package: libstarpu-1.4-4t64
+Replaces: libstarpu-1.4-4
+Breaks: libstarpu-1.4-4 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends