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

Bug 282930

Summary: dev-python/pygobject-2.18.0 needs pygtk for tests
Product: Gentoo Linux Reporter: Raúl Porcel (RETIRED) <armin76>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Raúl Porcel (RETIRED) gentoo-dev 2009-08-27 16:49:50 UTC
make[2]: Entering directory `/var/tmp/portage/dev-python/pygobject-2.18.0/work/pygobject-2.18.0/tests'
ln -s .libs/testhelper.so testhelper.so

** WARNING: LIBFFI disabled, not testing

Traceback (most recent call last):
  File "./runtests.py", line 45, in <module>
    suite.addTest(loader.loadTestsFromName(name))
  File "/usr/lib/python2.5/unittest.py", line 533, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "../tests/test_subtype.py", line 9, in <module>
    import gtk
ImportError: No module named gtk
make[2]: *** [check-local] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-python/pygobject-2.18.0/work/pygobject-2.18.0/tests'
make[1]: *** [check-am] Error 2


Not sure if previous versions needed as well.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-27 17:05:53 UTC
hum I thought this has been fixed long ago. Anyway we can't just add pygtk to dependencies as it would introduce a circular dependency. We need to see if the test really needs gtk and report upstream.
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2009-08-27 17:12:15 UTC

*** This bug has been marked as a duplicate of bug 199725 ***