Bug#1062223: libapreq2: NMU diff for 64-bit time_t transition
Source: libapreq2
Version: 2.17-3
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-arm@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
libapreq2 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 libapreq2
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'), (500, 'testing'), (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 libapreq2-2.17/debian/changelog libapreq2-2.17/debian/changelog
--- libapreq2-2.17/debian/changelog 2023-06-11 16:37:44.000000000 +0000
+++ libapreq2-2.17/debian/changelog 2024-01-31 19:44:03.000000000 +0000
@@ -1,3 +1,10 @@
+libapreq2 (2.17-3.1) experimental; urgency=medium
+
+ * Non-maintainer upload.
+ * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vorlon@debian.org> Wed, 31 Jan 2024 19:44:03 +0000
+
libapreq2 (2.17-3) unstable; urgency=medium
* QA upload.
diff -Nru libapreq2-2.17/debian/control libapreq2-2.17/debian/control
--- libapreq2-2.17/debian/control 2023-06-10 17:07:50.000000000 +0000
+++ libapreq2-2.17/debian/control 2024-01-31 19:44:03.000000000 +0000
@@ -18,7 +18,7 @@
Package: libapache2-mod-apreq2
Architecture: any
Section: httpd
-Depends: libapreq2-3 (= ${binary:Version}),
+Depends: libapreq2-3t64 (= ${binary:Version}),
${shlibs:Depends},
${misc:Depends}
Description: generic Apache request library - Apache module
@@ -32,7 +32,10 @@
.
This package contains the Apache module itself.
-Package: libapreq2-3
+Package: libapreq2-3t64
+Provides: ${t64:Provides}
+Replaces: libapreq2-3
+Breaks: libapreq2-3 (<< ${source:Version})
Architecture: any
Section: libs
Depends: ${shlibs:Depends},
@@ -52,7 +55,7 @@
Package: libapreq2-dev
Architecture: any
Section: libdevel
-Depends: libapreq2-3 (= ${binary:Version}),
+Depends: libapreq2-3t64 (= ${binary:Version}),
libapr1-dev,
${misc:Depends}
Recommends: libapreq2-doc
@@ -86,7 +89,7 @@
Package: libapache2-request-perl
Architecture: any
-Depends: libapreq2-3 (= ${binary:Version}),
+Depends: libapreq2-3t64 (= ${binary:Version}),
libapache2-mod-apreq2 (= ${binary:Version}),
libapache2-mod-perl2,
${perl:Depends},
diff -Nru libapreq2-2.17/debian/libapreq2-3.files libapreq2-2.17/debian/libapreq2-3.files
--- libapreq2-2.17/debian/libapreq2-3.files 2023-06-10 09:22:23.000000000 +0000
+++ libapreq2-2.17/debian/libapreq2-3.files 1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/bin/apreq2-config
-
diff -Nru libapreq2-2.17/debian/libapreq2-3.install libapreq2-2.17/debian/libapreq2-3.install
--- libapreq2-2.17/debian/libapreq2-3.install 2023-06-10 09:22:23.000000000 +0000
+++ libapreq2-2.17/debian/libapreq2-3.install 1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libapreq2.so.*
diff -Nru libapreq2-2.17/debian/libapreq2-3.lintian-overrides libapreq2-2.17/debian/libapreq2-3.lintian-overrides
--- libapreq2-2.17/debian/libapreq2-3.lintian-overrides 2023-06-10 15:32:26.000000000 +0000
+++ libapreq2-2.17/debian/libapreq2-3.lintian-overrides 1970-01-01 00:00:00.000000000 +0000
@@ -1,6 +0,0 @@
-# Cannot easily be fixed
-hardening-no-fortify-functions [*]
-
-# dh_makeshlibs -V is used
-no-symbols-control-file *
-
diff -Nru libapreq2-2.17/debian/libapreq2-3t64.files libapreq2-2.17/debian/libapreq2-3t64.files
--- libapreq2-2.17/debian/libapreq2-3t64.files 1970-01-01 00:00:00.000000000 +0000
+++ libapreq2-2.17/debian/libapreq2-3t64.files 2023-06-10 09:22:23.000000000 +0000
@@ -0,0 +1,2 @@
+usr/bin/apreq2-config
+
diff -Nru libapreq2-2.17/debian/libapreq2-3t64.install libapreq2-2.17/debian/libapreq2-3t64.install
--- libapreq2-2.17/debian/libapreq2-3t64.install 1970-01-01 00:00:00.000000000 +0000
+++ libapreq2-2.17/debian/libapreq2-3t64.install 2023-06-10 09:22:23.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libapreq2.so.*
diff -Nru libapreq2-2.17/debian/libapreq2-3t64.lintian-overrides libapreq2-2.17/debian/libapreq2-3t64.lintian-overrides
--- libapreq2-2.17/debian/libapreq2-3t64.lintian-overrides 1970-01-01 00:00:00.000000000 +0000
+++ libapreq2-2.17/debian/libapreq2-3t64.lintian-overrides 2024-01-31 19:44:03.000000000 +0000
@@ -0,0 +1,7 @@
+# Cannot easily be fixed
+hardening-no-fortify-functions [*]
+
+# dh_makeshlibs -V is used
+no-symbols-control-file *
+
+libapreq2-3t64: package-name-doesnt-match-sonames libapreq2-3
Reply to: