Bug#1063182: owfs: NMU diff for 64-bit time_t transition

2024-03-01 Thread Benjamin Drung
Source: owfs
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 owfs-3.2p4+dfsg1/debian/changelog owfs-3.2p4+dfsg1/debian/changelog
--- owfs-3.2p4+dfsg1/debian/changelog   2023-10-30 17:27:35.0 +
+++ owfs-3.2p4+dfsg1/debian/changelog   2024-03-01 12:41:12.0 +
@@ -1,3 +1,10 @@
+owfs (3.2p4+dfsg1-4.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063182
+
+ -- Benjamin Drung   Fri, 01 Mar 2024 12:41:12 +
+
 owfs (3.2p4+dfsg1-4.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru owfs-3.2p4+dfsg1/debian/control owfs-3.2p4+dfsg1/debian/control
--- owfs-3.2p4+dfsg1/debian/control 2023-10-30 17:26:24.0 +
+++ owfs-3.2p4+dfsg1/debian/control 2024-03-01 12:41:12.0 +
@@ -2,7 +2,7 @@
 Maintainer: Vincent Danjean 
 Section: electronics
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
quilt,
libfuse-dev [!hurd-i386],
swig,
@@ -54,7 +54,10 @@
  Installing this package gets you a FUSE daemon, server arbitrates access
  to the bus from multiple client processes, small ftp and webserver.
 
-Package: libow-3.2-4
+Package: libow-3.2-4t64
+Provides: ${t64:Provides}
+Replaces: libow-3.2-4
+Breaks: libow-3.2-4 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -70,7 +73,10 @@
  This package includes the ow library that is able to talk directly to 1-wire
  buses.
 
-Package: libowcapi-3.2-4
+Package: libowcapi-3.2-4t64
+Provides: ${t64:Provides}
+Replaces: libowcapi-3.2-4
+Breaks: libowcapi-3.2-4 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -90,8 +96,8 @@
 Section: libdevel
 Depends: ${shlibs:Depends},
  ${misc:Depends},
- libow-3.2-4 (= ${binary:Version}),
- libowcapi-3.2-4 (= ${binary:Version})
+ libow-3.2-4t64 (= ${binary:Version}),
+ libowcapi-3.2-4t64 (= ${binary:Version})
 Multi-Arch: same
 Description: 1-Wire File System (development files)
  The 1-Wire bus is a cheap low-speed bus for devices like weather
@@ -100,7 +106,10 @@
  .
  This package includes development libraries and C header files.
 
-Package: libownet-3.2-4
+Package: libownet-3.2-4t64
+Provides: ${t64:Provides}
+Replaces: libownet-3.2-4
+Breaks: libownet-3.2-4 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -120,7 +129,7 @@
 Section: libdevel
 Depends: ${shlibs:Depends},
  ${misc:Depends},
- libownet-3.2-4 (= ${binary:Version})
+ libownet-3.2-4t64 (= ${binary:Version})
 Multi-Arch: same
 Description: owserver protocol library (development files)
  The 1-Wire bus is a cheap low-speed bus for devices like weather
@@ -231,7 +240,10 @@
  .
  FTP daemon providing access to 1-Wire networks.
 
-Package: libow-php7
+Package: libow-php7t64
+Provides: ${t64:Provides}
+Replaces: libow-php7
+Breaks: libow-php7 (<< ${source:Version})
 Architecture: any
 Section: php
 Depends: ${shlibs:Depends},
diff -Nru owfs-3.2p4+dfsg1/debian/libow-3.2-4.install 
owfs-3.2p4+dfsg1/debian/libow-3.2-4.install
--- owfs-3.2p4+dfsg1/debian/libow-3.2-4.install 2023-10-30 17:26:24.0 
+
+++ owfs-3.2p4+dfsg1/debian/libow-3.2-4.install 1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/libow-*.so.*
diff -Nru owfs-3.2p4+dfsg1/debian/libow-3.2-4.lintian-overrides 
owfs-3.2p4+dfsg1/debian/libow-3.2-4.lintian-overrides
--- owfs-3.2p4+dfsg1/debian/libow-3.2-4.lintian-overrides   2023-10-30 
17:26:24.0 +
+++ owfs-3.2p4+dfsg1/debian/libow-3.2-4.lintian-overrides   1970-01-01 
00:00:00.0 +
@@ -1,6 +0,0 @@
-# the installed .so does not contains the last part of the soname
-# it confuses lintian
-lacks-unversioned-link-to-shared-library
-
-# as upstream changes the soname for each release, no symbol file is maintained
-no-symbols-control-file
diff -Nru owfs-3.2p4+dfsg1/debian/libow-3.2-4t64.install 
owfs-3.2p4+dfsg1/debian/libow-3.2-4t64.install
--- owfs-3.2p4+dfsg1/debian/libow-3.2-4t64.install  1970-01-01 
00:00:00.0 +
+++ owfs-3.2p4+dfsg1/debian/libow-3.2-4t64.install  2023-10-30 
17:26:24.0 +
@@ -0,0 +1 @@
+usr/lib/*/libow-*.so.*
diff -Nru 

Bug#1063182: owfs: NMU diff for 64-bit time_t transition

2024-02-05 Thread Steve Langasek
Source: owfs
Version: 3.2p4+dfsg1-4.2
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-...@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
owfs 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 owfs
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.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 owfs-3.2p4+dfsg1/debian/changelog owfs-3.2p4+dfsg1/debian/changelog
--- owfs-3.2p4+dfsg1/debian/changelog   2023-10-30 17:27:35.0 +
+++ owfs-3.2p4+dfsg1/debian/changelog   2024-02-05 16:09:25.0 +
@@ -1,3 +1,10 @@
+owfs (3.2p4+dfsg1-4.3) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Mon, 05 Feb 2024 16:09:25 +
+
 owfs (3.2p4+dfsg1-4.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru owfs-3.2p4+dfsg1/debian/control owfs-3.2p4+dfsg1/debian/control
--- owfs-3.2p4+dfsg1/debian/control 2023-10-30 17:26:24.0 +
+++ owfs-3.2p4+dfsg1/debian/control 2024-02-05 16:09:25.0 +
@@ -54,7 +54,10 @@
  Installing this package gets you a FUSE daemon, server arbitrates access
  to the bus from multiple client processes, small ftp and webserver.
 
-Package: libow-3.2-4
+Package: libow-3.2-4t64
+Provides: ${t64:Provides}
+Replaces: libow-3.2-4
+Breaks: libow-3.2-4 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -70,7 +73,10 @@
  This package includes the ow library that is able to talk directly to 1-wire
  buses.
 
-Package: libowcapi-3.2-4
+Package: libowcapi-3.2-4t64
+Provides: ${t64:Provides}
+Replaces: libowcapi-3.2-4
+Breaks: libowcapi-3.2-4 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -90,8 +96,8 @@
 Section: libdevel
 Depends: ${shlibs:Depends},
  ${misc:Depends},
- libow-3.2-4 (= ${binary:Version}),
- libowcapi-3.2-4 (= ${binary:Version})
+ libow-3.2-4t64 (= ${binary:Version}),
+ libowcapi-3.2-4t64 (= ${binary:Version})
 Multi-Arch: same
 Description: 1-Wire File System (development files)
  The 1-Wire bus is a cheap low-speed bus for devices like weather
@@ -100,7 +106,10 @@
  .
  This package includes development libraries and C header files.
 
-Package: libownet-3.2-4
+Package: libownet-3.2-4t64
+Provides: ${t64:Provides}
+Replaces: libownet-3.2-4
+Breaks: libownet-3.2-4 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -120,7 +129,7 @@
 Section: libdevel
 Depends: ${shlibs:Depends},
  ${misc:Depends},
- libownet-3.2-4 (= ${binary:Version})
+ libownet-3.2-4t64 (= ${binary:Version})
 Multi-Arch: same
 Description: owserver protocol library (development files)
  The 1-Wire bus is a cheap low-speed bus for devices like weather
@@ -231,7 +240,10 @@
  .
  FTP daemon providing access to 1-Wire networks.
 
-Package: libow-php7
+Package: libow-php7t64
+Provides: ${t64:Provides}
+Replaces: libow-php7
+Breaks: libow-php7 (<< ${source:Version})
 Architecture: any
 Section: php
 Depends: ${shlibs:Depends},
diff -Nru owfs-3.2p4+dfsg1/debian/libow-3.2-4.install 
owfs-3.2p4+dfsg1/debian/libow-3.2-4.install
---