Bug#1062380: libisoburn: NMU diff for 64-bit time_t transition

2024-02-01 Thread Steve Langasek
On Thu, Feb 01, 2024 at 11:04:29AM +0100, Thomas Schmitt wrote:
> 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.

Well, that's a different problem than making sure libraries which expose
time-related types in their ABIs are using 64-bit types consistently and
don't have crashes at runtime due to ABI skew between library and caller!

Cheers,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developer   https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


signature.asc
Description: PGP signature


Bug#1062380: libisoburn: 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#1062380: libisoburn: NMU diff for 64-bit time_t transition

2024-02-01 Thread Steve Langasek
Source: libisoburn
Version: 1.5.6-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
libisoburn 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 libisoburn
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 libisoburn-1.5.6/debian/changelog libisoburn-1.5.6/debian/changelog
--- libisoburn-1.5.6/debian/changelog   2023-09-09 17:20:46.0 +
+++ libisoburn-1.5.6/debian/changelog   2024-02-01 08:40:12.0 +
@@ -1,3 +1,10 @@
+libisoburn (1.5.6-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Thu, 01 Feb 2024 08:40:12 +
+
 libisoburn (1.5.6-1) unstable; urgency=low
 
   [ Thomas Schmitt ]
diff -Nru libisoburn-1.5.6/debian/control libisoburn-1.5.6/debian/control
--- libisoburn-1.5.6/debian/control 2023-09-09 17:20:46.0 +
+++ libisoburn-1.5.6/debian/control 2024-02-01 08:40:12.0 +
@@ -16,7 +16,10 @@
 Vcs-Git: https://salsa.debian.org/optical-media-team/libisoburn.git
 Homepage: http://libburnia-project.org
 
-Package: libisoburn1
+Package: libisoburn1t64
+Provides: ${t64:Provides}
+Replaces: libisoburn1
+Breaks: libisoburn1 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends},
@@ -56,7 +59,7 @@
 Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},
- libisoburn1 (= ${binary:Version}),
+ libisoburn1t64 (= ${binary:Version}),
  libisofs-dev,
  libburn-dev
 Suggests: libisoburn-doc (= ${source:Version})
@@ -78,7 +81,7 @@
 Section: otherosfs
 Depends: ${shlibs:Depends},
  ${misc:Depends},
- libisoburn1 (= ${binary:Version})
+ libisoburn1t64 (= ${binary:Version})
 Suggests: xorriso-tcltk,
   jigit,
   cdck [!kfreebsd-any]
diff -Nru libisoburn-1.5.6/debian/libisoburn1.docs 
libisoburn-1.5.6/debian/libisoburn1.docs
--- libisoburn-1.5.6/debian/libisoburn1.docs2023-09-09 17:20:46.0 
+
+++ libisoburn-1.5.6/debian/libisoburn1.docs1970-01-01 00:00:00.0 
+
@@ -1,2 +0,0 @@
-AUTHORS
-README
diff -Nru libisoburn-1.5.6/debian/libisoburn1.install 
libisoburn-1.5.6/debian/libisoburn1.install
--- libisoburn-1.5.6/debian/libisoburn1.install 2023-09-09 17:20:46.0 
+
+++ libisoburn-1.5.6/debian/libisoburn1.install 1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-debian/tmp/usr/lib/*/libisoburn.so.1*
diff -Nru libisoburn-1.5.6/debian/libisoburn1.lintian-overrides 
libisoburn-1.5.6/debian/libisoburn1.lintian-overrides
--- libisoburn-1.5.6/debian/libisoburn1.lintian-overrides   2023-09-09 
17:20:46.0 +
+++ libisoburn-1.5.6/debian/libisoburn1.lintian-overrides   1970-01-01 
00:00:00.0 +
@@ -1,18 +0,0 @@
-
-# The typo "paramters" is inherited from mkisofs helptexts and might be
-# essential for proper recognition of mkisofs capabilities by frontends.
-libisoburn1 binary: spelling-error-in-binary paramters parameters *
-
-# The germanism "Allow to" is inherited from mkisofs helptexts and might be
-# essential for proper recognition of mkisofs