Bug#1061932: blitz++: 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 blitz++-1.0.2+ds/debian/changelog blitz++-1.0.2+ds/debian/changelog
--- blitz++-1.0.2+ds/debian/changelog   2022-11-20 16:05:45.0 +
+++ blitz++-1.0.2+ds/debian/changelog   2024-02-28 03:21:46.0 +
@@ -1,3 +1,10 @@
+blitz++ (1:1.0.2+ds-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1061932
+
+ -- Steve Langasek   Wed, 28 Feb 2024 03:21:46 +
+
 blitz++ (1:1.0.2+ds-4) unstable; urgency=medium
 
   * Debianization:
diff -Nru blitz++-1.0.2+ds/debian/control blitz++-1.0.2+ds/debian/control
--- blitz++-1.0.2+ds/debian/control 2022-07-30 16:43:23.0 +
+++ blitz++-1.0.2+ds/debian/control 2024-02-28 03:21:46.0 +
@@ -4,7 +4,7 @@
Christophe Trophime 
 Section: devel
 Priority: optional
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  debhelper-compat (= 13),
  autoconf-archive, automake, libtool, python3,
  gfortran | fortran-compiler, cfortran,
@@ -18,14 +18,16 @@
 Vcs-Git: https://salsa.debian.org/math-team/blitzxx.git
 Vcs-Browser: https://salsa.debian.org/math-team/blitzxx
 
-Package: libblitz0v5
+Package: libblitz0t64
+Breaks: libblitz0v5 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: libblitz-doc
 Conflicts: libblitz0, libblitz0ldbl
-Provides: libblitz0
-Replaces: libblitz0, libblitz0ldbl
+X-Time64-Compat: libblitz0v5
+Provides: ${t64:Provides}, libblitz0
+Replaces: libblitz0v5, libblitz0, libblitz0ldbl
 Multi-Arch: same
 Description: C++ template class library for scientific computing
  Blitz++ offers a high level of abstraction,
@@ -37,7 +39,7 @@
 Package: libblitz0-dev
 Architecture: any
 Section: libdevel
-Depends: libblitz0v5 (= ${binary:Version}), ${misc:Depends}
+Depends: libblitz0t64 (= ${binary:Version}), ${misc:Depends}
 Suggests: pkg-config, libblitz-doc (= ${source:Version})
 Conflicts: libblitz-dev, blitz++
 Provides: libblitz-dev, blitz++
diff -Nru blitz++-1.0.2+ds/debian/libblitz0t64.README.Debian 
blitz++-1.0.2+ds/debian/libblitz0t64.README.Debian
--- blitz++-1.0.2+ds/debian/libblitz0t64.README.Debian  1970-01-01 
00:00:00.0 +
+++ blitz++-1.0.2+ds/debian/libblitz0t64.README.Debian  2016-07-23 
23:25:59.0 +
@@ -0,0 +1,20 @@
+blitz++ for DEBIAN
+
+This is the blitz++ (c++) numerical library for Debian.
+
+In some places, the package is called blitz, in others blitz++.
+For instance, the headers are in /usr/include/blitz .
+
+If you have installed the libblitz-doc package you will
+find some examples in /usr/share/doc/libblitz-doc/examples.
+There is a Makefile.examples to build and test all examples.
+
+The benchmark directory has not been installed here, because it
+tests blitz++ against FORTRAN 90, which is not available for debian.
+
+Packaged by
+John Lapeyre  Thu, 10 Sep 1998 15:58:31 -0700
+Took over by
+Konstantinos Margaritis  Thu, 20 Apr 2000 12:45:08 +0300
+Group maintained since
+Andreas Tille   Sun, 29 Apr 2007 17:06:38 +0200
diff -Nru blitz++-1.0.2+ds/debian/libblitz0t64.docs 
blitz++-1.0.2+ds/debian/libblitz0t64.docs
--- blitz++-1.0.2+ds/debian/libblitz0t64.docs   1970-01-01 00:00:00.0 
+
+++ blitz++-1.0.2+ds/debian/libblitz0t64.docs   2019-11-01 20:28:58.0 
+
@@ -0,0 +1 @@
+README.md
diff -Nru blitz++-1.0.2+ds/debian/libblitz0t64.install 
blitz++-1.0.2+ds/debian/libblitz0t64.install
--- blitz++-1.0.2+ds/debian/libblitz0t64.install1970-01-01 
00:00:00.0 +
+++ blitz++-1.0.2+ds/debian/libblitz0t64.install2016-07-23 
23:28:07.0 +
@@ -0,0 +1 @@
+usr/lib/*/libblitz.so.*
diff -Nru blitz++-1.0.2+ds/debian/libblitz0t64.lintian-overrides 
blitz++-1.0.2+ds/debian/libblitz0t64.lintian-overrides
--- blitz++-1.0.2+ds/debian/libblitz0t64.lintian-overrides  1970-01-01 
00:00:00.0 +
+++ blitz++-1.0.2+ds/debian/libblitz0t64.lintian-overrides  2024-02-28 
03:19:34.0 +
@@ -0,0 +1,3 @@
+# No active upstream maintainer any more
+no-symbols-control-file
+libblitz0t64: package-name-doesnt-match-sonames libblitz0v5
diff -Nru blitz++-1.0.2+ds/debian/libblitz0v5.README.Debian 
blitz++-1.0.2+ds/debian/libblitz0v5.README.Debian
--- blitz++-1.0.2+ds/debian/libblitz0v5.README.Debian   

Bug#1061932: blitz++: NMU diff for 64-bit time_t transition

2024-01-29 Thread Steve Langasek
Source: blitz++
Version: 1:1.0.2+ds-4
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
blitz++ 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 blitz++
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 blitz++-1.0.2+ds/debian/changelog blitz++-1.0.2+ds/debian/changelog
--- blitz++-1.0.2+ds/debian/changelog   2022-11-20 16:05:45.0 +
+++ blitz++-1.0.2+ds/debian/changelog   2024-01-30 05:47:03.0 +
@@ -1,3 +1,10 @@
+blitz++ (1:1.0.2+ds-4.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Tue, 30 Jan 2024 05:47:03 +
+
 blitz++ (1:1.0.2+ds-4) unstable; urgency=medium
 
   * Debianization:
diff -Nru blitz++-1.0.2+ds/debian/control blitz++-1.0.2+ds/debian/control
--- blitz++-1.0.2+ds/debian/control 2022-07-30 16:43:23.0 +
+++ blitz++-1.0.2+ds/debian/control 2024-01-30 05:47:03.0 +
@@ -18,14 +18,16 @@
 Vcs-Git: https://salsa.debian.org/math-team/blitzxx.git
 Vcs-Browser: https://salsa.debian.org/math-team/blitzxx
 
-Package: libblitz0v5
+Package: libblitz0t64
+Breaks: libblitz0v5 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: libblitz-doc
 Conflicts: libblitz0, libblitz0ldbl
-Provides: libblitz0
-Replaces: libblitz0, libblitz0ldbl
+Provides: libblitz0, ${t64:Provides}
+X-Time64-Compat: libblitz0v5
+Replaces: libblitz0v5, libblitz0, libblitz0ldbl
 Multi-Arch: same
 Description: C++ template class library for scientific computing
  Blitz++ offers a high level of abstraction,
@@ -37,7 +39,7 @@
 Package: libblitz0-dev
 Architecture: any
 Section: libdevel
-Depends: libblitz0v5 (= ${binary:Version}), ${misc:Depends}
+Depends: libblitz0t64 (= ${binary:Version}), ${misc:Depends}
 Suggests: pkg-config, libblitz-doc (= ${source:Version})
 Conflicts: libblitz-dev, blitz++
 Provides: libblitz-dev, blitz++
diff -Nru blitz++-1.0.2+ds/debian/libblitz0t64.Debian 
blitz++-1.0.2+ds/debian/libblitz0t64.Debian
--- blitz++-1.0.2+ds/debian/libblitz0t64.Debian 1970-01-01 00:00:00.0 
+
+++ blitz++-1.0.2+ds/debian/libblitz0t64.Debian 2016-07-23 23:25:59.0 
+
@@ -0,0 +1,20 @@
+blitz++ for DEBIAN
+
+This is the blitz++ (c++) numerical library for Debian.
+
+In some places, the package is called blitz, in others blitz++.
+For instance, the headers are in /usr/include/blitz .
+
+If you have installed the libblitz-doc package you will
+find some examples in /usr/share/doc/libblitz-doc/examples.
+There is a Makefile.examples to build and test all examples.
+
+The benchmark directory has not been installed here, because it
+tests blitz++ against FORTRAN 90, which is not available for debian.
+
+Packaged by
+John Lapeyre  Thu, 10 Sep 1998 15:58:31 -0700
+Took over by
+Konstantinos Margaritis  Thu, 20 Apr 2000 12:45:08 +0300
+Group maintained since
+Andreas Tille   Sun, 29 Apr 2007 17:06:38 +0200
diff -Nru blitz++-1.0.2+ds/debian/libblitz0t64.docs 
blitz++-1.0.2+ds/debian/libblitz0t64.docs
--- blitz++-1.0.2+ds/debian/libblitz0t64.docs   1970-01-01 00:00:00.0 
+