[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1063107: openvdb: NMU diff for 64-bit time_t transition



Source: openvdb
Version: 10.0.1-2
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
openvdb 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 openvdb
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 openvdb-10.0.1/debian/changelog openvdb-10.0.1/debian/changelog
--- openvdb-10.0.1/debian/changelog	2023-05-04 18:14:05.000000000 -0300
+++ openvdb-10.0.1/debian/changelog	2024-02-05 01:07:41.000000000 -0300
@@ -1,3 +1,10 @@
+openvdb (10.0.1-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Lucas Kanashiro <kanashiro@debian.org>  Mon, 05 Feb 2024 01:07:41 -0300
+
 openvdb (10.0.1-2) unstable; urgency=medium
 
   * debian/control: Fix dependency of libopenvdb-ax-dev on shared library
diff -Nru openvdb-10.0.1/debian/control openvdb-10.0.1/debian/control
--- openvdb-10.0.1/debian/control	2023-05-04 18:13:36.000000000 -0300
+++ openvdb-10.0.1/debian/control	2024-02-05 01:07:41.000000000 -0300
@@ -43,7 +43,10 @@
 Standards-Version: 4.6.1
 X-Python3-Version: >= 3.7
 
-Package: libopenvdb10.0
+Package: libopenvdb10.0t64
+Provides: ${t64:Provides}
+Replaces: libopenvdb10.0
+Breaks: libopenvdb10.0 (<< ${source:Version})
 Multi-Arch: same
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -57,7 +60,10 @@
  .
  This package contains the libraries needed to run OpenVDB applications
 
-Package: libopenvdb-ax10.0
+Package: libopenvdb-ax10.0t64
+Provides: ${t64:Provides}
+Replaces: libopenvdb-ax10.0
+Breaks: libopenvdb-ax10.0 (<< ${source:Version})
 Multi-Arch: same
 Architecture: amd64 arm64 armel armhf i386 mips64el ppc64el s390x arc hurd-i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k powerpc ppc64 riscv64 sh4 sparc64 x32
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -76,7 +82,7 @@
 Section: libdevel
 Depends: libblosc-dev,
          libimath-dev,
-         libopenvdb10.0 (= ${binary:Version}),
+         libopenvdb10.0t64 (= ${binary:Version}),
          libtbb-dev,
          ${misc:Depends}
 Description: Sparse Volume Processing toolkit - dev
@@ -93,7 +99,7 @@
 Section: libdevel
 Depends: libblosc-dev,
          libimath-dev,
-         libopenvdb-ax10.0 (= ${binary:Version}),
+         libopenvdb-ax10.0t64 (= ${binary:Version}),
          libtbb-dev,
          ${misc:Depends}
 Description: Sparse Volume Processing toolkit - dev
@@ -110,7 +116,7 @@
 Section: libdevel
 Depends: libblosc-dev,
          libimath-dev,
-         libopenvdb10.0 (= ${binary:Version}),
+         libopenvdb10.0t64 (= ${binary:Version}),
          libtbb-dev,
          ${misc:Depends}
 Description: Sparse Volume Processing toolkit - NanoVDB - dev
diff -Nru openvdb-10.0.1/debian/control.in openvdb-10.0.1/debian/control.in
--- openvdb-10.0.1/debian/control.in	2023-05-04 18:12:44.000000000 -0300
+++ openvdb-10.0.1/debian/control.in	2024-02-05 01:07:41.000000000 -0300
@@ -43,7 +43,10 @@
 Standards-Version: 4.6.1
 X-Python3-Version: >= 3.7
 
-Package: libopenvdb10.0
+Package: libopenvdb10.0t64
+Provides: ${t64:Provides}
+Replaces: libopenvdb10.0
+Breaks: libopenvdb10.0 (<< ${source:Version})
 Multi-Arch: same
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -57,7 +60,10 @@
  .
  This package contains the libraries needed to run OpenVDB applications
 
-Package: libopenvdb-ax10.0
+Package: libopenvdb-ax10.0t64
+Provides: ${t64:Provides}
+Replaces: libopenvdb-ax10.0
+Breaks: libopenvdb-ax10.0 (<< ${source:Version})
 Multi-Arch: same
 Architecture: @AX_ARCHS@
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -76,7 +82,7 @@
 Section: libdevel
 Depends: libblosc-dev,
          libimath-dev,
-         libopenvdb10.0 (= ${binary:Version}),
+         libopenvdb10.0t64 (= ${binary:Version}),
          libtbb-dev,
          ${misc:Depends}
 Description: Sparse Volume Processing toolkit - dev
@@ -93,7 +99,7 @@
 Section: libdevel
 Depends: libblosc-dev,
          libimath-dev,
-         libopenvdb10.0 (= ${binary:Version}),
+         libopenvdb10.0t64 (= ${binary:Version}),
          libtbb-dev,
          ${misc:Depends}
 Description: Sparse Volume Processing toolkit - dev
@@ -110,7 +116,7 @@
 Section: libdevel
 Depends: libblosc-dev,
          libimath-dev,
-         libopenvdb10.0 (= ${binary:Version}),
+         libopenvdb10.0t64 (= ${binary:Version}),
          libtbb-dev,
          ${misc:Depends}
 Description: Sparse Volume Processing toolkit - NanoVDB - dev
diff -Nru openvdb-10.0.1/debian/libopenvdb-ax10.0t64.lintian-overrides openvdb-10.0.1/debian/libopenvdb-ax10.0t64.lintian-overrides
--- openvdb-10.0.1/debian/libopenvdb-ax10.0t64.lintian-overrides	1969-12-31 21:00:00.000000000 -0300
+++ openvdb-10.0.1/debian/libopenvdb-ax10.0t64.lintian-overrides	2024-02-05 01:07:41.000000000 -0300
@@ -0,0 +1 @@
+libopenvdb-ax10.0t64: package-name-doesnt-match-sonames libopenvdb-ax10.0
diff -Nru openvdb-10.0.1/debian/libopenvdb-tools.manpages openvdb-10.0.1/debian/libopenvdb-tools.manpages
--- openvdb-10.0.1/debian/libopenvdb-tools.manpages	1969-12-31 21:00:00.000000000 -0300
+++ openvdb-10.0.1/debian/libopenvdb-tools.manpages	2024-02-05 01:07:41.000000000 -0300
@@ -0,0 +1,5 @@
+debian/vdb_lod.1
+debian/vdb_print.1
+debian/vdb_render.1
+debian/vdb_view.1
+debian/vdb_tool.1
diff -Nru openvdb-10.0.1/debian/libopenvdb10.0t64.lintian-overrides openvdb-10.0.1/debian/libopenvdb10.0t64.lintian-overrides
--- openvdb-10.0.1/debian/libopenvdb10.0t64.lintian-overrides	1969-12-31 21:00:00.000000000 -0300
+++ openvdb-10.0.1/debian/libopenvdb10.0t64.lintian-overrides	2024-02-05 01:07:41.000000000 -0300
@@ -0,0 +1 @@
+libopenvdb10.0t64: package-name-doesnt-match-sonames libopenvdb10.0
diff -Nru openvdb-10.0.1/debian/rules openvdb-10.0.1/debian/rules
--- openvdb-10.0.1/debian/rules	2023-05-04 18:12:44.000000000 -0300
+++ openvdb-10.0.1/debian/rules	2024-02-05 01:07:41.000000000 -0300
@@ -164,8 +164,8 @@
 pkg_arun = libopenvdb-ax-tools
 pkg_nrun = libnanovdb-tools
 pkg_orun = libopenvdb-tools
-pkg_alib = libopenvdb-ax$(VER_SONAME)
-pkg_olib = libopenvdb$(VER_SONAME)
+pkg_alib = libopenvdb-ax$(VER_SONAME)t64
+pkg_olib = libopenvdb$(VER_SONAME)t64
 pkg_adev = libopenvdb-ax-dev
 pkg_ndev = libnanovdb-dev
 pkg_odev = libopenvdb-dev

Reply to: