Bug#1062824: onnx: NMU diff for 64-bit time_t transition
Source: onnx
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 onnx-1.14.1/debian/changelog onnx-1.14.1/debian/changelog
--- onnx-1.14.1/debian/changelog 2024-01-01 01:01:26.000000000 +0000
+++ onnx-1.14.1/debian/changelog 2024-02-29 02:26:46.000000000 +0000
@@ -1,3 +1,10 @@
+onnx (1.14.1-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Rename libraries for 64-bit time_t transition. Closes: #1062824
+
+ -- Benjamin Drung <bdrung@debian.org> Thu, 29 Feb 2024 02:26:46 +0000
+
onnx (1.14.1-2) unstable; urgency=medium
* Upload to unstable.
diff -Nru onnx-1.14.1/debian/control onnx-1.14.1/debian/control
--- onnx-1.14.1/debian/control 2023-08-20 03:51:54.000000000 +0000
+++ onnx-1.14.1/debian/control 2024-02-29 02:26:46.000000000 +0000
@@ -7,7 +7,7 @@
Vcs-Browser: https://salsa.debian.org/deeplearning-team/onnx
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Uploaders: Mo Zhou <lumin@debian.org>
-Build-Depends: cmake,
+Build-Depends: dpkg-dev (>= 1.22.5), cmake,
debhelper-compat (= 12),
dh-exec,
dh-python,
@@ -44,7 +44,10 @@
.
This package contains the python interface.
-Package: libonnx1
+Package: libonnx1t64
+Provides: ${t64:Provides}
+Replaces: libonnx1
+Breaks: libonnx1 (<< ${source:Version})
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -66,7 +69,7 @@
Package: libonnx-dev
Architecture: any
Multi-Arch: same
-Depends: libonnx1 (= ${binary:Version}),
+Depends: libonnx1t64 (= ${binary:Version}),
${misc:Depends}
Description: Open Neural Network Exchange (ONNX) (dev)
Open Neural Network Exchange (ONNX) is the first step toward an open ecosystem
diff -Nru onnx-1.14.1/debian/libonnx1.install onnx-1.14.1/debian/libonnx1.install
--- onnx-1.14.1/debian/libonnx1.install 2022-02-19 14:14:02.000000000 +0000
+++ onnx-1.14.1/debian/libonnx1.install 1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/lib/*/libonnx.so.*
-usr/lib/*/libonnx_proto.so.*
diff -Nru onnx-1.14.1/debian/libonnx1t64.install onnx-1.14.1/debian/libonnx1t64.install
--- onnx-1.14.1/debian/libonnx1t64.install 1970-01-01 00:00:00.000000000 +0000
+++ onnx-1.14.1/debian/libonnx1t64.install 2022-02-19 14:14:02.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib/*/libonnx.so.*
+usr/lib/*/libonnx_proto.so.*
diff -Nru onnx-1.14.1/debian/libonnx1t64.lintian-overrides onnx-1.14.1/debian/libonnx1t64.lintian-overrides
--- onnx-1.14.1/debian/libonnx1t64.lintian-overrides 1970-01-01 00:00:00.000000000 +0000
+++ onnx-1.14.1/debian/libonnx1t64.lintian-overrides 2024-02-29 02:26:34.000000000 +0000
@@ -0,0 +1 @@
+libonnx1t64: package-name-doesnt-match-sonames libonnx1
Reply to: