Bug#1062089: fuse: NMU diff for 64-bit time_t transition

2024-02-28 Thread mwhudson
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_WARN, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru fuse-2.9.9/debian/changelog fuse-2.9.9/debian/changelog
--- fuse-2.9.9/debian/changelog 2023-11-07 05:58:07.0 +
+++ fuse-2.9.9/debian/changelog 2024-02-29 04:38:09.0 +
@@ -1,3 +1,11 @@
+fuse (2.9.9-8.1) experimental; urgency=medium
+
+  [ Lukas Märdian ]
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Michael Hudson-Doyle   Thu, 29 Feb 2024 04:38:09 +
+
 fuse (2.9.9-8) unstable; urgency=medium
 
   [ Helmut Grohne  ]
diff -Nru fuse-2.9.9/debian/control fuse-2.9.9/debian/control
--- fuse-2.9.9/debian/control   2023-11-05 13:15:59.0 +
+++ fuse-2.9.9/debian/control   2024-02-29 04:38:09.0 +
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Laszlo Boszormenyi (GCS) 
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  debhelper-compat (= 13),
  libselinux-dev [linux-any],
  gettext
@@ -16,7 +16,7 @@
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
- libfuse2 (= ${binary:Version}),
+ libfuse2t64 (= ${binary:Version}),
  adduser,
  mount (>= 2.19.1),
  sed (>= 4)
@@ -26,7 +26,10 @@
  secure method for non privileged users to create and mount their own 
filesystem
  implementations.
 
-Package: libfuse2
+Package: libfuse2t64
+Provides: ${t64:Provides}
+Replaces: libfuse2
+Breaks: libfuse2 (<< ${source:Version})
 Section: libs
 Architecture: linux-any kfreebsd-any
 Multi-Arch: same
@@ -50,7 +53,7 @@
 Multi-Arch: same
 Depends:
  ${misc:Depends},
- libfuse2 (= ${binary:Version}),
+ libfuse2t64 (= ${binary:Version}),
  libselinux-dev [linux-any],
 Suggests: fuse
 Description: Filesystem in Userspace (development)
diff -Nru fuse-2.9.9/debian/libfuse2.docs fuse-2.9.9/debian/libfuse2.docs
--- fuse-2.9.9/debian/libfuse2.docs 2016-01-17 16:02:35.0 +
+++ fuse-2.9.9/debian/libfuse2.docs 1970-01-01 00:00:00.0 +
@@ -1,5 +0,0 @@
-NEWS
-README.md
-README.NFS
-doc/*.txt
-doc/how-fuse-works
diff -Nru fuse-2.9.9/debian/libfuse2.install fuse-2.9.9/debian/libfuse2.install
--- fuse-2.9.9/debian/libfuse2.install  2014-06-20 06:23:50.0 +
+++ fuse-2.9.9/debian/libfuse2.install  1970-01-01 00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/*.so.*   lib
diff -Nru fuse-2.9.9/debian/libfuse2.symbols fuse-2.9.9/debian/libfuse2.symbols
--- fuse-2.9.9/debian/libfuse2.symbols  2014-06-20 06:23:50.0 +
+++ fuse-2.9.9/debian/libfuse2.symbols  1970-01-01 00:00:00.0 +
@@ -1,22 +0,0 @@
-libfuse.so.2 #PACKAGE# #MINVER#
-* Build-Depends-Package: libfuse-dev
- (symver)FUSE_2.2 2.2
- (symver)FUSE_2.4 2.4
- (symver)FUSE_2.5 2.5
- (symver)FUSE_2.6 2.6
- (symver)FUSE_2.7 2.7
- (symver)FUSE_2.7.5 2.7.5
- (symver)FUSE_2.8 2.8
- (symver)FUSE_2.9 2.9
- (symver)FUSE_2.9.1 2.9.1
- (arch=linux-any)__fuse_exited@Base 2.2
- __fuse_loop_mt@Base 2.2
- (arch=linux-any)__fuse_process_cmd@Base 2.2
- (arch=linux-any)__fuse_read_cmd@Base 2.2
- (arch=linux-any)__fuse_set_getcontext_func@Base 2.2
- (arch=linux-any)__fuse_setup@Base 2.2
- (arch=linux-any)__fuse_teardown@Base 2.2
- (arch=linux-any)fuse_main@Base 2.5
- (arch=linux-any)fuse_new@Base 2.5
-libulockmgr.so.1 #PACKAGE# #MINVER#
- ulockmgr_op@Base 2.6
diff -Nru fuse-2.9.9/debian/libfuse2t64.docs fuse-2.9.9/debian/libfuse2t64.docs
--- fuse-2.9.9/debian/libfuse2t64.docs  1970-01-01 00:00:00.0 +
+++ fuse-2.9.9/debian/libfuse2t64.docs  2024-02-29 04:38:08.0 +
@@ -0,0 +1,5 @@
+NEWS
+README.md
+README.NFS
+doc/*.txt
+doc/how-fuse-works
diff -Nru fuse-2.9.9/debian/libfuse2t64.install 
fuse-2.9.9/debian/libfuse2t64.install
--- fuse-2.9.9/debian/libfuse2t64.install   1970-01-01 00:00:00.0 
+
+++ fuse-2.9.9/debian/libfuse2t64.install   2024-02-29 04:38:08.0 
+
@@ -0,0 +1 @@
+usr/lib/*/*.so.*   lib
diff -Nru fuse-2.9.9/debian/libfuse2t64.lintian-overrides 
fuse-2.9.9/debian/libfuse2t64.lintian-overrides
--- fuse-2.9.9/debian/libfuse2t64.lintian-overrides 1970-01-01 
00:00:00.0 +
+++ fuse-2.9.9/debian/libfuse2t64.lintian-overrides 2024-02-29 
04:38:08.0 +
@@ -0,0 +1 @@
+libfuse2t64: package-name-doesnt-match-sonames libfuse2
diff -Nru fuse-2.9.9/debian/libfuse2t64.symbols 
fuse-2.9.9/debian/libfuse2t64.symbols
--- 

