Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 819900 - net-p2p/qbittorrent and net-p2p/deluge trigger net-libs/libtorrent-rasterbar slot conflict
Summary: net-p2p/qbittorrent and net-p2p/deluge trigger net-libs/libtorrent-rasterbar ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-23 22:28 UTC by Optimus
Modified: 2021-10-24 08:21 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Optimus 2021-10-23 22:28:43 UTC
Emergeing net-p2p/deluge after net-p2p/qbittorrent trigger same slot conflict

With net-p2p/qbittorent emerged:

# emerge -p deluge

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] acct-group/deluge-0-r1::gentoo  0 KiB
[ebuild  N     ] acct-user/deluge-0-r1::gentoo  0 KiB
[ebuild     UD~] net-libs/libtorrent-rasterbar-1.2.12-r1:0/10::gentoo [2.0.4-r2:0/2.0::gentoo] USE="dht python ssl -debug -doc% -examples% -static-libs% -test (-gnutls%)" PYTHON_SINGLE_TARGET="(-python3_8%) (-python3_9%*)" PYTHON_TARGETS="python3_9%* -python3_8%" 3520 KiB
[ebuild  N     ] dev-python/chardet-4.0.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild  N     ] dev-python/rencode-1.0.6-r2::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 25 KiB
[ebuild  N     ] dev-python/setproctitle-1.2.2::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 24 KiB
[ebuild  N     ] dev-python/wheel-0.37.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 67 KiB
[ebuild  N     ] dev-python/namespace-zope-1-r1::gentoo  PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild  N     ] dev-python/constantly-15.1.0-r1::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 40 KiB
[ebuild  N     ] dev-python/hyperlink-21.0.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 138 KiB
[ebuild  N     ] dev-python/pyhamcrest-2.0.2::gentoo  USE="-doc -examples -test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 55 KiB
[ebuild  N     ] dev-python/typing-extensions-3.10.0.0::gentoo  PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 45 KiB
[ebuild  N     ] dev-python/click-8.0.1::gentoo  USE="-doc -examples -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 324 KiB
[ebuild  N     ] dev-python/mistune-0.8.4-r1::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 57 KiB
[ebuild  N     ] dev-python/zope-interface-5.4.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 244 KiB
[ebuild  N     ] dev-python/incremental-21.3.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 17 KiB
[ebuild  N     ] dev-python/m2r-0.2.1::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 24 KiB
[ebuild  N     ] dev-python/attrs-21.2.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 181 KiB
[ebuild  N     ] dev-python/automat-20.2.0::gentoo  USE="-examples -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 61 KiB
[ebuild  N     ] dev-python/service_identity-21.1.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 35 KiB
[ebuild  N     ] dev-python/twisted-21.7.0::gentoo  USE="crypt -conch -http2 -serial -test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 3805 KiB
[ebuild  N     ] net-p2p/deluge-2.0.3-r10::gentoo  USE="gtk libnotify -console -geoip -sound -webinterface" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 1736 KiB

Total: 22 packages (1 downgrade, 21 new), Size of downloads: 10391 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

net-libs/libtorrent-rasterbar:0

  (net-libs/libtorrent-rasterbar-1.2.12-r1:0/10::gentoo, ebuild scheduled for merge) USE="dht python ssl -debug -doc -examples -static-libs -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -python3_8" pulled in by
    <net-libs/libtorrent-rasterbar-2.0.0[python,python_targets_python3_9(-)] required by (net-p2p/deluge-2.0.3-r10:0/0::gentoo, ebuild scheduled for merge) USE="gtk libnotify -console -geoip -sound -webinterface" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
    ^                              ^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                         

  (net-libs/libtorrent-rasterbar-2.0.4-r2:0/2.0::gentoo, installed) USE="dht python ssl -debug -gnutls -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_8" pulled in by
    >=net-libs/libtorrent-rasterbar-1.2.12:0/2.0= required by (net-p2p/qbittorrent-4.3.8:0/0::gentoo, installed) USE="X dbus -debug -webui" ABI_X86="(64)"
                                          ^^^^^^^                                                                                                                                                                                                                                            


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by net-p2p/qbittorrent-4.3.8::gentoo
# required by @selected
# required by @world (argument)
=net-libs/libtorrent-rasterbar-1.2.12-r1 ~amd64

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.

Without net-p2p/qbittorrent emerged:

