Source: libforms
Version: 1.2.3-1.6
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: [email protected]
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
libforms 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 libforms
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 libforms-1.2.3/debian/changelog libforms-1.2.3/debian/changelog
--- libforms-1.2.3/debian/changelog     2020-10-16 03:26:00.000000000 +0000
+++ libforms-1.2.3/debian/changelog     2024-02-01 00:37:50.000000000 +0000
@@ -1,3 +1,10 @@
+libforms (1.2.3-1.7) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <[email protected]>  Thu, 01 Feb 2024 00:37:50 +0000
+
 libforms (1.2.3-1.6) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libforms-1.2.3/debian/control libforms-1.2.3/debian/control
--- libforms-1.2.3/debian/control       2019-11-11 02:32:34.000000000 +0000
+++ libforms-1.2.3/debian/control       2024-02-01 00:37:50.000000000 +0000
@@ -7,7 +7,10 @@
 Standards-Version: 3.8.4
 Homepage: http://savannah.nongnu.org/projects/xforms/
 
-Package: libforms2
+Package: libforms2t64
+Provides: ${t64:Provides}
+Replaces: libforms2
+Breaks: libforms2 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -21,7 +24,10 @@
  addition, the library is extensible and new objects can easily be created
  and added to the library.
 
-Package: libformsgl2
+Package: libformsgl2t64
+Provides: ${t64:Provides}
+Replaces: libformsgl2
+Breaks: libformsgl2 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -38,7 +44,7 @@
 Package: libforms-dev
 Architecture: any
 Section: libdevel
-Depends: ${shlibs:Depends}, ${misc:Depends}, libc6-dev, libforms2 (= 
${binary:Version}), libxpm-dev
+Depends: ${shlibs:Depends}, ${misc:Depends}, libc6-dev, libforms2t64 (= 
${binary:Version}), libxpm-dev
 Suggests: libforms-bin, libforms-doc
 Description: Header files and static libraries for the XForms widget library
  This package contains the header files and static libraries for the
@@ -50,7 +56,7 @@
 Package: libformsgl-dev
 Architecture: any
 Section: libdevel
-Depends: ${shlibs:Depends}, ${misc:Depends}, libc6-dev, libformsgl2 (= 
${binary:Version}), libforms2 (= ${binary:Version}), libxpm-dev
+Depends: ${shlibs:Depends}, ${misc:Depends}, libc6-dev, libformsgl2t64 (= 
${binary:Version}), libforms2t64 (= ${binary:Version}), libxpm-dev
 Conflicts: libforms-dev (<< 1.0-4)
 Description: Header files and static libraries for the OpenGL XForms library
  This package contains the header files and static libraries for the
