[neon/kde/kdecoration/Neon/unstable] debian: break the old private versions

Harald Sitter null at kde.org
Wed Jun 2 15:25:20 BST 2021


Git commit 8dd7c414571c0346c8f5c55d7eb582f9631a1e60 by Harald Sitter.
Committed on 02/06/2021 at 10:08.
Pushed by sitter into branch 'Neon/unstable'.

break the old private versions

the way we handled transitioning is entirely garbage.
if libkdecorations2private(N-1) and libkdecorations2privateN are
installed
at the same then clearly one of the dependees of the private ABI has not
been rebuilt yet. so we must have the new lib break the old lib to force
its removal (or the upgrade getting held) otherwise the system is only
half transitoned and falls into ABI holes

e.g. bug 437975 which I'm sure is happening because the gtk style thing
hadn't been rebuilt for the new ABI and thus getting a nullptr where it
should be getting something meaningful. and the only reason that went by
undetected is because the system is perfectly happy with v8 and v9 being
installed at the same time. them being private ABI we cannot allow this,
ever, on principal. it will lead to situations where a dependee wants
private8 but the library wants private9 when that situations is allowed
we now have to different versions of the same library loaded.

M  +5    -8    debian/control

https://invent.kde.org/neon/kde/kdecoration/commit/8dd7c414571c0346c8f5c55d7eb582f9631a1e60

diff --git a/debian/control b/debian/control
index eb787fd..c7b16e0 100644
--- a/debian/control
+++ b/debian/control
@@ -56,14 +56,11 @@ Package: libkdecorations2private9
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
-Breaks: kwin-common (<< 4:5.20.90),
-        kwin-wayland (<< 4:5.20.90),
-        kwin-wayland-backend-drm (<< 4:5.20.90),
-        kwin-wayland-backend-fbdev (<< 4:5.20.90),
-        kwin-wayland-backend-virtual (<< 4:5.20.90),
-        kwin-wayland-backend-wayland (<< 4:5.20.90),
-        kwin-wayland-backend-x11 (<< 4:5.20.90),
-        kwin-x11 (<< 4:5.20.90)
+Breaks: libkdecorations2private5,
+        libkdecorations2private5v5,
+        libkdecorations2private6,
+        libkdecorations2private7,
+        libkdecorations2private8
 Replaces: libkdecorations2private5,
           libkdecorations2private5v5,
           libkdecorations2private6,


More information about the Neon-commits mailing list