# emerge -p deluge

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] acct-group/deluge-0-r1::gentoo  0 KiB
[ebuild  N     ] dev-python/chardet-4.0.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild  N     ] dev-python/rencode-1.0.6-r2::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 25 KiB
[ebuild  N     ] dev-python/setproctitle-1.2.2::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 24 KiB
[ebuild  N     ] net-libs/libtorrent-rasterbar-1.2.11-r1:0/10::gentoo  USE="dht python ssl -debug -doc -examples -static-libs -test" PYTHON_TARGETS="python3_9 -python3_8" 3508 KiB
[ebuild  N     ] dev-python/wheel-0.37.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 67 KiB
[ebuild  N     ] acct-user/deluge-0-r1::gentoo  0 KiB
[ebuild  N     ] dev-python/namespace-zope-1-r1::gentoo  PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild  N     ] dev-python/constantly-15.1.0-r1::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 40 KiB
[ebuild  N     ] dev-python/hyperlink-21.0.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 138 KiB
[ebuild  N     ] dev-python/pyhamcrest-2.0.2::gentoo  USE="-doc -examples -test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 55 KiB
[ebuild  N     ] dev-python/typing-extensions-3.10.0.0::gentoo  PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 45 KiB
[ebuild  N     ] dev-python/click-8.0.1::gentoo  USE="-doc -examples -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 324 KiB
[ebuild  N     ] dev-python/mistune-0.8.4-r1::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 57 KiB
[ebuild  N     ] dev-python/zope-interface-5.4.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 244 KiB
[ebuild  N     ] dev-python/incremental-21.3.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 17 KiB
[ebuild  N     ] dev-python/m2r-0.2.1::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 24 KiB
[ebuild  N     ] dev-python/attrs-21.2.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 181 KiB
[ebuild  N     ] dev-python/automat-20.2.0::gentoo  USE="-examples -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 61 KiB
[ebuild  N     ] dev-python/service_identity-21.1.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 35 KiB
[ebuild  N     ] dev-python/twisted-21.7.0::gentoo  USE="crypt -conch -http2 -serial -test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 3805 KiB
[ebuild  N     ] net-p2p/deluge-2.0.3-r10::gentoo  USE="gtk libnotify -console -geoip -sound -webinterface" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 1736 KiB

Total: 22 packages (22 new), Size of downloads: 10379 KiB

net-p2p/qbittorrent dependencies:

# emerge -p qbittorrent              

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] net-libs/libtorrent-rasterbar-2.0.4-r2:0/2.0::gentoo  USE="dht python ssl -debug -gnutls -test" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 4211 KiB
[ebuild  N     ] dev-libs/geoip-1.6.12::gentoo  USE="-static-libs" 158 KiB
[ebuild  N     ] net-p2p/qbittorrent-4.3.8::gentoo  USE="X dbus -debug -webui" 8307 KiB

Total: 3 packages (3 new), Size of downloads: 12675 KiB
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-23 23:15:21 UTC
Deluge genuinely needs an older version of rasterbar and I don’t think it’s possible to satisfy both qbittorrent and deluge’a requirements simultaneously.
Comment 2 Optimus 2021-10-23 23:25:03 UTC
(In reply to Sam James from comment #1)
> Deluge genuinely needs an older version of rasterbar and I don’t think it’s
> possible to satisfy both qbittorrent and deluge’a requirements
> simultaneously.

So maybe we need different slots for net-libs/libtorrent-rasterbar? First for  net-libs/libtorrent-rasterbar-1.XX.XX and second for net-libs/libtorrent-rasterbar-2.XX.XX?
Comment 3 Optimus 2021-10-23 23:50:45 UTC
Looks like we are already have subslots in libtorrent-rasterbar, 1.2.XX have SLOT="0/10" and 2.0.XX SLOT="0/2.0".

qbittorrent ebuild has too wild mask in dependency   

>=net-libs/libtorrent-rasterbar-1.2.12:0= 

and deluge hasn't slot in dependency at all

net-libs/libtorrent-rasterbar[python,${PYTHON_USEDEP}]
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-24 03:27:01 UTC
(In reply to Optimus from comment #3)
> Looks like we are already have subslots in libtorrent-rasterbar, 1.2.XX have
> SLOT="0/10" and 2.0.XX SLOT="0/2.0".
> 

Yeah, subslots are in use here. But there's no reason to believe that this package can be installed in _parallel_ safely.

> qbittorrent ebuild has too wild mask in dependency   
> 
> >=net-libs/libtorrent-rasterbar-1.2.12:0= 
> 

This is fine, because qbittorrent works with newer versions AFAIK.

> and deluge hasn't slot in dependency at all
> 
> net-libs/libtorrent-rasterbar[python,${PYTHON_USEDEP}]

This is fine, it does have a < dep though in newer versions?