diff -Nru libforms-1.2.3/debian/libforms2.install 
libforms-1.2.3/debian/libforms2.install
--- libforms-1.2.3/debian/libforms2.install     2014-02-22 18:08:07.000000000 
+0000
+++ libforms-1.2.3/debian/libforms2.install     1970-01-01 00:00:00.000000000 
+0000
@@ -1,4 +0,0 @@
-usr/lib/libforms.so.2.1.3
-usr/lib/libflimage.so.2.1.3
-usr/lib/libforms.so.2
-usr/lib/libflimage.so.2
diff -Nru libforms-1.2.3/debian/libforms2t64.install 
libforms-1.2.3/debian/libforms2t64.install
--- libforms-1.2.3/debian/libforms2t64.install  1970-01-01 00:00:00.000000000 
+0000
+++ libforms-1.2.3/debian/libforms2t64.install  2014-02-22 18:08:07.000000000 
+0000
@@ -0,0 +1,4 @@
+usr/lib/libforms.so.2.1.3
+usr/lib/libflimage.so.2.1.3
+usr/lib/libforms.so.2
+usr/lib/libflimage.so.2
diff -Nru libforms-1.2.3/debian/libforms2t64.lintian-overrides 
libforms-1.2.3/debian/libforms2t64.lintian-overrides
--- libforms-1.2.3/debian/libforms2t64.lintian-overrides        1970-01-01 
00:00:00.000000000 +0000
+++ libforms-1.2.3/debian/libforms2t64.lintian-overrides        2024-02-01 
00:37:50.000000000 +0000
@@ -0,0 +1 @@
+libforms2t64: package-name-doesnt-match-sonames libforms2
diff -Nru libforms-1.2.3/debian/libformsgl2.install 
libforms-1.2.3/debian/libformsgl2.install
--- libforms-1.2.3/debian/libformsgl2.install   2014-02-22 18:07:56.000000000 
+0000
+++ libforms-1.2.3/debian/libformsgl2.install   1970-01-01 00:00:00.000000000 
+0000
@@ -1,2 +0,0 @@
-usr/lib/libformsGL.so.2.1.3
-usr/lib/libformsGL.so.2
diff -Nru libforms-1.2.3/debian/libformsgl2.postinst 
libforms-1.2.3/debian/libformsgl2.postinst
--- libforms-1.2.3/debian/libformsgl2.postinst  2010-05-19 13:01:27.000000000 
+0000
+++ libforms-1.2.3/debian/libformsgl2.postinst  1970-01-01 00:00:00.000000000 
+0000
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "configure" ]; then
-  ldconfig
-fi
-
-#DEBHELPER#
diff -Nru libforms-1.2.3/debian/libformsgl2.postrm 
libforms-1.2.3/debian/libformsgl2.postrm
--- libforms-1.2.3/debian/libformsgl2.postrm    2010-05-19 13:01:27.000000000 
+0000
+++ libforms-1.2.3/debian/libformsgl2.postrm    1970-01-01 00:00:00.000000000 
+0000
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "remove" ]; then
-  ldconfig
-fi
-
-#DEBHELPER#
diff -Nru libforms-1.2.3/debian/libformsgl2t64.install 
libforms-1.2.3/debian/libformsgl2t64.install
--- libforms-1.2.3/debian/libformsgl2t64.install        1970-01-01 
00:00:00.000000000 +0000
+++ libforms-1.2.3/debian/libformsgl2t64.install        2014-02-22 
18:07:56.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib/libformsGL.so.2.1.3
+usr/lib/libformsGL.so.2
diff -Nru libforms-1.2.3/debian/libformsgl2t64.lintian-overrides 
libforms-1.2.3/debian/libformsgl2t64.lintian-overrides
--- libforms-1.2.3/debian/libformsgl2t64.lintian-overrides      1970-01-01 
00:00:00.000000000 +0000
+++ libforms-1.2.3/debian/libformsgl2t64.lintian-overrides      2024-02-01 
00:37:50.000000000 +0000
@@ -0,0 +1 @@
+libformsgl2t64: package-name-doesnt-match-sonames libformsgl2
diff -Nru libforms-1.2.3/debian/libformsgl2t64.postinst 
libforms-1.2.3/debian/libformsgl2t64.postinst
--- libforms-1.2.3/debian/libformsgl2t64.postinst       1970-01-01 
00:00:00.000000000 +0000
+++ libforms-1.2.3/debian/libformsgl2t64.postinst       2010-05-19 
13:01:27.000000000 +0000
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+  ldconfig
+fi
+
+#DEBHELPER#
diff -Nru libforms-1.2.3/debian/libformsgl2t64.postrm 
libforms-1.2.3/debian/libformsgl2t64.postrm
--- libforms-1.2.3/debian/libformsgl2t64.postrm 1970-01-01 00:00:00.000000000 
+0000
+++ libforms-1.2.3/debian/libformsgl2t64.postrm 2010-05-19 13:01:27.000000000 
+0000
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "remove" ]; then
+  ldconfig
+fi
+
+#DEBHELPER#

Reply via email to