Bug#1063098: openni: NMU diff for 64-bit time_t transition
Source: openni
Version: 1.5.4.0+dfsg-7
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-arm@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
openni 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 openni
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 openni-1.5.4.0+dfsg/debian/changelog openni-1.5.4.0+dfsg/debian/changelog
--- openni-1.5.4.0+dfsg/debian/changelog 2023-11-15 07:05:03.000000000 -0300
+++ openni-1.5.4.0+dfsg/debian/changelog 2024-02-05 00:32:05.000000000 -0300
@@ -1,3 +1,10 @@
+openni (1.5.4.0+dfsg-7.1) experimental; urgency=medium
+
+ * Non-maintainer upload.
+ * Rename libraries for 64-bit time_t transition.
+
+ -- Lucas Kanashiro <kanashiro@debian.org> Mon, 05 Feb 2024 00:32:05 -0300
+
openni (1.5.4.0+dfsg-7) unstable; urgency=medium
* Add loongarch64 support (Closes: #1050419)
diff -Nru openni-1.5.4.0+dfsg/debian/control openni-1.5.4.0+dfsg/debian/control
--- openni-1.5.4.0+dfsg/debian/control 2023-11-15 07:04:47.000000000 -0300
+++ openni-1.5.4.0+dfsg/debian/control 2024-02-05 00:32:05.000000000 -0300
@@ -18,7 +18,10 @@
Vcs-Git: https://salsa.debian.org/multimedia-team/openni.git
Vcs-Browser: https://salsa.debian.org/multimedia-team/openni
-Package: libopenni0
+Package: libopenni0t64
+Provides: ${t64:Provides}
+Replaces: libopenni0
+Breaks: libopenni0 (<< ${source:Version})
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
@@ -36,7 +39,7 @@
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
- libopenni0 (= ${binary:Version})
+ libopenni0t64 (= ${binary:Version})
Description: Java framework for sensor-based 'Natural Interaction'
OpenNI is a framework for getting data to support 'Natural Interaction',
i.e. skeleton tracking, gesture tracking, and similar ways of getting data
@@ -68,7 +71,7 @@
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends},
- libopenni0 (= ${binary:Version})
+ libopenni0t64 (= ${binary:Version})
Suggests: openni-doc
Description: headers for OpenNI 'Natural Interaction' frameworks
OpenNI is a framework for getting data to support 'Natural Interaction',
diff -Nru openni-1.5.4.0+dfsg/debian/libopenni0.dirs openni-1.5.4.0+dfsg/debian/libopenni0.dirs
--- openni-1.5.4.0+dfsg/debian/libopenni0.dirs 2018-10-20 11:13:06.000000000 -0300
+++ openni-1.5.4.0+dfsg/debian/libopenni0.dirs 1969-12-31 21:00:00.000000000 -0300
@@ -1 +0,0 @@
-/var/lib/ni
diff -Nru openni-1.5.4.0+dfsg/debian/libopenni0.install openni-1.5.4.0+dfsg/debian/libopenni0.install
--- openni-1.5.4.0+dfsg/debian/libopenni0.install 2018-10-20 11:11:06.000000000 -0300
+++ openni-1.5.4.0+dfsg/debian/libopenni0.install 1969-12-31 21:00:00.000000000 -0300
@@ -1,2 +0,0 @@
-Platform/Linux/Bin/*-Release/lib*.so.* usr/lib/
-Data/SamplesConfig.xml etc/openni/
diff -Nru openni-1.5.4.0+dfsg/debian/libopenni0.postinst openni-1.5.4.0+dfsg/debian/libopenni0.postinst
--- openni-1.5.4.0+dfsg/debian/libopenni0.postinst 2019-09-14 04:20:17.000000000 -0300
+++ openni-1.5.4.0+dfsg/debian/libopenni0.postinst 1969-12-31 21:00:00.000000000 -0300
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
- configure)
- # Only register upon fresh install
- if [ -z "$2" ]; then
- # manually generate modules.xml, so we don't have a cyclic dependency to openni-utils
- cat > /var/lib/ni/modules.xml <<EOF
-<Modules>
- <Module path="/usr/lib/libnimMockNodes.so.0" configDir="/etc/openni" />
- <Module path="/usr/lib/libnimCodecs.so.0" configDir="/etc/openni" />
- <Module path="/usr/lib/libnimRecorder.so.0" configDir="/etc/openni" />
-</Modules>
-EOF
- fi
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff -Nru openni-1.5.4.0+dfsg/debian/libopenni0.postrm openni-1.5.4.0+dfsg/debian/libopenni0.postrm
--- openni-1.5.4.0+dfsg/debian/libopenni0.postrm 2019-09-14 04:20:17.000000000 -0300
+++ openni-1.5.4.0+dfsg/debian/libopenni0.postrm 1969-12-31 21:00:00.000000000 -0300
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
- purge)
- rm -f /var/lib/ni/modules.xml 2>/dev/null
- rm -f /var/lib/ni/licenses.xml 2>/dev/null
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff -Nru openni-1.5.4.0+dfsg/debian/libopenni0t64.dirs openni-1.5.4.0+dfsg/debian/libopenni0t64.dirs
--- openni-1.5.4.0+dfsg/debian/libopenni0t64.dirs 1969-12-31 21:00:00.000000000 -0300
+++ openni-1.5.4.0+dfsg/debian/libopenni0t64.dirs 2018-10-20 11:13:06.000000000 -0300
@@ -0,0 +1 @@
+/var/lib/ni
diff -Nru openni-1.5.4.0+dfsg/debian/libopenni0t64.install openni-1.5.4.0+dfsg/debian/libopenni0t64.install
--- openni-1.5.4.0+dfsg/debian/libopenni0t64.install 1969-12-31 21:00:00.000000000 -0300
+++ openni-1.5.4.0+dfsg/debian/libopenni0t64.install 2018-10-20 11:11:06.000000000 -0300
@@ -0,0 +1,2 @@
+Platform/Linux/Bin/*-Release/lib*.so.* usr/lib/
+Data/SamplesConfig.xml etc/openni/
diff -Nru openni-1.5.4.0+dfsg/debian/libopenni0t64.lintian-overrides openni-1.5.4.0+dfsg/debian/libopenni0t64.lintian-overrides
--- openni-1.5.4.0+dfsg/debian/libopenni0t64.lintian-overrides 1969-12-31 21:00:00.000000000 -0300
+++ openni-1.5.4.0+dfsg/debian/libopenni0t64.lintian-overrides 2024-02-05 00:32:05.000000000 -0300
@@ -0,0 +1 @@
+libopenni0t64: package-name-doesnt-match-sonames libopenni0
diff -Nru openni-1.5.4.0+dfsg/debian/libopenni0t64.postinst openni-1.5.4.0+dfsg/debian/libopenni0t64.postinst
--- openni-1.5.4.0+dfsg/debian/libopenni0t64.postinst 1969-12-31 21:00:00.000000000 -0300
+++ openni-1.5.4.0+dfsg/debian/libopenni0t64.postinst 2019-09-14 04:20:17.000000000 -0300
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ # Only register upon fresh install
+ if [ -z "$2" ]; then
+ # manually generate modules.xml, so we don't have a cyclic dependency to openni-utils
+ cat > /var/lib/ni/modules.xml <<EOF
+<Modules>
+ <Module path="/usr/lib/libnimMockNodes.so.0" configDir="/etc/openni" />
+ <Module path="/usr/lib/libnimCodecs.so.0" configDir="/etc/openni" />
+ <Module path="/usr/lib/libnimRecorder.so.0" configDir="/etc/openni" />
+</Modules>
+EOF
+ fi
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff -Nru openni-1.5.4.0+dfsg/debian/libopenni0t64.postrm openni-1.5.4.0+dfsg/debian/libopenni0t64.postrm
--- openni-1.5.4.0+dfsg/debian/libopenni0t64.postrm 1969-12-31 21:00:00.000000000 -0300
+++ openni-1.5.4.0+dfsg/debian/libopenni0t64.postrm 2019-09-14 04:20:17.000000000 -0300
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ purge)
+ rm -f /var/lib/ni/modules.xml 2>/dev/null
+ rm -f /var/lib/ni/licenses.xml 2>/dev/null
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
Reply to: