Bug#1061717: 4ti2: 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 4ti2-1.6.10+ds/debian/changelog 4ti2-1.6.10+ds/debian/changelog
--- 4ti2-1.6.10+ds/debian/changelog 2023-07-15 14:23:50.0 +
+++ 4ti2-1.6.10+ds/debian/changelog 2024-02-28 00:25:24.0 +
@@ -1,3 +1,10 @@
+4ti2 (1.6.10+ds-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1061717
+
+ -- Steve Langasek   Wed, 28 Feb 2024 00:25:24 +
+
 4ti2 (1.6.10+ds-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru 4ti2-1.6.10+ds/debian/control 4ti2-1.6.10+ds/debian/control
--- 4ti2-1.6.10+ds/debian/control   2023-07-15 13:32:01.0 +
+++ 4ti2-1.6.10+ds/debian/control   2024-02-28 00:25:23.0 +
@@ -5,7 +5,7 @@
 Uploaders: Jerome Benoit ,
  Doug Torrance 
 Rules-Requires-Root: no
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  debhelper-compat (= 13),
  autoconf-archive, libtool,
  libgmp-dev,
@@ -22,7 +22,7 @@
 
 Package: 4ti2
 Architecture: any
-Depends: lib4ti2-0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: lib4ti2-0t64 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Suggests: 4ti2-doc
 Description: mathematical tool suite for problems on linear spaces -- tools
  4ti2 is a mathematical software package for algebraic, geometric
@@ -30,7 +30,10 @@
  .
  This package provides the 4ti2 tool suite.
 
-Package: lib4ti2-0
+Package: lib4ti2-0t64
+Provides: ${t64:Provides}
+Replaces: lib4ti2-0
+Breaks: lib4ti2-0 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -48,7 +51,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: lib4ti2-0 (= ${binary:Version}), ${devlibs:Depends}, ${misc:Depends}
+Depends: lib4ti2-0t64 (= ${binary:Version}), ${devlibs:Depends}, 
${misc:Depends}
 Breaks: 4ti2 (<< 1.6.9+ds-6)
 Suggests: 4ti2-doc
 Description: mathematical tool suite for problems on linear spaces -- dev
diff -Nru 4ti2-1.6.10+ds/debian/lib4ti2-0.install 
4ti2-1.6.10+ds/debian/lib4ti2-0.install
--- 4ti2-1.6.10+ds/debian/lib4ti2-0.install 2023-07-15 13:18:30.0 
+
+++ 4ti2-1.6.10+ds/debian/lib4ti2-0.install 1970-01-01 00:00:00.0 
+
@@ -1,2 +0,0 @@
-usr/lib/*/lib4ti2*.so.*
-usr/lib/*/libzsolve.so.*
diff -Nru 4ti2-1.6.10+ds/debian/lib4ti2-0.lintian-overrides 
4ti2-1.6.10+ds/debian/lib4ti2-0.lintian-overrides
--- 4ti2-1.6.10+ds/debian/lib4ti2-0.lintian-overrides   2023-07-15 
13:18:30.0 +
+++ 4ti2-1.6.10+ds/debian/lib4ti2-0.lintian-overrides   1970-01-01 
00:00:00.0 +
@@ -1,5 +0,0 @@
-# The upstream team manage mathematically impossible intermediate computations
-# with exit(3); this sounds as a clumsy DEBUG policy rather than a design
-# issue, but still an issue that has to be fixed by the upstream team itself:
-# a request was sent to the upstream team -- Jerome Benoit 

-exit-in-shared-library
diff -Nru 4ti2-1.6.10+ds/debian/lib4ti2-0t64.install 
4ti2-1.6.10+ds/debian/lib4ti2-0t64.install
--- 4ti2-1.6.10+ds/debian/lib4ti2-0t64.install  1970-01-01 00:00:00.0 
+
+++ 4ti2-1.6.10+ds/debian/lib4ti2-0t64.install  2023-07-15 13:18:30.0 
+
@@ -0,0 +1,2 @@
+usr/lib/*/lib4ti2*.so.*
+usr/lib/*/libzsolve.so.*
diff -Nru 4ti2-1.6.10+ds/debian/lib4ti2-0t64.lintian-overrides 
4ti2-1.6.10+ds/debian/lib4ti2-0t64.lintian-overrides
--- 4ti2-1.6.10+ds/debian/lib4ti2-0t64.lintian-overrides1970-01-01 
00:00:00.0 +
+++ 4ti2-1.6.10+ds/debian/lib4ti2-0t64.lintian-overrides2024-02-28 
00:23:49.0 +
@@ -0,0 +1,6 @@
+# The upstream team manage mathematically impossible intermediate computations
+# with exit(3); this sounds as a clumsy DEBUG policy rather than a design
+# issue, but still an issue that has to be fixed by the upstream team itself:
+# a request was sent to the upstream team -- Jerome Benoit 

+exit-in-shared-library
+lib4ti2-0t64: package-name-doesnt-match-sonames lib4ti2-0


Bug#1061717: 4ti2: NMU diff for 64-bit time_t transition

2024-01-30 Thread Steve Langasek
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.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developer   https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru 4ti2-1.6.10+ds/debian/changelog 4ti2-1.6.10+ds/debian/changelog
--- 4ti2-1.6.10+ds/debian/changelog 2023-07-15 14:23:50.0 +
+++ 4ti2-1.6.10+ds/debian/changelog 2024-01-31 01:24:38.0 +
@@ -1,3 +1,11 @@
+4ti2 (1.6.10+ds-1.1~exp2) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * Fix uninstallable packages from previous upload.
+
+ -- Steve Langasek   Wed, 31 Jan 2024 01:24:38 +
+
 4ti2 (1.6.10+ds-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru 4ti2-1.6.10+ds/debian/control 4ti2-1.6.10+ds/debian/control
--- 4ti2-1.6.10+ds/debian/control   2023-07-15 13:32:01.0 +
+++ 4ti2-1.6.10+ds/debian/control   2024-01-31 01:23:44.0 +
@@ -22,7 +22,7 @@
 
 Package: 4ti2
 Architecture: any
-Depends: lib4ti2-0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: lib4ti2-0t64 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Suggests: 4ti2-doc
 Description: mathematical tool suite for problems on linear spaces -- tools
  4ti2 is a mathematical software package for algebraic, geometric
@@ -30,7 +30,10 @@
  .
  This package provides the 4ti2 tool suite.
 
-Package: lib4ti2-0
+Package: lib4ti2-0t64
+Provides: ${t64:Provides}
+Replaces: lib4ti2-0
+Breaks: lib4ti2-0 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -48,7 +51,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: lib4ti2-0 (= ${binary:Version}), ${devlibs:Depends}, ${misc:Depends}
+Depends: lib4ti2-0t64 (= ${binary:Version}), ${devlibs:Depends}, 
${misc:Depends}
 Breaks: 4ti2 (<< 1.6.9+ds-6)
 Suggests: 4ti2-doc
 Description: mathematical tool suite for problems on linear spaces -- dev
diff -Nru 4ti2-1.6.10+ds/debian/lib4ti2-0.install 
4ti2-1.6.10+ds/debian/lib4ti2-0.install
--- 4ti2-1.6.10+ds/debian/lib4ti2-0.install 2023-07-15 13:18:30.0 
+
+++ 4ti2-1.6.10+ds/debian/lib4ti2-0.install 1970-01-01 00:00:00.0 
+
@@ -1,2 +0,0 @@
-usr/lib/*/lib4ti2*.so.*
-usr/lib/*/libzsolve.so.*
diff -Nru 4ti2-1.6.10+ds/debian/lib4ti2-0.lintian-overrides 
4ti2-1.6.10+ds/debian/lib4ti2-0.lintian-overrides
--- 4ti2-1.6.10+ds/debian/lib4ti2-0.lintian-overrides   2023-07-15 
13:18:30.0 +
+++ 4ti2-1.6.10+ds/debian/lib4ti2-0.lintian-overrides   1970-01-01 
00:00:00.0 +
@@ -1,5 +0,0 @@
-# The upstream team manage mathematically impossible intermediate computations
-# with exit(3); this sounds as a clumsy DEBUG policy rather than a design
-# issue, but still an issue that has to be fixed by the upstream team itself:
-# a request was sent to the upstream team -- Jerome Benoit 

-exit-in-shared-library
diff -Nru 4ti2-1.6.10+ds/debian/lib4ti2-0t64.install 
4ti2-1.6.10+ds/debian/lib4ti2-0t64.install
--- 4ti2-1.6.10+ds/debian/lib4ti2-0t64.install  1970-01-01 00:00:00.0 
+
+++ 4ti2-1.6.10+ds/debian/lib4ti2-0t64.install  2023-07-15 13:18:30.0 
+
@@ -0,0 +1,2 @@
+usr/lib/*/lib4ti2*.so.*
+usr/lib/*/libzsolve.so.*
diff -Nru 4ti2-1.6.10+ds/debian/lib4ti2-0t64.lintian-overrides 
4ti2-1.6.10+ds/debian/lib4ti2-0t64.lintian-overrides
--- 4ti2-1.6.10+ds/debian/lib4ti2-0t64.lintian-overrides1970-01-01 
00:00:00.0 +
+++ 4ti2-1.6.10+ds/debian/lib4ti2-0t64.lintian-overrides2024-01-31 
01:23:44.0 +
@@ -0,0 +1,6 @@
+# The upstream team manage mathematically impossible intermediate computations
+# with exit(3); this sounds as a clumsy DEBUG policy rather than a design
+# issue, but still an issue that has to be fixed by the upstream team itself:
+# a request was sent to the upstream team -- Jerome Benoit 

+exit-in-shared-library
+lib4ti2-0t64: package-name-doesnt-match-sonames lib4ti2-0


signature.asc
Description: PGP signature


Bug#1061717: 4ti2: NMU diff for 64-bit time_t transition

2024-01-28 Thread Steve Langasek
Source: 4ti2
Version: 1.6.10+ds-1.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
4ti2 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 4ti2
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 4ti2-1.6.10+ds/debian/changelog 4ti2-1.6.10+ds/debian/changelog
--- 4ti2-1.6.10+ds/debian/changelog 2023-07-15 14:23:50.0 +
+++ 4ti2-1.6.10+ds/debian/changelog 2024-01-29 03:41:47.0 +
@@ -1,3 +1,10 @@
+4ti2 (1.6.10+ds-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Mon, 29 Jan 2024 03:41:47 +
+
 4ti2 (1.6.10+ds-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru 4ti2-1.6.10+ds/debian/control 4ti2-1.6.10+ds/debian/control
--- 4ti2-1.6.10+ds/debian/control   2023-07-15 13:32:01.0 +
+++ 4ti2-1.6.10+ds/debian/control   2024-01-29 03:41:47.0 +
@@ -30,7 +30,10 @@
  .
  This package provides the 4ti2 tool suite.
 
-Package: lib4ti2-0
+Package: lib4ti2-0t64
+Provides: ${t64:Provides}
+Replaces: lib4ti2-0
+Breaks: lib4ti2-0 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru 4ti2-1.6.10+ds/debian/lib4ti2-0.install 
4ti2-1.6.10+ds/debian/lib4ti2-0.install
--- 4ti2-1.6.10+ds/debian/lib4ti2-0.install 2023-07-15 13:18:30.0 
+
+++ 4ti2-1.6.10+ds/debian/lib4ti2-0.install 1970-01-01 00:00:00.0 
+
@@ -1,2 +0,0 @@
-usr/lib/*/lib4ti2*.so.*
-usr/lib/*/libzsolve.so.*
diff -Nru 4ti2-1.6.10+ds/debian/lib4ti2-0.lintian-overrides 
4ti2-1.6.10+ds/debian/lib4ti2-0.lintian-overrides
--- 4ti2-1.6.10+ds/debian/lib4ti2-0.lintian-overrides   2023-07-15 
13:18:30.0 +
+++ 4ti2-1.6.10+ds/debian/lib4ti2-0.lintian-overrides   1970-01-01 
00:00:00.0 +
@@ -1,5 +0,0 @@
-# The upstream team manage mathematically impossible intermediate computations
-# with exit(3); this sounds as a clumsy DEBUG policy rather than a design
-# issue, but still an issue that has to be fixed by the upstream team itself:
-# a request was sent to the upstream team -- Jerome Benoit 

-exit-in-shared-library
diff -Nru 4ti2-1.6.10+ds/debian/lib4ti2-0t64.install 
4ti2-1.6.10+ds/debian/lib4ti2-0t64.install
--- 4ti2-1.6.10+ds/debian/lib4ti2-0t64.install  1970-01-01 00:00:00.0 
+
+++ 4ti2-1.6.10+ds/debian/lib4ti2-0t64.install  2023-07-15 13:18:30.0 
+
@@ -0,0 +1,2 @@
+usr/lib/*/lib4ti2*.so.*
+usr/lib/*/libzsolve.so.*
diff -Nru 4ti2-1.6.10+ds/debian/lib4ti2-0t64.lintian-overrides 
4ti2-1.6.10+ds/debian/lib4ti2-0t64.lintian-overrides
--- 4ti2-1.6.10+ds/debian/lib4ti2-0t64.lintian-overrides1970-01-01 
00:00:00.0 +
+++ 4ti2-1.6.10+ds/debian/lib4ti2-0t64.lintian-overrides2024-01-29 
03:41:47.0 +
@@ -0,0 +1,6 @@
+# The upstream team manage mathematically impossible intermediate computations
+# with exit(3); this sounds as a clumsy DEBUG policy rather than a design
+# issue, but still an issue that has to be fixed by the upstream team itself:
+# a request was sent to the upstream team -- Jerome Benoit 

+exit-in-shared-library