Bug#1062298: libfreenect: NMU diff for 64-bit time_t transition
Source: libfreenect 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 libfreenect-0.5.3/debian/changelog libfreenect-0.5.3/debian/changelog --- libfreenect-0.5.3/debian/changelog 2023-11-26 14:57:36.0 + +++ libfreenect-0.5.3/debian/changelog 2024-02-28 12:05:12.0 + @@ -1,3 +1,10 @@ +libfreenect (1:0.5.3-3.2) unstable; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. Closes: #1062298 + + -- Benjamin Drung Wed, 28 Feb 2024 12:05:12 + + libfreenect (1:0.5.3-3.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru libfreenect-0.5.3/debian/control libfreenect-0.5.3/debian/control --- libfreenect-0.5.3/debian/control2023-11-26 14:57:36.0 + +++ libfreenect-0.5.3/debian/control2024-02-28 12:05:12.0 + @@ -3,7 +3,7 @@ Priority: extra Maintainer: Nicolas Bourdaud Uploaders: Arne Bernin , Yaroslav Halchenko , Mark Renouf -Build-Depends: debhelper (>= 9), cmake, pkg-config, +Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 9), cmake, pkg-config, libusb-1.0-0-dev(>= 1.0.18~), freeglut3-dev, Build-Depends-Indep: doxygen, @@ -12,7 +12,10 @@ Vcs-Git: https://salsa.debian.org/neurodebian-team/libfreenect.git -b debian Vcs-Browser: https://salsa.debian.org/neurodebian-team/libfreenect.git -Package: libfreenect0.5 +Package: libfreenect0.5t64 +Provides: ${t64:Provides} +Replaces: libfreenect0.5 +Breaks: libfreenect0.5 (<< ${source:Version}) Section: libs Architecture: any Multi-Arch: same @@ -35,7 +38,7 @@ Package: libfreenect-dev Architecture: any Multi-Arch: same -Depends: ${misc:Depends}, libfreenect0.5 (= ${binary:Version}), libusb-1.0-0-dev (>= 1.0.18~) +Depends: ${misc:Depends}, libfreenect0.5t64 (= ${binary:Version}), libusb-1.0-0-dev (>= 1.0.18~) Description: library for accessing Kinect device -- development files libfreenect is a cross-platform library that provides the necessary interfaces to activate, initialize, and communicate data with the Kinect hardware. @@ -107,7 +110,7 @@ Package: freenect Section: libs Architecture: any -Depends: ${misc:Depends}, libfreenect-bin, libfreenect-dev, libfreenect0.5, +Depends: ${misc:Depends}, libfreenect-bin, libfreenect-dev, libfreenect0.5t64, libfreenect-doc Description: library for accessing Kinect device -- metapackage libfreenect is a cross-platform library that provides the necessary interfaces diff -Nru libfreenect-0.5.3/debian/libfreenect0.5.docs libfreenect-0.5.3/debian/libfreenect0.5.docs --- libfreenect-0.5.3/debian/libfreenect0.5.docs2023-11-26 14:57:36.0 + +++ libfreenect-0.5.3/debian/libfreenect0.5.docs1970-01-01 00:00:00.0 + @@ -1 +0,0 @@ -debian/tmp/usr/share/doc/README.fakenect diff -Nru libfreenect-0.5.3/debian/libfreenect0.5.install libfreenect-0.5.3/debian/libfreenect0.5.install --- libfreenect-0.5.3/debian/libfreenect0.5.install 2023-11-26 14:57:36.0 + +++ libfreenect-0.5.3/debian/libfreenect0.5.install 1970-01-01 00:00:00.0 + @@ -1,2 +0,0 @@ -usr/lib/*/*.so.* -usr/lib/*/fakenect/*.so.* diff -Nru libfreenect-0.5.3/debian/libfreenect0.5.lintian-overrides libfreenect-0.5.3/debian/libfreenect0.5.lintian-overrides --- libfreenect-0.5.3/debian/libfreenect0.5.lintian-overrides 2023-11-26 14:57:36.0 + +++ libfreenect-0.5.3/debian/libfreenect0.5.lintian-overrides 1970-01-01 00:00:00.0 + @@ -1,4 +0,0 @@ -# begin-remove-after: released:forky -# protective diversion for upgrades of files moved from / to /usr -libfreenect0.5: diversion-for-unknown-file lib/udev/rules.d/60-libfreenect0.5.rules [preinst:*] -# end-remove-after diff -Nru libfreenect-0.5.3/debian/libfreenect0.5.postinst libfreenect-0.5.3/debian/libfreenect0.5.postinst --- libfreenect-0.5.3/debian/libfreenect0.5.postinst2023-11-26 14:57:36.0 + +++ libfreenect-0.5.3/debian/libfreenect0.5.postinst1970-01-01 00:00:00.0 + @@ -1,16 +0,0 @@ -#! /bin/sh - -set -e - -# begin-remove-after: released:forky -# protective diversion of files moved from / to /usr, to avoid file loss. -# Only for upgrades. -if [ "$1" = "configure" ]; then -# At this point, the package will have installed the same file in */usr*. -dpkg-divert --package usr-is-merged --no-renam
Bug#1062298: libfreenect: NMU diff for 64-bit time_t transition
Source: libfreenect Version: 1:0.5.3-3.1 Severity: serious Tags: patch pending Justification: library ABI skew on upgrade User: debian-...@lists.debian.org Usertags: time-t 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 libfreenect 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 libfreenect 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'), (500, 'testing'), (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 libfreenect-0.5.3/debian/changelog libfreenect-0.5.3/debian/changelog --- libfreenect-0.5.3/debian/changelog 2023-11-26 14:57:36.0 + +++ libfreenect-0.5.3/debian/changelog 2024-02-01 00:40:13.0 + @@ -1,3 +1,10 @@ +libfreenect (1:0.5.3-3.2) experimental; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. + + -- Steve Langasek Thu, 01 Feb 2024 00:40:13 + + libfreenect (1:0.5.3-3.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru libfreenect-0.5.3/debian/control libfreenect-0.5.3/debian/control --- libfreenect-0.5.3/debian/control2023-11-26 14:57:36.0 + +++ libfreenect-0.5.3/debian/control2024-02-01 00:40:13.0 + @@ -12,7 +12,10 @@ Vcs-Git: https://salsa.debian.org/neurodebian-team/libfreenect.git -b debian Vcs-Browser: https://salsa.debian.org/neurodebian-team/libfreenect.git -Package: libfreenect0.5 +Package: libfreenect0.5t64 +Provides: ${t64:Provides} +Replaces: libfreenect0.5 +Breaks: libfreenect0.5 (<< ${source:Version}) Section: libs Architecture: any Multi-Arch: same @@ -35,7 +38,7 @@ Package: libfreenect-dev Architecture: any Multi-Arch: same -Depends: ${misc:Depends}, libfreenect0.5 (= ${binary:Version}), libusb-1.0-0-dev (>= 1.0.18~) +Depends: ${misc:Depends}, libfreenect0.5t64 (= ${binary:Version}), libusb-1.0-0-dev (>= 1.0.18~) Description: library for accessing Kinect device -- development files libfreenect is a cross-platform library that provides the necessary interfaces to activate, initialize, and communicate data with the Kinect hardware. @@ -107,7 +110,7 @@ Package: freenect Section: libs Architecture: any -Depends: ${misc:Depends}, libfreenect-bin, libfreenect-dev, libfreenect0.5, +Depends: ${misc:Depends}, libfreenect-bin, libfreenect-dev, libfreenect0.5t64, libfreenect-doc Description: library for accessing Kinect device -- metapackage libfreenect is a cross-platform library that provides the necessary interfaces diff -Nru libfreenect-0.5.3/debian/libfreenect0.5.docs libfreenect-0.5.3/debian/libfreenect0.5.docs --- libfreenect-0.5.3/debian/libfreenect0.5.docs2023-11-26 14:57:36.0 + +++ libfreenect-0.5.3/debian/libfreenect0.5.docs1970-01-01 00:00:00.0 + @@ -1 +0,0 @@ -debian/tmp/usr/share/doc/README.fakenect diff -Nru libfreenect-0.5.3/debian/libfreenect0.5.install libfreenect-0.5.3/debian/libfreenect0.5.install --- libfreenect-0.5.3/debian/libfreenect0.5.install 2023-11-26 14:57:36.0 + +++ libfreenect-0.5.3/debian/libfreenect0.5.install 1970-01-01 00:00:00.0 + @@ -1,2 +0,0 @@ -usr/lib/*/*.so.* -usr/lib/*/fakenect/*.so.* diff -Nru libfreenect-0.5.3/debian/libfreenect0.5.lintian-overrides libfreenect-0.5.3/debian/libfreenect0.5.lintian-overrides --- libfreenect-0.5.3/debian/libfreenect0.5.lintian-