GNOME Bugzilla – Bug 613341
pygobject tests seem to require pygtk causing a circular dependencies problem
Last modified: 2010-09-02 11:12:01 UTC
Created attachment 156566 [details] build.log pygobject tests seem to require pygtk to be present as building tests fail with: make[2]: Entering directory `/var/tmp/portage/dev-python/pygobject-2.20.0/work/pygobject-2.20.0-2.6/tests' ln -s .libs/testhelper.so testhelper.so Traceback (most recent call last):
+ Trace 221014
suite.addTest(loader.loadTestsFromName(name))
module = __import__('.'.join(parts_copy))
import gtk
make[2]: *** [check-local] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-python/pygobject-2.20.0/work/pygobject-2.20.0-2.6/tests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-python/pygobject-2.20.0/work/pygobject-2.20.0-2.6/tests' make: *** [check-recursive] Error 1 This would cause a circular dep problem since pygobject would need pygtk while last one already requires pygobject. You can see downstream bug report in: http://bugs.gentoo.org/show_bug.cgi?id=199725 and I have just reproduced this with pygobject-2.20.0 Thanks a lot
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
The problem is that after applying: http://git.gnome.org/browse/pygtk/commit/?id=b7ac3513997ad7c561bb830341e96db1bc9d529a to pygobject-2.20, tests fail to run with: make check-local make[2]: Entering directory `/var/tmp/portage/dev-python/pygobject-2.20.0/work/pygobject-2.20.0-2.6/tests' ln -s .libs/testhelper.so testhelper.so Traceback (most recent call last):
+ Trace 223527
for name in gettestnames():
map(names.remove, SKIP_FILES)
make[2]: *** [check-local] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-python/pygobject-2.20.0/work/pygobject-2.20.0-2.6/tests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-python/pygobject-2.20.0/work/pygobject-2.20.0-2.6/tests' make: *** [check-recursive] Error 1