Bug#1062381: libisofs: NMU diff for 64-bit time_t transition

2024-02-01 Thread Thomas Schmitt
Hi,

i'm the upstream and help with preparing the Debian packages.
So i assume that any needed action in this case is up to my sponsor
Dominique Dumont (Cc'd).

But:

Are you aware that the effort to switch to 64 bit time_t is not worth much
in a ISO 9660 producing software, even on amd64, as long as

  https://github.com/torvalds/linux/blob/master/fs/isofs/isofs.h

has int as return type of the ISO-9660-to-Unix-time function

  extern int iso_date(u8 *, int);

(implemented in fs/isofs/util.c) ?

I once made a successful attempt to get the attention of parts of the
kernel community:
  
https://lore.kernel.org/all/20221024135517.7d40b96a206020eca03e3...@linux-foundation.org/t/
But as it looks, it never made it into the torvalds repo.


Have a nice day :)

Thomas



Bug#1062381: libisofs: NMU diff for 64-bit time_t transition

2024-02-01 Thread Steve Langasek
Source: libisofs
Version: 1.5.6.pl01-1
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
libisofs 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 libisofs
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 libisofs-1.5.6.pl01/debian/changelog 
libisofs-1.5.6.pl01/debian/changelog
--- libisofs-1.5.6.pl01/debian/changelog2023-09-09 17:16:02.0 
+
+++ libisofs-1.5.6.pl01/debian/changelog2024-02-01 08:41:43.0 
+
@@ -1,3 +1,10 @@
+libisofs (1.5.6.pl01-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Thu, 01 Feb 2024 08:41:43 +
+
 libisofs (1.5.6.pl01-1) unstable; urgency=low
 
   [ Thomas Schmitt ]
diff -Nru libisofs-1.5.6.pl01/debian/control libisofs-1.5.6.pl01/debian/control
--- libisofs-1.5.6.pl01/debian/control  2023-09-09 17:16:02.0 +
+++ libisofs-1.5.6.pl01/debian/control  2024-02-01 08:41:43.0 +
@@ -14,7 +14,10 @@
 Vcs-Git: https://salsa.debian.org/optical-media-team/libisofs.git -b master
 Homepage: http://libburnia-project.org
 
-Package: libisofs6
+Package: libisofs6t64
+Provides: ${t64:Provides}
+Replaces: libisofs6
+Breaks: libisofs6 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends},
@@ -35,7 +38,7 @@
 Section: doc
 Depends: ${misc:Depends}
 Description: background documentation for libisofs library
- This package contains documentation for libisofs6 extensions to the ISO 9660
+ This package contains documentation for libisofs6t64 extensions to the ISO 
9660
  filesystem format: extended file attributes by AAIP, MD5 checksums,
  zisofs as of mkzftree(1).
 
@@ -44,9 +47,9 @@
 Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},
- libisofs6 (= ${binary:Version})
+ libisofs6t64 (= ${binary:Version})
 Suggests: libisofs-doc (= ${source:Version})
 Description: development package for libisofs
  This package contains the pkgconfig files, static library and headers for the
- libisofs6 package.
+ libisofs6t64 package.
  Header file  defines the API of libisofs.
diff -Nru libisofs-1.5.6.pl01/debian/libisofs6.docs 
libisofs-1.5.6.pl01/debian/libisofs6.docs
--- libisofs-1.5.6.pl01/debian/libisofs6.docs   2023-09-09 17:16:02.0 
+
+++ libisofs-1.5.6.pl01/debian/libisofs6.docs   1970-01-01 00:00:00.0 
+
@@ -1,3 +0,0 @@
-AUTHORS
-README
-NEWS
diff -Nru libisofs-1.5.6.pl01/debian/libisofs6.install 
libisofs-1.5.6.pl01/debian/libisofs6.install
--- libisofs-1.5.6.pl01/debian/libisofs6.install2023-09-09 
17:16:02.0 +
+++ libisofs-1.5.6.pl01/debian/libisofs6.install1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-debian/tmp/usr/lib/*/libisofs.so.6*
diff -Nru libisofs-1.5.6.pl01/debian/libisofs6.symbols 
libisofs-1.5.6.pl01/debian/libisofs6.symbols
--- libisofs-1.5.6.pl01/debian/libisofs6.symbols2023-09-09 
17:16:02.0 +
+++ libisofs-1.5.6.pl01/debian/libisofs6.symbols1970-01-01 
00:00:00.0 +
@@ -1,383 +0,0 @@
-libisofs.so.6 libisofs6 #MINVER#
-