Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118688 - dev-python/gnome-python-2.12.1 fails test phase
Summary: dev-python/gnome-python-2.12.1 fails test phase
Status: RESOLVED DUPLICATE of bug 69343
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-11 11:55 UTC by Sandro Bonazzola (RETIRED)
Modified: 2006-01-11 13:26 UTC (History)
0 users

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 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-11 11:55:06 UTC
It seems that make check requires an X server running.

>>> Test phase [check]: dev-python/gnome-python-2.12.1
Making check in gnome
make[1]: Entering directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/gnome'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/gnome'
Making check in bonobo
make[1]: Entering directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/bonobo'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/bonobo'
Making check in gconf
make[1]: Entering directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/gconf'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/gconf'
Making check in gnomevfs
make[1]: Entering directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/gnomevfs'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/gnomevfs'
Making check in gnomecanvas
make[1]: Entering directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/gnomecanvas'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/gnomecanvas'
Making check in tests
make[1]: Entering directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/tests'
make  check-local
make[2]: Entering directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/tests'
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Traceback (most recent call last):
  File "./runtests.py", line 22, in ?
    suite.addTest(loader.loadTestsFromName(name))
  File "/usr/lib64/python2.4/unittest.py", line 524, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "/usr/lib64/python2.4/ihooks.py", line 404, in import_module
    q, tail = self.find_head_package(parent, str(name))
  File "/usr/lib64/python2.4/ihooks.py", line 440, in find_head_package
    q = self.import_it(head, qname, parent)
  File "/usr/lib64/python2.4/ihooks.py", line 495, in import_it
    m = self.loader.load_module(fqname, stuff)
  File "/usr/lib64/python2.4/ihooks.py", line 270, in load_module
    m = self.hooks.load_source(name, filename, file)
  File "/usr/lib64/python2.4/ihooks.py", line 168, in load_source
    return imp.load_source(name, filename, file)
  File "/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/tests/testgnome.py", line 3, in ?
    import common
  File "/usr/lib64/python2.4/ihooks.py", line 404, in import_module
    q, tail = self.find_head_package(parent, str(name))
  File "/usr/lib64/python2.4/ihooks.py", line 440, in find_head_package
    q = self.import_it(head, qname, parent)
  File "/usr/lib64/python2.4/ihooks.py", line 495, in import_it
    m = self.loader.load_module(fqname, stuff)
  File "/usr/lib64/python2.4/ihooks.py", line 270, in load_module
    m = self.hooks.load_source(name, filename, file)
  File "/usr/lib64/python2.4/ihooks.py", line 168, in load_source
    return imp.load_source(name, filename, file)
  File "/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/tests/common.py", line 10, in ?
    import bonobo.ui
  File "/usr/lib64/python2.4/ihooks.py", line 405, in import_module
    m = self.load_tail(q, tail)
  File "/usr/lib64/python2.4/ihooks.py", line 456, in load_tail
    m = self.import_it(head, mname, m)
  File "/usr/lib64/python2.4/ihooks.py", line 495, in import_it
    m = self.loader.load_module(fqname, stuff)
  File "/usr/lib64/python2.4/ihooks.py", line 268, in load_module
    m = self.hooks.load_dynamic(name, filename, file)
  File "/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/tests/ltihooks.py", line 50, in load_dynamic
    return ihooks.Hooks.load_dynamic(self, name, filename, file)
  File "/usr/lib64/python2.4/ihooks.py", line 172, in load_dynamic
    return imp.load_dynamic(name, filename, file)
ImportError: could not import gtk._gtk
make[2]: *** [check-local] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/gnome-python-2.12.1/work/gnome-python-2.12.1/tests'
make: *** [check-recursive] Error 1
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-11 13:26:45 UTC

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