[Pkg-electronics-devel] Bug#1062610: librnd: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Fri Feb 2 05:56:09 GMT 2024


Source: librnd
Version: 4.1.1-1
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-arm at 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
librnd 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 librnd
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)
-------------- next part --------------
diff -Nru librnd-4.1.1/debian/changelog librnd-4.1.1/debian/changelog
--- librnd-4.1.1/debian/changelog	2024-01-13 09:12:54.000000000 +0000
+++ librnd-4.1.1/debian/changelog	2024-02-02 05:54:34.000000000 +0000
@@ -1,3 +1,10 @@
+librnd (4.1.1-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vorlon at debian.org>  Fri, 02 Feb 2024 05:54:34 +0000
+
 librnd (4.1.1-1) unstable; urgency=medium
 
   * new upstream version
diff -Nru librnd-4.1.1/debian/control librnd-4.1.1/debian/control
--- librnd-4.1.1/debian/control	2024-01-13 09:12:54.000000000 +0000
+++ librnd-4.1.1/debian/control	2024-02-02 05:54:34.000000000 +0000
@@ -9,7 +9,10 @@
 Vcs-Git: https://salsa.debian.org/electronics-team/librnd.git
 Vcs-Browser: https://salsa.debian.org/electronics-team/librnd
 
-Package: librnd4
+Package: librnd4t64
+Provides: ${t64:Provides}
+Replaces: librnd4
+Breaks: librnd4 (<< ${source:Version})
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: Ringdove 2D CAD library framework
@@ -31,7 +34,7 @@
 
 Package: librnd4-dev
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4 (= ${binary:Version}), libgenht1-dev, libfungw-dev
+Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4t64 (= ${binary:Version}), libgenht1-dev, libfungw-dev
 Provides: librnd-dev (= ${binary:Version})
 Conflicts: librnd3-dev
 Replaces: librnd-dev (<< 4.0.0-1)
@@ -47,7 +50,7 @@
 
 Package: librnd4-cloud
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4 (= ${binary:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4t64 (= ${binary:Version})
 Description: Networking plugins for accessing remote resources.
  Support library plugin for 'cloud' footprint/symbol access plugin
  that integrates remote, web access resources like edakrill or
@@ -55,34 +58,34 @@
 
 Package: librnd4-lib-gui
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4 (= ${binary:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4t64 (= ${binary:Version})
 Description: Support library for building the GUI.
  Provides librnd specific dialog boxes (e.g. fontsel) and top window
  GUI elements.
 
 Package: librnd4-pixmap
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4 (= ${binary:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4t64 (= ${binary:Version})
 Description: Import and export pixmap images.
  Low level support for png/jpeg/gif export plugins, low level import
  pixmap objects using libgd.
 
 Package: librnd4-hid-lesstif
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4 (= ${binary:Version}), librnd4-lib-gui (= ${binary:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4t64 (= ${binary:Version}), librnd4-lib-gui (= ${binary:Version})
 Description: GUI: motif/lesstif, software render
  Lightweight GUI and software rendering using the motif (lesstif)
  toolkit.
 
 Package: librnd4-lib-gl
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4 (= ${binary:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4t64 (= ${binary:Version})
 Description: Support library for rendering with opengl.
  Provides plugins for driving an opengl output, rendering the drawing
  on opengl.
 
 Package: librnd4-hid-gtk4-gl
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4 (= ${binary:Version}), librnd4-lib-gui (= ${binary:Version}), librnd4-lib-gl (= ${binary:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, librnd4t64 (= ${binary:Version}), librnd4-lib-gui (= ${binary:Version}), librnd4-lib-gl (= ${binary:Version})
 Description: GUI: gtk4, opengl
  Hardware accelerated (opengl) rendering on gtk4.
diff -Nru librnd-4.1.1/debian/librnd4.install librnd-4.1.1/debian/librnd4.install
--- librnd-4.1.1/debian/librnd4.install	2024-01-13 09:12:54.000000000 +0000
+++ librnd-4.1.1/debian/librnd4.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-/usr/lib/*.so.*
diff -Nru librnd-4.1.1/debian/librnd4.lintian-overrides librnd-4.1.1/debian/librnd4.lintian-overrides
--- librnd-4.1.1/debian/librnd4.lintian-overrides	2024-01-13 09:12:54.000000000 +0000
+++ librnd-4.1.1/debian/librnd4.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-librnd4: package-name-doesnt-match-sonames librnd-3rd4 librnd-core4 librnd-font2-4 librnd-font4 librnd-hid4 librnd-poly4
diff -Nru librnd-4.1.1/debian/librnd4t64.install librnd-4.1.1/debian/librnd4t64.install
--- librnd-4.1.1/debian/librnd4t64.install	1970-01-01 00:00:00.000000000 +0000
+++ librnd-4.1.1/debian/librnd4t64.install	2024-01-13 09:12:54.000000000 +0000
@@ -0,0 +1 @@
+/usr/lib/*.so.*
diff -Nru librnd-4.1.1/debian/librnd4t64.lintian-overrides librnd-4.1.1/debian/librnd4t64.lintian-overrides
--- librnd-4.1.1/debian/librnd4t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ librnd-4.1.1/debian/librnd4t64.lintian-overrides	2024-02-02 05:54:34.000000000 +0000
@@ -0,0 +1,2 @@
+librnd4t64: package-name-doesnt-match-sonames librnd-3rd4 librnd-core4 librnd-font2-4 librnd-font4 librnd-hid4 librnd-poly4
+librnd4t64: package-name-doesnt-match-sonames librnd4


More information about the Pkg-electronics-devel mailing list