Bug#1062089: fuse: NMU diff for 64-bit time_t transition

2024-01-31 Thread Lukas Märdian
Source: fuse
Version: 2.9.9-8
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
fuse 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 fuse
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/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru fuse-2.9.9/debian/changelog fuse-2.9.9/debian/changelog
--- fuse-2.9.9/debian/changelog 2023-11-07 05:58:07.0 +
+++ fuse-2.9.9/debian/changelog 2024-01-31 10:29:42.0 +
@@ -1,3 +1,10 @@
+fuse (2.9.9-8.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Lukas Märdian   Wed, 31 Jan 2024 10:29:42 +
+
 fuse (2.9.9-8) unstable; urgency=medium
 
   [ Helmut Grohne  ]
diff -Nru fuse-2.9.9/debian/control fuse-2.9.9/debian/control
--- fuse-2.9.9/debian/control   2023-11-05 13:15:59.0 +
+++ fuse-2.9.9/debian/control   2024-01-31 10:29:42.0 +
@@ -16,7 +16,7 @@
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
- libfuse2 (= ${binary:Version}),
+ libfuse2t64 (= ${binary:Version}),
  adduser,
  mount (>= 2.19.1),
  sed (>= 4)
@@ -26,7 +26,10 @@
  secure method for non privileged users to create and mount their own 
filesystem
  implementations.
 
-Package: libfuse2
+Package: libfuse2t64
+Provides: ${t64:Provides}
+Replaces: libfuse2
+Breaks: libfuse2 (<< ${source:Version})
 Section: libs
 Architecture: linux-any kfreebsd-any
 Multi-Arch: same
@@ -50,7 +53,7 @@
 Multi-Arch: same
 Depends:
  ${misc:Depends},
- libfuse2 (= ${binary:Version}),
+ libfuse2t64 (= ${binary:Version}),
  libselinux-dev [linux-any],
 Suggests: fuse
 Description: Filesystem in Userspace (development)
diff -Nru fuse-2.9.9/debian/libfuse2.docs fuse-2.9.9/debian/libfuse2.docs
--- fuse-2.9.9/debian/libfuse2.docs 2016-01-17 16:02:35.0 +
+++ fuse-2.9.9/debian/libfuse2.docs 1970-01-01 00:00:00.0 +
@@ -1,5 +0,0 @@
-NEWS
-README.md
-README.NFS
-doc/*.txt
-doc/how-fuse-works
diff -Nru fuse-2.9.9/debian/libfuse2.install fuse-2.9.9/debian/libfuse2.install
--- fuse-2.9.9/debian/libfuse2.install  2014-06-20 06:23:50.0 +
+++ fuse-2.9.9/debian/libfuse2.install  1970-01-01 00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/*.so.*   lib
diff -Nru fuse-2.9.9/debian/libfuse2.symbols fuse-2.9.9/debian/libfuse2.symbols
--- fuse-2.9.9/debian/libfuse2.symbols  2014-06-20 06:23:50.0 +
+++ fuse-2.9.9/debian/libfuse2.symbols  1970-01-01 00:00:00.0 +
@@ -1,22 +0,0 @@
-libfuse.so.2 #PACKAGE# #MINVER#
-* Build-Depends-Package: libfuse-dev
- (symver)FUSE_2.2 2.2
- (symver)FUSE_2.4 2.4
- (symver)FUSE_2.5 2.5
- (symver)FUSE_2.6 2.6
- (symver)FUSE_2.7 2.7
- (symver)FUSE_2.7.5 2.7.5
- (symver)FUSE_2.8 2.8
- (symver)FUSE_2.9 2.9
- (symver)FUSE_2.9.1 2.9.1
- (arch=linux-any)__fuse_exited@Base 2.2
- __fuse_loop_mt@Base 2.2
- (arch=linux-any)__fuse_process_cmd@Base 2.2
- (arch=linux-any)__fuse_read_cmd@Base 2.2
- (arch=linux-any)__fuse_set_getcontext_func@Base 2.2
- (arch=linux-any)__fuse_setup@Base 2.2
- (arch=linux-any)__fuse_teardown@Base 2.2
- (arch=linux-any)fuse_main@Base 2.5
- (arch=linux-any)fuse_new@Base 2.5
-libulockmgr.so.1 #PACKAGE# #MINVER#
- ulockmgr_op@Base 2.6
diff