Bug#1061873: afflib: NMU diff for 64-bit time_t transition

2024-02-27 Thread Steve Langasek
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-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 afflib-3.7.20/debian/changelog afflib-3.7.20/debian/changelog
--- afflib-3.7.20/debian/changelog  2022-12-28 16:10:05.0 +
+++ afflib-3.7.20/debian/changelog  2024-02-28 00:12:31.0 +
@@ -1,3 +1,10 @@
+afflib (3.7.20-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1061873
+
+ -- Steve Langasek   Wed, 28 Feb 2024 00:12:31 +
+
 afflib (3.7.20-1) unstable; urgency=medium
 
   * New upstream version 3.7.20.
diff -Nru afflib-3.7.20/debian/control afflib-3.7.20/debian/control
--- afflib-3.7.20/debian/control2022-12-28 16:09:57.0 +
+++ afflib-3.7.20/debian/control2024-02-28 00:12:31.0 +
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Security Tools 
 Uploaders: Joao Eriberto Mota Filho 
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
chrpath,
libcurl4-openssl-dev,
libexpat1-dev,
@@ -17,12 +17,15 @@
 Vcs-Browser: https://salsa.debian.org/pkg-security-team/afflib
 Vcs-Git: https://salsa.debian.org/pkg-security-team/afflib.git
 
-Package: libafflib0v5
+Package: libafflib0t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libafflib0v5
+Breaks: libafflib0v5 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Conflicts: libafflib0
-Replaces: libafflib0
+Replaces: libafflib0v5, libafflib0
 Description: Advanced Forensics Format Library
  The Advanced Forensic Format (AFF) is on-disk format for storing
  computer forensic information. Critical features of AFF include:
@@ -39,7 +42,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: ${misc:Depends}, libafflib0v5 (= ${binary:Version})
+Depends: ${misc:Depends}, libafflib0t64 (= ${binary:Version})
 Recommends: afflib-tools
 Description: Advanced Forensics Format Library (development files)
  The Advanced Forensic Format (AFF) is on-disk format for storing
diff -Nru afflib-3.7.20/debian/libafflib0t64.docs 
afflib-3.7.20/debian/libafflib0t64.docs
--- afflib-3.7.20/debian/libafflib0t64.docs 1970-01-01 00:00:00.0 
+
+++ afflib-3.7.20/debian/libafflib0t64.docs 2022-12-28 16:09:57.0 
+
@@ -0,0 +1,5 @@
+AUTHORS
+BUGLIST.txt
+doc/*.txt
+NEWS
+README
diff -Nru afflib-3.7.20/debian/libafflib0t64.install 
afflib-3.7.20/debian/libafflib0t64.install
--- afflib-3.7.20/debian/libafflib0t64.install  1970-01-01 00:00:00.0 
+
+++ afflib-3.7.20/debian/libafflib0t64.install  2022-12-28 16:09:57.0 
+
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff -Nru afflib-3.7.20/debian/libafflib0t64.lintian-overrides 
afflib-3.7.20/debian/libafflib0t64.lintian-overrides
--- afflib-3.7.20/debian/libafflib0t64.lintian-overrides1970-01-01 
00:00:00.0 +
+++ afflib-3.7.20/debian/libafflib0t64.lintian-overrides2024-02-28 
00:12:21.0 +
@@ -0,0 +1 @@
+libafflib0t64: package-name-doesnt-match-sonames libafflib0v5
diff -Nru afflib-3.7.20/debian/libafflib0t64.symbols 
afflib-3.7.20/debian/libafflib0t64.symbols
--- afflib-3.7.20/debian/libafflib0t64.symbols  1970-01-01 00:00:00.0 
+
+++ afflib-3.7.20/debian/libafflib0t64.symbols  2024-02-28 00:12:21.0 
+
@@ -0,0 +1,804 @@
+libafflib.so.0 libafflib0t64 #MINVER#
+* Build-Depends-Package: libafflib-dev
+ IID_ICompressCoder2@Base 3.7.6
+ IID_ICompressCoder@Base 3.7.6
+ IID_ICompressFilter@Base 3.7.6
+ IID_ICompressGetInStreamProcessedSize@Base 3.7.6
+ IID_ICompressGetSubStreamSize@Base 3.7.6
+ IID_ICompressProgressInfo@Base 3.7.6
+ IID_ICompressSetCoderMt@Base 3.7.6
+ IID_ICompressSetCoderProperties@Base 3.7.6
+ IID_ICompressSetDecoderProperties2@Base 3.7.6
+ IID_ICompressSetInStream@Base 3.7.6
+ IID_ICompressSetInStreamSize@Base 3.7.6
+ IID_ICompressSetOutStream@Base 3.7.6
+ IID_ICompressSetOutStreamSize@Base 3.7.6
+ IID_ICompressWriteCoderProperties@Base 3.7.6
+ IID_ICryptoProperties@Base 3.7.6
+ IID_ICryptoSetCRC@Base 3.7.6
+ IID_ICryptoSetPassword@Base 3.7.6
+ IID_IInStream@Base 3.7.6
+ IID_IOutStream@Base 3.7.6
+ IID_IOutStreamFlush@Base 3.7.6
+ IID_ISequentialInStream@Base 3.7.6
+ IID_ISequentialOutStream@Base 3.7.6
+ 

Bug#1061873: afflib: NMU diff for 64-bit time_t transition

2024-01-30 Thread Steve Langasek
Source: afflib
Followup-For: Bug #1061873

Apologies, an oversight in the conversion script caused us to fail to update
strict versioned dependencies on the previous package name.  Please find
attached a fixed patch.

This has also now been uploaded to experimental.
diff -Nru afflib-3.7.20/debian/changelog afflib-3.7.20/debian/changelog
--- afflib-3.7.20/debian/changelog  2022-12-28 16:10:05.0 +
+++ afflib-3.7.20/debian/changelog  2024-01-31 03:46:32.0 +
@@ -1,3 +1,11 @@
+afflib (3.7.20-1.1~exp2) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * Fix uninstallable packages from the previous upload.
+
+ -- Steve Langasek   Wed, 31 Jan 2024 03:46:32 +
+
 afflib (3.7.20-1) unstable; urgency=medium
 
   * New upstream version 3.7.20.
diff -Nru afflib-3.7.20/debian/control afflib-3.7.20/debian/control
--- afflib-3.7.20/debian/control2022-12-28 16:09:57.0 +
+++ afflib-3.7.20/debian/control2024-01-31 03:46:04.0 +
@@ -17,12 +17,15 @@
 Vcs-Browser: https://salsa.debian.org/pkg-security-team/afflib
 Vcs-Git: https://salsa.debian.org/pkg-security-team/afflib.git
 
-Package: libafflib0v5
+Package: libafflib0t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libafflib0v5
+Breaks: libafflib0v5 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Conflicts: libafflib0
-Replaces: libafflib0
+Replaces: libafflib0v5, libafflib0
 Description: Advanced Forensics Format Library
  The Advanced Forensic Format (AFF) is on-disk format for storing
  computer forensic information. Critical features of AFF include:
@@ -39,7 +42,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: ${misc:Depends}, libafflib0v5 (= ${binary:Version})
+Depends: ${misc:Depends}, libafflib0t64 (= ${binary:Version})
 Recommends: afflib-tools
 Description: Advanced Forensics Format Library (development files)
  The Advanced Forensic Format (AFF) is on-disk format for storing
diff -Nru afflib-3.7.20/debian/libafflib0t64.docs 
afflib-3.7.20/debian/libafflib0t64.docs
--- afflib-3.7.20/debian/libafflib0t64.docs 1970-01-01 00:00:00.0 
+
+++ afflib-3.7.20/debian/libafflib0t64.docs 2022-12-28 16:09:57.0 
+
@@ -0,0 +1,5 @@
+AUTHORS
+BUGLIST.txt
+doc/*.txt
+NEWS
+README
diff -Nru afflib-3.7.20/debian/libafflib0t64.install 
afflib-3.7.20/debian/libafflib0t64.install
--- afflib-3.7.20/debian/libafflib0t64.install  1970-01-01 00:00:00.0 
+
+++ afflib-3.7.20/debian/libafflib0t64.install  2022-12-28 16:09:57.0 
+
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff -Nru afflib-3.7.20/debian/libafflib0t64.lintian-overrides 
afflib-3.7.20/debian/libafflib0t64.lintian-overrides
--- afflib-3.7.20/debian/libafflib0t64.lintian-overrides1970-01-01 
00:00:00.0 +
+++ afflib-3.7.20/debian/libafflib0t64.lintian-overrides2024-01-31 
03:46:04.0 +
@@ -0,0 +1 @@
+libafflib0t64: package-name-doesnt-match-sonames libafflib0v5
diff -Nru afflib-3.7.20/debian/libafflib0t64.symbols 
afflib-3.7.20/debian/libafflib0t64.symbols
--- afflib-3.7.20/debian/libafflib0t64.symbols  1970-01-01 00:00:00.0 
+
+++ afflib-3.7.20/debian/libafflib0t64.symbols  2024-01-31 03:46:04.0 
+
@@ -0,0 +1,804 @@
+libafflib.so.0 libafflib0t64 #MINVER#
+* Build-Depends-Package: libafflib-dev
+ IID_ICompressCoder2@Base 3.7.6
+ IID_ICompressCoder@Base 3.7.6
+ IID_ICompressFilter@Base 3.7.6
+ IID_ICompressGetInStreamProcessedSize@Base 3.7.6
+ IID_ICompressGetSubStreamSize@Base 3.7.6
+ IID_ICompressProgressInfo@Base 3.7.6
+ IID_ICompressSetCoderMt@Base 3.7.6
+ IID_ICompressSetCoderProperties@Base 3.7.6
+ IID_ICompressSetDecoderProperties2@Base 3.7.6
+ IID_ICompressSetInStream@Base 3.7.6
+ IID_ICompressSetInStreamSize@Base 3.7.6
+ IID_ICompressSetOutStream@Base 3.7.6
+ IID_ICompressSetOutStreamSize@Base 3.7.6
+ IID_ICompressWriteCoderProperties@Base 3.7.6
+ IID_ICryptoProperties@Base 3.7.6
+ IID_ICryptoSetCRC@Base 3.7.6
+ IID_ICryptoSetPassword@Base 3.7.6
+ IID_IInStream@Base 3.7.6
+ IID_IOutStream@Base 3.7.6
+ IID_IOutStreamFlush@Base 3.7.6
+ IID_ISequentialInStream@Base 3.7.6
+ IID_ISequentialOutStream@Base 3.7.6
+ IID_IStreamGetSize@Base 3.7.6
+ LzmaDecode@Base 3.7.6
+ LzmaDecodeProperties@Base 3.7.6
+ LzmaRamDecompress@Base 3.7.6
+ LzmaRamGetUncompressedSize@Base 3.7.6
+ _Z10ReadStreamP19ISequentialInStreamPvjPj@Base 3.7.6
+ _Z10s3_del_segP7_AFFILEPKc@Base 3.7.6
+ _Z11MyCharUpperw@Base 3.7.6
+ _Z11WriteStreamP20ISequentialOutStreamPKvjPj@Base 3.7.6
+ _Z11afd_del_segP7_AFFILEPKc@Base 3.7.6
+ _Z11raw_freopenP7_AFFILEP8_IO_FILE@Base 3.7.6
+ _Z12srp_validateP7_AFFILE@Base 3.7.6
+ _Z13LzmaBenchmarkP8_IO_FILEjj@Base 3.7.6
+ (optional) _Z13LzmaRamEncodePKhjPhjPjj13ESzFilterMode@Base 3.7.17
+ (optional) _Z13LzmaRamEncodePKhmPhmPmj13ESzFilterMode@Base 3.7.17
+ (optional) _Z14af_aes_decryptP7_AFFILEPKcPhPj@Base 3.7.17

Bug#1061873: afflib: NMU diff for 64-bit time_t transition

2024-01-29 Thread Steve Langasek
Source: afflib
Version: 3.7.20-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
afflib 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 afflib
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'), (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 afflib-3.7.20/debian/changelog afflib-3.7.20/debian/changelog
--- afflib-3.7.20/debian/changelog  2022-12-28 16:10:05.0 +
+++ afflib-3.7.20/debian/changelog  2024-01-29 22:26:49.0 +
@@ -1,3 +1,10 @@
+afflib (3.7.20-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Mon, 29 Jan 2024 22:26:49 +
+
 afflib (3.7.20-1) unstable; urgency=medium
 
   * New upstream version 3.7.20.
diff -Nru afflib-3.7.20/debian/control afflib-3.7.20/debian/control
--- afflib-3.7.20/debian/control2022-12-28 16:09:57.0 +
+++ afflib-3.7.20/debian/control2024-01-29 22:26:49.0 +
@@ -17,12 +17,15 @@
 Vcs-Browser: https://salsa.debian.org/pkg-security-team/afflib
 Vcs-Git: https://salsa.debian.org/pkg-security-team/afflib.git
 
-Package: libafflib0v5
+Package: libafflib0t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libafflib0v5
+Breaks: libafflib0v5 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Conflicts: libafflib0
-Replaces: libafflib0
+Replaces: libafflib0v5, libafflib0
 Description: Advanced Forensics Format Library
  The Advanced Forensic Format (AFF) is on-disk format for storing
  computer forensic information. Critical features of AFF include:
diff -Nru afflib-3.7.20/debian/libafflib0t64.docs 
afflib-3.7.20/debian/libafflib0t64.docs
--- afflib-3.7.20/debian/libafflib0t64.docs 1970-01-01 00:00:00.0 
+
+++ afflib-3.7.20/debian/libafflib0t64.docs 2022-12-28 16:09:57.0 
+
@@ -0,0 +1,5 @@
+AUTHORS
+BUGLIST.txt
+doc/*.txt
+NEWS
+README
diff -Nru afflib-3.7.20/debian/libafflib0t64.install 
afflib-3.7.20/debian/libafflib0t64.install
--- afflib-3.7.20/debian/libafflib0t64.install  1970-01-01 00:00:00.0 
+
+++ afflib-3.7.20/debian/libafflib0t64.install  2022-12-28 16:09:57.0 
+
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff -Nru afflib-3.7.20/debian/libafflib0t64.lintian-overrides 
afflib-3.7.20/debian/libafflib0t64.lintian-overrides
--- afflib-3.7.20/debian/libafflib0t64.lintian-overrides1970-01-01 
00:00:00.0 +
+++ afflib-3.7.20/debian/libafflib0t64.lintian-overrides2024-01-29 
22:26:49.0 +
@@ -0,0 +1 @@
+libafflib0t64: package-name-doesnt-match-sonames libafflib0v5
diff -Nru afflib-3.7.20/debian/libafflib0t64.symbols 
afflib-3.7.20/debian/libafflib0t64.symbols
--- afflib-3.7.20/debian/libafflib0t64.symbols  1970-01-01 00:00:00.0 
+
+++ afflib-3.7.20/debian/libafflib0t64.symbols  2024-01-29 22:26:49.0 
+
@@ -0,0 +1,804 @@
+libafflib.so.0 libafflib0t64 #MINVER#
+* Build-Depends-Package: libafflib-dev
+ IID_ICompressCoder2@Base 3.7.6
+ IID_ICompressCoder@Base 3.7.6
+ IID_ICompressFilter@Base 3.7.6
+ IID_ICompressGetInStreamProcessedSize@Base 3.7.6
+