Bug#1063134: libquazip: NMU diff for 64-bit time_t transition

2024-03-01 Thread Benjamin Drung
Source: libquazip
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 libquazip-0.9.1/debian/changelog libquazip-0.9.1/debian/changelog
--- libquazip-0.9.1/debian/changelog2022-11-03 08:46:42.0 +
+++ libquazip-0.9.1/debian/changelog2024-03-01 12:26:49.0 +
@@ -1,3 +1,10 @@
+libquazip (0.9.1-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063134
+
+ -- Benjamin Drung   Fri, 01 Mar 2024 12:26:49 +
+
 libquazip (0.9.1-3) unstable; urgency=medium
 
   * QA (group) upload
diff -Nru libquazip-0.9.1/debian/control libquazip-0.9.1/debian/control
--- libquazip-0.9.1/debian/control  2022-11-03 08:46:42.0 +
+++ libquazip-0.9.1/debian/control  2024-03-01 12:26:49.0 +
@@ -2,8 +2,8 @@
 Maintainer: Debian QA Group 
 Section: libs
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
-   d-shlibs,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
+   d-shlibs (>= 0.106),
cmake,
qtbase5-dev,
qtchooser,
@@ -17,7 +17,7 @@
 Homepage: https://github.com/stachenov/quazip
 Rules-Requires-Root: no
 
-Package: libquazip5-1
+Package: libquazip5-1t64
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -25,10 +25,11 @@
  ${misc:Depends}
 Suggests: libquazip-doc
 Pre-Depends: ${misc:Pre-Depends}
+Conflicts: libquazip5-1 (<< ${source:Version})
 Breaks: libquazip1-qt5
-Provides: libquazip1-qt5,
+Provides: ${t64:Provides}, libquazip1-qt5,
   libquazip-qt5-1
-Replaces: libquazip1-qt5,
+Replaces: libquazip5-1, libquazip1-qt5,
   libquazip-qt5-1
 Description: C++ wrapper for ZIP/UNZIP
  QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that
@@ -47,7 +48,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: libquazip5-1 (= ${binary:Version}),
+Depends: libquazip5-1t64 (= ${binary:Version}),
  ${misc:Depends},
  zlib1g-dev
 Breaks: libquazip-qt5-1-dev (<= 0.7-2),
diff -Nru libquazip-0.9.1/debian/libquazip5-1.1 
libquazip-0.9.1/debian/libquazip5-1.1
--- libquazip-0.9.1/debian/libquazip5-1.1   2022-11-03 08:46:42.0 
+
+++ libquazip-0.9.1/debian/libquazip5-1.1   1970-01-01 00:00:00.0 
+
@@ -1,27 +0,0 @@
-.TH QuaZIP 1 "14 July 2014"
-.SH NAME
-quazip - C++/Qt wrapper for UNZIP/ZIP
-.SH SYNOPSIS
-.B quazip
-.SH DESCRIPTION
-.B QuaZIP
-is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that
-can be used to access ZIP archives. It uses Trolltech's Qt toolkit.
-.
-.B QuaZIP
-allows you to access files inside ZIP archives using QIODevice API,
-and that means that you can also use QTextStream, QDataStream or
-whatever you would like to use on your zipped files.
-.
-.B QuaZIP
-provides complete abstraction of the ZIP/UNZIP API, for both reading
-from and writing to ZIP archives.
-.SH SEE ALSO
-.BR minizip (1),
-.BR miniunzip (1),
-.BR zlib (3),
-.BR zip (1).
-.SH AUTHOR
-This program was written by Sergey A. Tachenov.
-This manual page was written by Eric Maeker .
-
diff -Nru libquazip-0.9.1/debian/libquazip5-1.manpages 
libquazip-0.9.1/debian/libquazip5-1.manpages
--- libquazip-0.9.1/debian/libquazip5-1.manpages2022-11-03 
08:46:42.0 +
+++ libquazip-0.9.1/debian/libquazip5-1.manpages1970-01-01 
00:00:00.0 +
@@ -1,2 +0,0 @@
-debian/libquazip5-1.1
-
diff -Nru libquazip-0.9.1/debian/libquazip5-1.symbols.amd64 
libquazip-0.9.1/debian/libquazip5-1.symbols.amd64
--- libquazip-0.9.1/debian/libquazip5-1.symbols.amd64   2022-11-03 
08:46:42.0 +
+++ libquazip-0.9.1/debian/libquazip5-1.symbols.amd64   1970-01-01 
00:00:00.0 +
@@ -1,419 +0,0 @@
-libquazip5.so.1 libquazip5-1 #MINVER#
-* Build-Depends-Package: libquazip5-dev
- LoadCentralDirectoryRecord@Base 0.7.3
- Write_EndOfCentralDirectoryRecord@Base 0.7.3
- Write_GlobalComment@Base 0.7.3
- Write_LocalFileHeader@Base 0.7.3
- Write_Zip64EndOfCentralDirectoryLocator@Base 0.7.3
- Write_Zip64EndOfCentralDirectoryRecord@Base 0.7.3
- _Z18QuaZip_getFileInfoI14QuaZipFileInfoET_P6QuaZipPb@Base 0.7.3
- _Z18QuaZip_getFileInfoI16QuaZipFileInfo64ET_P6QuaZipPb@Base 0.7.3
- _Z18QuaZip_getFileInfoI7QStringET_P6QuaZipPb@Base 0.7.3
- 

Bug#1063134: libquazip: NMU diff for 64-bit time_t transition

2024-02-05 Thread Steve Langasek
Source: libquazip
Version: 0.9.1-3
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
libquazip 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 libquazip
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 libquazip-0.9.1/debian/changelog libquazip-0.9.1/debian/changelog
--- libquazip-0.9.1/debian/changelog2022-11-03 08:46:42.0 +
+++ libquazip-0.9.1/debian/changelog2024-02-05 08:02:49.0 +
@@ -1,3 +1,11 @@
+libquazip (0.9.1-3.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * Bump build-dependency on d-shlibs for --t64 support.
+
+ -- Steve Langasek   Mon, 05 Feb 2024 08:02:49 +
+
 libquazip (0.9.1-3) unstable; urgency=medium
 
   * QA (group) upload
diff -Nru libquazip-0.9.1/debian/control libquazip-0.9.1/debian/control
--- libquazip-0.9.1/debian/control  2022-11-03 08:46:42.0 +
+++ libquazip-0.9.1/debian/control  2024-02-05 08:02:49.0 +
@@ -3,7 +3,7 @@
 Section: libs
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
-   d-shlibs,
+   d-shlibs (>= 0.106),
cmake,
qtbase5-dev,
qtchooser,
@@ -17,7 +17,7 @@
 Homepage: https://github.com/stachenov/quazip
 Rules-Requires-Root: no
 
-Package: libquazip5-1
+Package: libquazip5-1t64
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -25,10 +25,11 @@
  ${misc:Depends}
 Suggests: libquazip-doc
 Pre-Depends: ${misc:Pre-Depends}
+Conflicts: libquazip5-1 (<< ${source:Version})
 Breaks: libquazip1-qt5
-Provides: libquazip1-qt5,
+Provides: ${t64:Provides}, libquazip1-qt5,
   libquazip-qt5-1
-Replaces: libquazip1-qt5,
+Replaces: libquazip5-1, libquazip1-qt5,
   libquazip-qt5-1
 Description: C++ wrapper for ZIP/UNZIP
  QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that
@@ -47,7 +48,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: libquazip5-1 (= ${binary:Version}),
+Depends: libquazip5-1t64 (= ${binary:Version}),
  ${misc:Depends},
  zlib1g-dev
 Breaks: libquazip-qt5-1-dev (<= 0.7-2),
diff -Nru libquazip-0.9.1/debian/libquazip5-1.1 
libquazip-0.9.1/debian/libquazip5-1.1
--- libquazip-0.9.1/debian/libquazip5-1.1   2022-11-03 08:46:42.0 
+
+++ libquazip-0.9.1/debian/libquazip5-1.1   1970-01-01 00:00:00.0 
+
@@ -1,27 +0,0 @@
-.TH QuaZIP 1 "14 July 2014"
-.SH NAME
-quazip - C++/Qt wrapper for UNZIP/ZIP
-.SH SYNOPSIS
-.B quazip
-.SH DESCRIPTION
-.B QuaZIP
-is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that
-can be used to access ZIP archives. It uses Trolltech's Qt toolkit.
-.
-.B QuaZIP
-allows you to access files inside ZIP archives using QIODevice API,
-and that means that you can also use QTextStream, QDataStream or
-whatever you would like to use on your zipped files.
-.
-.B QuaZIP
-provides complete abstraction of the ZIP/UNZIP API, for both reading
-from and writing to ZIP archives.
-.SH SEE ALSO
-.BR minizip (1),
-.BR miniunzip