commit:     5ed5aee16266218857d59f4ac0aea05a635dac9b
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 20 23:35:40 2026 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Jan 20 23:53:41 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ed5aee1

net-p2p/qbittorrent: escalate boost to an RDEPEND so we can slot-rebuild

The reality of the matter is boost gets used header-only via
libtorrent-rasterbar headers, and neither qbittorrent nor
libtorrent-rasterbar link to boost. However, if one of the two is
rebuilt against boost slot updates, but not both, it seems qbittorrent
shall crash.

libtorrent-rasterbar has an rdep, because headers. In theory this could
maybe be "BADEPEND" but those don't exist yet. The slot rebuild is as
old as the git migration. It is therefore impossible to depclean boost
if qbittorrent is installed, so in practice adding boost to RDEPEND of
qbittorrent has no ill effects -- and it does mean we can subscribe to
SLOT rebuilds too.

Closes: https://bugs.gentoo.org/969055
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 .../{qbittorrent-5.0.5.ebuild => qbittorrent-5.0.5-r1.ebuild}       | 6 ++++--
 .../{qbittorrent-5.1.2.ebuild => qbittorrent-5.1.2-r1.ebuild}       | 6 ++++--
 net-p2p/qbittorrent/qbittorrent-9999.ebuild                         | 6 ++++--
 3 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/net-p2p/qbittorrent/qbittorrent-5.0.5.ebuild 
b/net-p2p/qbittorrent/qbittorrent-5.0.5-r1.ebuild
similarity index 94%
rename from net-p2p/qbittorrent/qbittorrent-5.0.5.ebuild
rename to net-p2p/qbittorrent/qbittorrent-5.0.5-r1.ebuild
index 2b6cea7f55de..3d86a1ff5dff 100644
--- a/net-p2p/qbittorrent/qbittorrent-5.0.5.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-5.0.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023-2025 Gentoo Authors
+# Copyright 2023-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,7 +31,10 @@ REQUIRED_USE="
        dbus? ( gui )
 "
 
+# boost is not linked, but we must rebuild when libtorrent-rasterbar does.
+# See bug #969055
 RDEPEND="
+       >=dev-libs/boost-1.76:=
        >=dev-libs/openssl-3.0.2:=
        >=dev-qt/qtbase-6.5:6[network,ssl,sql,sqlite,xml]
        >=net-libs/libtorrent-rasterbar-2.0.10:=
@@ -47,7 +50,6 @@ RDEPEND="
 "
 DEPEND="
        ${RDEPEND}
-       >=dev-libs/boost-1.76
 "
 BDEPEND+="
        >=dev-qt/qttools-6.5:6[linguist]

diff --git a/net-p2p/qbittorrent/qbittorrent-5.1.2.ebuild 
b/net-p2p/qbittorrent/qbittorrent-5.1.2-r1.ebuild
similarity index 94%
rename from net-p2p/qbittorrent/qbittorrent-5.1.2.ebuild
rename to net-p2p/qbittorrent/qbittorrent-5.1.2-r1.ebuild
index 2b6cea7f55de..3d86a1ff5dff 100644
--- a/net-p2p/qbittorrent/qbittorrent-5.1.2.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-5.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023-2025 Gentoo Authors
+# Copyright 2023-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,7 +31,10 @@ REQUIRED_USE="
        dbus? ( gui )
 "
 
+# boost is not linked, but we must rebuild when libtorrent-rasterbar does.
+# See bug #969055
 RDEPEND="
+       >=dev-libs/boost-1.76:=
        >=dev-libs/openssl-3.0.2:=
        >=dev-qt/qtbase-6.5:6[network,ssl,sql,sqlite,xml]
        >=net-libs/libtorrent-rasterbar-2.0.10:=
@@ -47,7 +50,6 @@ RDEPEND="
 "
 DEPEND="
        ${RDEPEND}
-       >=dev-libs/boost-1.76
 "
 BDEPEND+="
        >=dev-qt/qttools-6.5:6[linguist]

diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild 
b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
index f0186470f6cd..b6e4895557b4 100644
--- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023-2025 Gentoo Authors
+# Copyright 2023-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,7 +31,10 @@ REQUIRED_USE="
        dbus? ( gui )
 "
 
+# boost is not linked, but we must rebuild when libtorrent-rasterbar does.
+# See bug #969055
 RDEPEND="
+       >=dev-libs/boost-1.76:=
        >=dev-libs/openssl-3.0.2:=
        >=dev-qt/qtbase-6.5:6[network,ssl,sql,sqlite,xml]
        >=net-libs/libtorrent-rasterbar-2.0.10:=
@@ -47,7 +50,6 @@ RDEPEND="
 "
 DEPEND="
        ${RDEPEND}
-       >=dev-libs/boost-1.76
 "
 BDEPEND+="
        >=dev-qt/qttools-6.5:6[linguist]

Reply via email to