Bug#1063243: zziplib: NMU diff for 64-bit time_t transition

2024-03-01 Thread Benjamin Drung
Source: zziplib
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 zziplib-0.13.72+dfsg.1/debian/changelog 
zziplib-0.13.72+dfsg.1/debian/changelog
--- zziplib-0.13.72+dfsg.1/debian/changelog 2021-06-21 12:42:07.0 
+
+++ zziplib-0.13.72+dfsg.1/debian/changelog 2024-03-01 13:01:03.0 
+
@@ -1,3 +1,10 @@
+zziplib (0.13.72+dfsg.1-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063243
+
+ -- Benjamin Drung   Fri, 01 Mar 2024 13:01:03 +
+
 zziplib (0.13.72+dfsg.1-1.1) unstable; urgency=medium
 
   * Non-Maintainer Upload.
diff -Nru zziplib-0.13.72+dfsg.1/debian/control 
zziplib-0.13.72+dfsg.1/debian/control
--- zziplib-0.13.72+dfsg.1/debian/control   2021-06-18 13:57:44.0 
+
+++ zziplib-0.13.72+dfsg.1/debian/control   2024-03-01 13:01:03.0 
+
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Scott Howard 
 Uploaders: Lukas Märdian 
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  debhelper-compat (= 13),
  pkg-config,
  zlib1g-dev,
@@ -30,7 +30,10 @@
  This package contains some useful binaries to extract data from zip
  archives.
 
-Package: libzzip-0-13
+Package: libzzip-0-13t64
+Provides: ${t64:Provides}
+Replaces: libzzip-0-13
+Breaks: libzzip-0-13 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -47,7 +50,7 @@
 Package: libzzip-dev
 Section: libdevel
 Architecture: any
-Depends: libzzip-0-13 (= ${binary:Version}), ${misc:Depends}
+Depends: libzzip-0-13t64 (= ${binary:Version}), ${misc:Depends}
 Description: library providing read access on ZIP-archives - development
  The zziplib library is intentionally lightweight, it offers the ability
  to easily extract data from files archived in a single zip file.
diff -Nru zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.install 
zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.install
--- zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.install  2021-03-04 
08:54:37.0 +
+++ zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.install  1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.symbols 
zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.symbols
--- zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.symbols  2021-06-10 
14:21:26.0 +
+++ zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.symbols  1970-01-01 
00:00:00.0 +
@@ -1,135 +0,0 @@
-libzzip-0.so.13 libzzip-0-13 #MINVER#
- __zzip_get16@Base 0.13.56
- __zzip_get32@Base 0.13.56
- __zzip_get64@Base 0.13.56
- __zzip_set16@Base 0.13.56
- __zzip_set32@Base 0.13.56
- __zzip_set64@Base 0.13.56
- __zzip_try_open@Base 0.13.56
- zzip_close@Base 0.13.56
- zzip_closedir@Base 0.13.56
- zzip_compr_str@Base 0.13.56
- zzip_createdir@Base 0.13.56
- zzip_dir_alloc@Base 0.13.56
- zzip_dir_alloc_ext_io@Base 0.13.56
- zzip_dir_close@Base 0.13.56
- zzip_dir_creat@Base 0.13.56
- zzip_dir_creat_ext_io@Base 0.13.56
- zzip_dir_fdopen@Base 0.13.56
- zzip_dir_fdopen_ext_io@Base 0.13.56
- zzip_dir_free@Base 0.13.56
- zzip_dir_open@Base 0.13.56
- zzip_dir_open_ext_io@Base 0.13.56
- zzip_dir_read@Base 0.13.56
- zzip_dir_real@Base 0.13.56
- zzip_dir_stat@Base 0.13.56
- zzip_dirfd@Base 0.13.56
- zzip_dirhandle@Base 0.13.56
- zzip_errno@Base 0.13.56
- zzip_error@Base 0.13.56
- zzip_fclose@Base 0.13.56
- zzip_file_close@Base 0.13.56
- zzip_file_creat@Base 0.13.56
- zzip_file_mkdir@Base 0.13.56
- zzip_file_open@Base 0.13.56
- zzip_file_read@Base 0.13.56
- zzip_file_real@Base 0.13.56
- zzip_file_stat@Base 0.13.56
- zzip_file_write@Base 0.13.56
- zzip_filesize@Base 0.13.56
- zzip_fopen@Base 0.13.56
- zzip_fread@Base 0.13.56
- zzip_freopen@Base 0.13.56
- zzip_fstat@Base 0.13.56
- zzip_fwrite@Base 0.13.56
- zzip_get_default_io@Base 0.13.56
- zzip_init_io@Base 0.13.56
- zzip_open@Base 0.13.56
- zzip_open_ext_io@Base 0.13.56
- zzip_open_shared_io@Base 0.13.56
- zzip_opendir@Base 0.13.56
- zzip_opendir_ext_io@Base 0.13.56
- zzip_pread@Base 0.13.72
- zzip_read@Base 0.13.56
- zzip_readdir@Base 0.13.56
- zzip_realdir@Base 0.13.56
- zzip_realfd@Base 0.13.56
- zzip_rewind@Base 0.13.56
- zzip_rewinddir@Base 0.13.56
- zzip_seek32@Base 0.13.62
- zzip_seek@Base 0.13.56
- zzip_seekdir32@Base 0.13.62
- zzip_seekdir@Base 0.13.56
- zzip_seterror@Base 0.13.56

Bug#1063243: zziplib: NMU diff for 64-bit time_t transition

2024-02-05 Thread Steve Langasek
Source: zziplib
Version: 0.13.72+dfsg.1-1.1
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
zziplib 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 zziplib
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 zziplib-0.13.72+dfsg.1/debian/changelog 
zziplib-0.13.72+dfsg.1/debian/changelog
--- zziplib-0.13.72+dfsg.1/debian/changelog 2021-06-21 12:42:07.0 
+
+++ zziplib-0.13.72+dfsg.1/debian/changelog 2024-02-05 20:15:59.0 
+
@@ -1,3 +1,10 @@
+zziplib (0.13.72+dfsg.1-1.2) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Mon, 05 Feb 2024 20:15:59 +
+
 zziplib (0.13.72+dfsg.1-1.1) unstable; urgency=medium
 
   * Non-Maintainer Upload.
diff -Nru zziplib-0.13.72+dfsg.1/debian/control 
zziplib-0.13.72+dfsg.1/debian/control
--- zziplib-0.13.72+dfsg.1/debian/control   2021-06-18 13:57:44.0 
+
+++ zziplib-0.13.72+dfsg.1/debian/control   2024-02-05 20:15:59.0 
+
@@ -30,7 +30,10 @@
  This package contains some useful binaries to extract data from zip
  archives.
 
-Package: libzzip-0-13
+Package: libzzip-0-13t64
+Provides: ${t64:Provides}
+Replaces: libzzip-0-13
+Breaks: libzzip-0-13 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -47,7 +50,7 @@
 Package: libzzip-dev
 Section: libdevel
 Architecture: any
-Depends: libzzip-0-13 (= ${binary:Version}), ${misc:Depends}
+Depends: libzzip-0-13t64 (= ${binary:Version}), ${misc:Depends}
 Description: library providing read access on ZIP-archives - development
  The zziplib library is intentionally lightweight, it offers the ability
  to easily extract data from files archived in a single zip file.
diff -Nru zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.install 
zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.install
--- zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.install  2021-03-04 
08:54:37.0 +
+++ zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.install  1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.symbols 
zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.symbols
--- zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.symbols  2021-06-10 
14:21:26.0 +
+++ zziplib-0.13.72+dfsg.1/debian/libzzip-0-13.symbols  1970-01-01 
00:00:00.0 +
@@ -1,135 +0,0 @@
-libzzip-0.so.13 libzzip-0-13 #MINVER#
- __zzip_get16@Base 0.13.56
- __zzip_get32@Base 0.13.56
- __zzip_get64@Base 0.13.56
- __zzip_set16@Base 0.13.56
- __zzip_set32@Base 0.13.56
- __zzip_set64@Base 0.13.56
- __zzip_try_open@Base 0.13.56
- zzip_close@Base 0.13.56
- zzip_closedir@Base 0.13.56
- zzip_compr_str@Base 0.13.56
- zzip_createdir@Base 0.13.56
- zzip_dir_alloc@Base 0.13.56
- zzip_dir_alloc_ext_io@Base 0.13.56
- zzip_dir_close@Base 0.13.56
- zzip_dir_creat@Base 0.13.56
- zzip_dir_creat_ext_io@Base 0.13.56
- zzip_dir_fdopen@Base 0.13.56
- zzip_dir_fdopen_ext_io@Base 0.13.56
- zzip_dir_free@Base 0.13.56
- zzip_dir_open@Base 0.13.56
-