Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 831068

Summary: net-misc/modemmanager-1.18.4: missing some test deps
Product: Gentoo Linux Reporter: Georgy Yakovlev <gyakovlev>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: ago
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/main/tools/test-modemmanager-service.py
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 831048    

Description Georgy Yakovlev archtester gentoo-dev 2022-01-12 09:53:38 UTC
Traceback (most recent call last):
  File "/var/tmp/portage/net-misc/modemmanager-1.18.4/work/ModemManager-1.18.4/tools/test-modemmanager-service.py", line 6, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'

 File "/var/tmp/portage/net-misc/modemmanager-1.18.4/work/ModemManager-1.18.4/tools/test-modemmanager-service.py", line 11, in <module>                                                                                                                       
    import dbus                                                                                                                                                                                                                                                
ModuleNotFoundError: No module named 'dbus' 

modemmanager seems to be missing  test bdepend

on dev-python/pygobject and dev-python/dbus-python 

with it installed tests pass fine even on ppc64be


but looks like ebuild needs python-any-r1 thingie and testdeps on those packages.
Comment 1 Larry the Git Cow gentoo-dev 2022-01-13 06:58:42 UTC
The bug has been closed via the following commit(s):

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

commit 8f5680914a19b6f8ffdd6e3f6263de1eb1a1cbda
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-01-13 06:56:34 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-01-13 06:58:33 +0000

    net-misc/modemmanager: Add missing test deps
    
    Closes: https://bugs.gentoo.org/831068
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 net-misc/modemmanager/modemmanager-1.18.4.ebuild | 26 +++++++++++++++++++-----
 1 file changed, 21 insertions(+), 5 deletions(-)
Comment 2 Matt Turner gentoo-dev 2022-04-17 06:31:32 UTC
*** Bug 783975 has been marked as a duplicate of this bug. ***