Package: openrc,libeinfo1,libeinfo1t64,librc1t64
Version: 0.53-1.1
Severity: serious
Tags: patch
User:
helmutg@debian.org
Usertags: dep17p1 dep17m2
Control: affects -1 librc1
Hi,
I am sending you a patch for moving files to /usr for DEP17, because
doing so requires mitigations due to time64 having renamed libraries. In particular, I verified that libeinfo did not actually break ABI.
Therefore, I am proposing to revert the time64 transition for libeinfo.
As a consequence of the reversion, we need fewer /usr-move mitigations.
We still need the mitigation for librc though. I have set the severity
of this bug to serious to prevent libeinfo1t64 from migrating to trixie.
It should either be reverted before migration or it should not be
reverted. If you disagree with the reversion, please lower the severity
of this bug and I'll send a patch that extends the mitigation to
libeinfo. That said, fewer library renames make upgrades less painful.
I've tested the patch using piuparts and with a manual test case
precisely triggering the DEP17 P1 file loss scenario:
mmdebstrap trixie /dev/null --variant=apt --include librc-dev --customize-hook='echo "deb
http://deb.debian.org/debian sid main" > "$1/etc/apt/sources.list.d/sid.list"' --chrooted-customize-hook="apt-get update" --customize-hook="upload librc1t64_0.53-1.
2_amd64.deb /l.deb" --customize-hook="upload librc-dev_0.53-1.2_amd64.deb /d.deb" --chrooted-customize-hook="dpkg --auto-deconfigure --unpack /l.deb /d.deb; apt-get -y install /l.deb /d.deb" --chrooted-customize-hook="dpkg --verify"
Do note that this patch must not be backported to bookworm-backports or earlier. If you intend to backport, you must revert both this patch and
the time64 transition for your backport.
I recommend uploading this sooner rather than later, because the
reversion helps people who have not yet upgraded libeinfo to unstable.
Helmut
diff -Nru openrc-0.53/debian/changelog openrc-0.53/debian/changelog
--- openrc-0.53/debian/changelog 2024-02-29 13:48:11.000000000 +0100
+++ openrc-0.53/debian/changelog 2024-03-26 15:56:35.000000000 +0100
@@ -1,3 +1,11 @@
+openrc (0.53-1.2) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Revert unnecessary time64 transition for libeinfo
+ * Move files to /usr and mitigate file loss (DEP17) (Closes: #-1).
+
+ -- Helmut Grohne <
helmut@subdivi.de> Tue, 26 Mar 2024 15:56:35 +0100
+
openrc (0.53-1.1) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru openrc-0.53/debian/control openrc-0.53/debian/control
--- openrc-0.53/debian/control 2024-02-29 13:48:11.000000000 +0100
+++ openrc-0.53/debian/control 2024-03-26 15:56:35.000000000 +0100
@@ -47,7 +47,7 @@
Package: librc1t64
Provides: ${t64:Provides}
Replaces: librc1
-Breaks: librc1 (<< ${source:Version})
+Conflicts: librc1 (<< ${source:Version})
Architecture: any
Section: libs
Depends: ${misc:Depends},
@@ -84,10 +84,10 @@
.
This package provides development files fo