Bug#1062374: libieee1284: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: libieee1284
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 libieee1284-0.2.11/debian/changelog 
libieee1284-0.2.11/debian/changelog
--- libieee1284-0.2.11/debian/changelog 2020-07-11 09:06:11.0 +
+++ libieee1284-0.2.11/debian/changelog 2024-02-28 13:00:21.0 +
@@ -1,3 +1,10 @@
+libieee1284 (0.2.11-14.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062374
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 13:00:21 +
+
 libieee1284 (0.2.11-14) unstable; urgency=medium
 
   * Remove Python 2 bindings (closes: #936875).
diff -Nru libieee1284-0.2.11/debian/control libieee1284-0.2.11/debian/control
--- libieee1284-0.2.11/debian/control   2020-07-11 09:06:11.0 +
+++ libieee1284-0.2.11/debian/control   2024-02-28 13:00:21.0 +
@@ -2,14 +2,14 @@
 Priority: optional
 Section: libs
 Maintainer: Laszlo Boszormenyi (GCS) 
-Build-Depends: debhelper-compat (= 12)
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 12)
 Standards-Version: 4.5.0
 Homepage: http://cyberelk.net/tim/software/libieee1284/
 
 Package: libieee1284-3-dev
 Section: libdevel
 Architecture: any
-Depends: libieee1284-3 (= ${binary:Version}), ${misc:Depends}
+Depends: libieee1284-3t64 (= ${binary:Version}), ${misc:Depends}
 Description: cross-platform library for parallel port access [development 
files]
  This library was designed to ease the use of the parallel port. It will
  automatically figure out which access method is available, depending on the
@@ -21,7 +21,10 @@
  This package contains the development files needed to build your applications
  using the libieee1284.
 
-Package: libieee1284-3
+Package: libieee1284-3t64
+Provides: ${t64:Provides}
+Replaces: libieee1284-3
+Breaks: libieee1284-3 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru libieee1284-0.2.11/debian/libieee1284-3.docs 
libieee1284-0.2.11/debian/libieee1284-3.docs
--- libieee1284-0.2.11/debian/libieee1284-3.docs2020-07-11 
09:06:11.0 +
+++ libieee1284-0.2.11/debian/libieee1284-3.docs1970-01-01 
00:00:00.0 +
@@ -1,2 +0,0 @@
-README
-TODO
diff -Nru libieee1284-0.2.11/debian/libieee1284-3.docs.in 
libieee1284-0.2.11/debian/libieee1284-3.docs.in
--- libieee1284-0.2.11/debian/libieee1284-3.docs.in 2010-05-06 
09:07:49.0 +
+++ libieee1284-0.2.11/debian/libieee1284-3.docs.in 1970-01-01 
00:00:00.0 +
@@ -1,2 +0,0 @@
-README
-TODO
diff -Nru libieee1284-0.2.11/debian/libieee1284-3.install 
libieee1284-0.2.11/debian/libieee1284-3.install
--- libieee1284-0.2.11/debian/libieee1284-3.install 2011-06-13 
09:20:42.0 +
+++ libieee1284-0.2.11/debian/libieee1284-3.install 1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru libieee1284-0.2.11/debian/libieee1284-3t64.docs 
libieee1284-0.2.11/debian/libieee1284-3t64.docs
--- libieee1284-0.2.11/debian/libieee1284-3t64.docs 1970-01-01 
00:00:00.0 +
+++ libieee1284-0.2.11/debian/libieee1284-3t64.docs 2020-07-11 
09:06:11.0 +
@@ -0,0 +1,2 @@
+README
+TODO
diff -Nru libieee1284-0.2.11/debian/libieee1284-3t64.docs.in 
libieee1284-0.2.11/debian/libieee1284-3t64.docs.in
--- libieee1284-0.2.11/debian/libieee1284-3t64.docs.in  1970-01-01 
00:00:00.0 +
+++ libieee1284-0.2.11/debian/libieee1284-3t64.docs.in  2010-05-06 
09:07:49.0 +
@@ -0,0 +1,2 @@
+README
+TODO
diff -Nru libieee1284-0.2.11/debian/libieee1284-3t64.install 
libieee1284-0.2.11/debian/libieee1284-3t64.install
--- libieee1284-0.2.11/debian/libieee1284-3t64.install  1970-01-01 
00:00:00.0 +
+++ libieee1284-0.2.11/debian/libieee1284-3t64.install  2011-06-13 
09:20:42.0 +
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff -Nru libieee1284-0.2.11/debian/libieee1284-3t64.lintian-overrides 
libieee1284-0.2.11/debian/libieee1284-3t64.lintian-overrides
--- libieee1284-0.2.11/debian/libieee1284-3t64.lintian-overrides
1970-01-01 00:00:00.0 +
+++ libieee1284-0.2.11/debian/libieee1284-3t64.lintian-overrides
2024-02-28 13:00:17.0 +
@@ -0,0 +1 @@
+libieee1284-3t64: package-name-doesnt-match-sonames libieee1284-3


Bug#1062374: libieee1284: NMU diff for 64-bit time_t transition

2024-01-31 Thread Steve Langasek
Source: libieee1284
Version: 0.2.11-14
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-...@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
libieee1284 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 libieee1284
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 libieee1284-0.2.11/debian/changelog 
libieee1284-0.2.11/debian/changelog
--- libieee1284-0.2.11/debian/changelog 2020-07-11 09:06:11.0 +
+++ libieee1284-0.2.11/debian/changelog 2024-02-01 07:32:54.0 +
@@ -1,3 +1,10 @@
+libieee1284 (0.2.11-14.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Thu, 01 Feb 2024 07:32:54 +
+
 libieee1284 (0.2.11-14) unstable; urgency=medium
 
   * Remove Python 2 bindings (closes: #936875).
diff -Nru libieee1284-0.2.11/debian/control libieee1284-0.2.11/debian/control
--- libieee1284-0.2.11/debian/control   2020-07-11 09:06:11.0 +
+++ libieee1284-0.2.11/debian/control   2024-02-01 07:32:54.0 +
@@ -9,7 +9,7 @@
 Package: libieee1284-3-dev
 Section: libdevel
 Architecture: any
-Depends: libieee1284-3 (= ${binary:Version}), ${misc:Depends}
+Depends: libieee1284-3t64 (= ${binary:Version}), ${misc:Depends}
 Description: cross-platform library for parallel port access [development 
files]
  This library was designed to ease the use of the parallel port. It will
  automatically figure out which access method is available, depending on the
@@ -21,7 +21,10 @@
  This package contains the development files needed to build your applications
  using the libieee1284.
 
-Package: libieee1284-3
+Package: libieee1284-3t64
+Provides: ${t64:Provides}
+Replaces: libieee1284-3
+Breaks: libieee1284-3 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru libieee1284-0.2.11/debian/libieee1284-3.docs 
libieee1284-0.2.11/debian/libieee1284-3.docs
--- libieee1284-0.2.11/debian/libieee1284-3.docs2020-07-11 
09:06:11.0 +
+++ libieee1284-0.2.11/debian/libieee1284-3.docs1970-01-01 
00:00:00.0 +
@@ -1,2 +0,0 @@
-README
-TODO
diff -Nru libieee1284-0.2.11/debian/libieee1284-3.docs.in 
libieee1284-0.2.11/debian/libieee1284-3.docs.in
--- libieee1284-0.2.11/debian/libieee1284-3.docs.in 2010-05-06 
09:07:49.0 +
+++ libieee1284-0.2.11/debian/libieee1284-3.docs.in 1970-01-01 
00:00:00.0 +
@@ -1,2 +0,0 @@
-README
-TODO
diff -Nru libieee1284-0.2.11/debian/libieee1284-3.install 
libieee1284-0.2.11/debian/libieee1284-3.install
--- libieee1284-0.2.11/debian/libieee1284-3.install 2011-06-13 
09:20:42.0 +
+++ libieee1284-0.2.11/debian/libieee1284-3.install 1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru libieee1284-0.2.11/debian/libieee1284-3t64.docs 
libieee1284-0.2.11/debian/libieee1284-3t64.docs
--- libieee1284-0.2.11/debian/libieee1284-3t64.docs 1970-01-01 
00:00:00.0 +
+++ libieee1284-0.2.11/debian/libieee1284-3t64.docs 2020-07-11 
09:06:11.0 +
@@ -0,0 +1,2 @@
+README
+TODO
diff -Nru libieee1284-0.2.11/debian/libieee1284-3t64.docs.in