Bug#1063049: visp: NMU diff for 64-bit time_t transition

2024-02-07 Thread Fabien Spindler

Dear,

Thanks for this patch. If I understand well you will apply the patch.
I don't have to apply it to the upstream. I'm right?

Regards
Fabien

Le 04/02/2024 à 19:19, Steve Langasek a écrit :

Source: visp
Version: 3.6.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
visp 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 visp
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)




Bug#1063049: visp: NMU diff for 64-bit time_t transition

2024-02-04 Thread Steve Langasek
Source: visp
Version: 3.6.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
visp 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 visp
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 visp-3.6.0/debian/changelog visp-3.6.0/debian/changelog
--- visp-3.6.0/debian/changelog 2023-10-20 04:27:14.0 +
+++ visp-3.6.0/debian/changelog 2024-02-04 17:53:11.0 +
@@ -1,3 +1,10 @@
+visp (3.6.0-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Sun, 04 Feb 2024 17:53:11 +
+
 visp (3.6.0-2) unstable; urgency=medium
 
   * Fix short desc for ddn-tracker
diff -Nru visp-3.6.0/debian/control visp-3.6.0/debian/control
--- visp-3.6.0/debian/control   2023-10-20 04:27:14.0 +
+++ visp-3.6.0/debian/control   2024-02-04 17:53:11.0 +
@@ -70,7 +70,7 @@
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
-   libvisp-core3.6 (= ${binary:Version}),
+   libvisp-core3.6t64 (= ${binary:Version}),
libeigen3-dev,
libgsl-dev,
liblapack-dev,
@@ -92,7 +92,10 @@
  ViSP can be useful in robotics, computer vision, augmented reality and
  computer animation.
 
-Package: libvisp-core3.6
+Package: libvisp-core3.6t64
+Provides: ${t64:Provides}
+Replaces: libvisp-core3.6
+Breaks: libvisp-core3.6 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -118,7 +121,7 @@
 Multi-Arch: same
 Depends: ${misc:Depends},
libvisp-core-dev (= ${binary:Version}),
-   libvisp-gui3.6 (= ${binary:Version}),
+   libvisp-gui3.6t64 (= ${binary:Version}),
libx11-dev
 Description: development files for libvisp-gui
  This package contains the header files and static library needed to compile
@@ -136,13 +139,16 @@
  ViSP can be useful in robotics, computer vision, augmented reality and
  computer animation.
 
-Package: libvisp-gui3.6
+Package: libvisp-gui3.6t64
+Provides: ${t64:Provides}
+Replaces: libvisp-gui3.6
+Breaks: libvisp-gui3.6 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
${shlibs:Depends},
-   libvisp-core3.6 (= ${binary:Version})
+   libvisp-core3.6t64 (= ${binary:Version})
 Description: visual servoing platform gui library
  This package contains the ViSP (Visual Servoing Platform) graphical user
  interface (GUI) runtime library.
@@ -164,7 +170,7 @@
 Multi-Arch: same
 Depends: ${misc:Depends},
libvisp-core-dev (= ${binary:Version}),
-   libvisp-imgproc3.6 (= ${binary:Version})
+   libvisp-imgproc3.6t64 (= ${binary:Version})
 Description: development files for libvisp-imgproc
  This package contains the header files and static library needed to compile
  applications that use ViSP (Visual Servoing Platform) image processing
@@ -181,13 +187,16 @@
  ViSP can be useful in robotics, computer vision, augmented reality and
  computer animation.
 
-Package: libvisp-imgproc3.6
+Package: libvisp-imgproc3.6t64
+Provides: ${t64:Provides}
+Replaces: libvisp-imgproc3.6