Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766806 - net-misc/electrum-4.0.9: incorrect RDEPEND
Summary: net-misc/electrum-4.0.9: incorrect RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-24 05:50 UTC by (kusoneko)
Modified: 2021-01-24 10:15 UTC (History)
3 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 (kusoneko) 2021-01-24 05:50:40 UTC
Attempting to update dev-python/dnspython from 1.16.0-r1 to 2.0.0 fails due to a conflict with the ebuild for electrum-4.0.9:

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

Calculating dependencies... done!
[ebuild   R    ] dev-python/dnspython-1.16.0-r1::gentoo  USE="-examples" PYTHON_TARGETS="python3_7 python3_8 python3_9 (-pypy3)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/dnspython:0

  (dev-python/dnspython-2.0.0:0/0::gentoo, ebuild scheduled for merge) USE="-examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 python3_8 python3_9 (-pypy3)" conflicts with
    <dev-python/dnspython-2[python_targets_python3_7(-),python_targets_python3_8(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] required by (net-misc/electrum-4.0.9:0/0::gentoo, installed) USE="cli ncurses qrcode qt5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 python3_8"
    ^                     ^ 
```

Specifically this line of the RDEPEND array:

`<dev-python/dnspython-2[${PYTHON_USEDEP}]`

The problem is, according to upstream on the commit that marks the 4.0.9 release, the actual requirement is `>=dev-python/dnspython-2*` (see [1]) although if taking into account the latest master release, it appears they have recently narrowed it to `=dev-python/dnspython2.0*` (see [2]) as version 2.1.0 of dnspython pulls in a new dependency that in turns pulls in a ton of new dependencies (see [3]).

[1]: https://github.com/spesmilo/electrum/blob/ae15bccb8192532afc4908b43f68797cd6239fd6/contrib/requirements/requirements.txt#L13
[2]: https://github.com/spesmilo/electrum/blob/master/contrib/requirements/requirements.txt#L13
[3]: https://github.com/spesmilo/electrum/commit/9d1f1e9732891527091a2a00bb9176f2b4ab90d8
Comment 1 Larry the Git Cow gentoo-dev 2021-01-24 10:15:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a4ba79b02f61d0177e5e3bf23c1d14eaa5e992

commit b1a4ba79b02f61d0177e5e3bf23c1d14eaa5e992
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-01-24 09:36:00 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-01-24 10:15:41 +0000

    net-misc/electrum: Update dnspython dep
    
    Closes: https://bugs.gentoo.org/766806
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-misc/electrum/{electrum-4.0.9.ebuild => electrum-4.0.9-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)