Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736092 - dev-util/cvise: missing dependency on dev-python/psutil
Summary: dev-util/cvise: missing dependency on dev-python/psutil
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-06 02:15 UTC by Arseny Solokha
Modified: 2020-09-30 07:55 UTC (History)
0 users

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


Attachments
emerge --info (file_736092.txt,4.62 KB, text/plain)
2020-08-06 02:15 UTC, Arseny Solokha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arseny Solokha 2020-08-06 02:15:23 UTC
cvise 1.6.0 fails to run when dev-python/psutil is not installed:

Traceback (most recent call last):
  File "/usr/bin/cvise", line 11, in <module>
    import psutil
ModuleNotFoundError: No module named 'psutil'

This is due to missing dependency on dev-python/psutil. The dependencies are listed in the project documentation[1]. This trivial patch fixes the issue:

--- a/dev-util/cvise/cvise-1.6.0.ebuild
+++ b/dev-util/cvise/cvise-1.6.0.ebuild
@@ -31,6 +31,7 @@ RDEPEND="${DEPEND}
        ${PYTHON_DEPS}
        $(python_gen_cond_dep '
                dev-python/pebble[${PYTHON_USEDEP}]
+               dev-python/psutil[${PYTHON_USEDEP}]
        ')
        dev-util/unifdef
        sys-devel/flex"


[1] https://github.com/marxin/cvise/blob/v1.6.0/INSTALL.md

Reproducible: Always
Comment 1 Arseny Solokha 2020-08-06 02:15:57 UTC
Created attachment 653316 [details]
emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-09-30 07:42:28 UTC
I can reproduce
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-30 07:53:45 UTC
I'm sorry about the delay, this bug happened to fall too far on my todo while it's really trivial to fix.
Comment 4 Larry the Git Cow gentoo-dev 2020-09-30 07:55:15 UTC
The bug has been closed via the following commit(s):

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

commit 2d832974f9ae1ec5393d3737a28a4d58c506e1d7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-09-30 07:54:46 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-09-30 07:55:12 +0000

    dev-util/cvise: Add missing dep on psutil
    
    Closes: https://bugs.gentoo.org/736092
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-util/cvise/{cvise-1.7.0.ebuild => cvise-1.7.0-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)