Bug#1061888: anfo: NMU diff for 64-bit time_t transition

2024-01-30 Thread Steve Langasek
Source: anfo
Version: 0.98-9
Followup-For: Bug #1061888

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.
diff -Nru anfo-0.98/debian/changelog anfo-0.98/debian/changelog
--- anfo-0.98/debian/changelog  2021-10-06 12:24:46.0 +
+++ anfo-0.98/debian/changelog  2024-01-31 05:32:32.0 +
@@ -1,3 +1,11 @@
+anfo (0.98-9.1) 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 05:32:32 +
+
 anfo (0.98-9) unstable; urgency=medium
 
   * uscan can't fetch latest upstream since https certificate became invalid
diff -Nru anfo-0.98/debian/control anfo-0.98/debian/control
--- anfo-0.98/debian/control2021-10-06 12:24:46.0 +
+++ anfo-0.98/debian/control2024-01-31 05:32:00.0 +
@@ -23,7 +23,7 @@
 Architecture: any
 Depends: ${shlibs:Depends},
  ${misc:Depends},
- libanfo0
+ libanfo0t64
 Description: Short Read Aligner/Mapper from MPG
  Anfo is a mapper in the spirit of Soap/Maq/Bowtie, but its implementation 
takes
  more after BLAST/BLAT. It's most useful for the alignment of sequencing reads
@@ -32,7 +32,10 @@
  what fast mappers will handle gracefully (say the reference genome is missing
  and a related species is used instead).
 
-Package: libanfo0
+Package: libanfo0t64
+Provides: ${t64:Provides}
+Replaces: libanfo0
+Breaks: libanfo0 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -50,7 +53,7 @@
 Package: libanfo0-dev
 Architecture: any
 Section: libdevel
-Depends: libanfo0 (= ${binary:Version}),
+Depends: libanfo0t64 (= ${binary:Version}),
  ${devlibs:Depends},
  ${misc:Depends}
 Conflicts: libanfo-dev


Bug#1061888: anfo: NMU diff for 64-bit time_t transition

2024-01-29 Thread Steve Langasek
Source: anfo
Version: 0.98-9
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
anfo 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 anfo
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 anfo-0.98/debian/changelog anfo-0.98/debian/changelog
--- anfo-0.98/debian/changelog  2021-10-06 12:24:46.0 +
+++ anfo-0.98/debian/changelog  2024-01-30 00:19:37.0 +
@@ -1,3 +1,10 @@
+anfo (0.98-9.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Tue, 30 Jan 2024 00:19:37 +
+
 anfo (0.98-9) unstable; urgency=medium
 
   * uscan can't fetch latest upstream since https certificate became invalid
diff -Nru anfo-0.98/debian/control anfo-0.98/debian/control
--- anfo-0.98/debian/control2021-10-06 12:24:46.0 +
+++ anfo-0.98/debian/control2024-01-30 00:19:37.0 +
@@ -32,7 +32,10 @@
  what fast mappers will handle gracefully (say the reference genome is missing
  and a related species is used instead).
 
-Package: libanfo0
+Package: libanfo0t64
+Provides: ${t64:Provides}
+Replaces: libanfo0
+Breaks: libanfo0 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},