Bug#1062454: inventor: NMU diff for 64-bit time_t transition

Graham Inggs ginggs at debian.org
Thu Feb 1 15:30:58 GMT 2024


Source: inventor
Version: 2.1.5-10+dfsg-2
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-arm at 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
inventor 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 inventor
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'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-15-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: 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: unable to detect
-------------- next part --------------
diff -Nru inventor-2.1.5-10+dfsg/debian/changelog inventor-2.1.5-10+dfsg/debian/changelog
--- inventor-2.1.5-10+dfsg/debian/changelog	2023-05-28 01:08:52.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/changelog	2024-02-01 15:27:47.000000000 +0000
@@ -1,3 +1,10 @@
+inventor (2.1.5-10+dfsg-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs <ginggs at debian.org>  Thu, 01 Feb 2024 15:27:47 +0000
+
 inventor (2.1.5-10+dfsg-2) unstable; urgency=medium
 
   [ Steve Robbins ]
diff -Nru inventor-2.1.5-10+dfsg/debian/control inventor-2.1.5-10+dfsg/debian/control
--- inventor-2.1.5-10+dfsg/debian/control	2023-05-28 01:08:52.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/control	2024-02-01 15:27:47.000000000 +0000
@@ -21,7 +21,9 @@
 Vcs-Git: https://salsa.debian.org/science-team/inventor.git
 Homepage: http://oss.sgi.com/projects/inventor/
 
-Package: libinventor1
+Package: libinventor1t64
+Provides: ${t64:Provides}
+Breaks: libinventor1 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${misc:Depends},
@@ -31,7 +33,7 @@
 Recommends: xdg-utils,
             xpdf | pdf-viewer
 Conflicts: libinventor0
-Replaces: libinventor0
+Replaces: libinventor1, libinventor0
 Description: Open Inventor runtime environment
  This package contains the required files to run Open Inventor applications.
  .
@@ -48,7 +50,7 @@
 Package: inventor-dev
 Architecture: any
 Depends: ${misc:Depends},
-         libinventor1 (= ${binary:Version}),
+         libinventor1t64 (= ${binary:Version}),
          libc6-dev,
          xlibmesa-dev | libgl-dev,
          libmotif-dev
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1.files inventor-2.1.5-10+dfsg/debian/libinventor1.files
--- inventor-2.1.5-10+dfsg/debian/libinventor1.files	2023-05-28 01:08:52.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1.files	1970-01-01 00:00:00.000000000 +0000
@@ -1,6 +0,0 @@
-usr/lib/libInventor.so.1
-usr/lib/libInventor.so.1.[0-9]*.[0-9]*
-usr/lib/libInventorXt.so.1
-usr/lib/libInventorXt.so.1.[0-9]*.[0-9]*
-usr/share/inventor/help/Inventor
-usr/share/inventor/fonts
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1.lintian-overrides inventor-2.1.5-10+dfsg/debian/libinventor1.lintian-overrides
--- inventor-2.1.5-10+dfsg/debian/libinventor1.lintian-overrides	2023-05-28 01:08:52.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-libinventor1: package-depends-on-an-x-font-package Depends: xfonts-scalable
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1.postinst inventor-2.1.5-10+dfsg/debian/libinventor1.postinst
--- inventor-2.1.5-10+dfsg/debian/libinventor1.postinst	2023-05-28 01:08:52.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1.postinst	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = configure ]; then
-    sh /usr/share/inventor/fonts/link-fonts.sh
-fi
-
-
-#DEBHELPER#
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1.prerm inventor-2.1.5-10+dfsg/debian/libinventor1.prerm
--- inventor-2.1.5-10+dfsg/debian/libinventor1.prerm	2023-05-28 01:08:52.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1.prerm	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = remove -o "$1" = upgrade ]; then
-    temp=`mktemp /tmp/libinventor1.XXXXXX`
-    rm $temp `find /usr/share/inventor/fonts -type l`
-fi
-
-#DEBHELPER#
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1t64.files inventor-2.1.5-10+dfsg/debian/libinventor1t64.files
--- inventor-2.1.5-10+dfsg/debian/libinventor1t64.files	1970-01-01 00:00:00.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1t64.files	2023-05-28 01:08:52.000000000 +0000
@@ -0,0 +1,6 @@
+usr/lib/libInventor.so.1
+usr/lib/libInventor.so.1.[0-9]*.[0-9]*
+usr/lib/libInventorXt.so.1
+usr/lib/libInventorXt.so.1.[0-9]*.[0-9]*
+usr/share/inventor/help/Inventor
+usr/share/inventor/fonts
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1t64.lintian-overrides inventor-2.1.5-10+dfsg/debian/libinventor1t64.lintian-overrides
--- inventor-2.1.5-10+dfsg/debian/libinventor1t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1t64.lintian-overrides	2024-02-01 15:27:47.000000000 +0000
@@ -0,0 +1,2 @@
+libinventor1t64: package-depends-on-an-x-font-package Depends: xfonts-scalable
+libinventor1t64: package-name-doesnt-match-sonames libinventor1
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1t64.postinst inventor-2.1.5-10+dfsg/debian/libinventor1t64.postinst
--- inventor-2.1.5-10+dfsg/debian/libinventor1t64.postinst	1970-01-01 00:00:00.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1t64.postinst	2023-05-28 01:08:52.000000000 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = configure ]; then
+    sh /usr/share/inventor/fonts/link-fonts.sh
+fi
+
+
+#DEBHELPER#
diff -Nru inventor-2.1.5-10+dfsg/debian/libinventor1t64.prerm inventor-2.1.5-10+dfsg/debian/libinventor1t64.prerm
--- inventor-2.1.5-10+dfsg/debian/libinventor1t64.prerm	1970-01-01 00:00:00.000000000 +0000
+++ inventor-2.1.5-10+dfsg/debian/libinventor1t64.prerm	2023-05-28 01:08:52.000000000 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = remove -o "$1" = upgrade ]; then
+    temp=`mktemp /tmp/libinventor1.XXXXXX`
+    rm $temp `find /usr/share/inventor/fonts -type l`
+fi
+
+#DEBHELPER#


More information about the debian-science-maintainers mailing list