Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349236 - [FEATURES=test] dev-libs/glib-2.26.1 tests fail without dev-python/dbus-python
Summary: [FEATURES=test] dev-libs/glib-2.26.1 tests fail without dev-python/dbus-python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Lowest normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: TESTFAILURE
: 356767 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-20 22:51 UTC by Mart Raudsepp
Modified: 2011-06-06 16:00 UTC (History)
2 users (show)

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 Mart Raudsepp gentoo-dev 2010-12-20 22:51:58 UTC
dev-libs/glib-2.26.x needs to either depend on dbus-python with USE=test, or skip the test non-fatal if dbus-python isn't available. The former would lead to a circular dependency right now though (as it depends on dbus-glib, but that would probably eventually go away in favor of gdbus being tested here, but not solve circular then...)

PASS: socket
TEST: gdbus-connection... (pid=18254)
  /gdbus/connection/basic:                                             OK
  /gdbus/connection/life-cycle:                                        OK
  /gdbus/connection/send:                                              OK
  /gdbus/connection/signals:                                           OK
  /gdbus/connection/filter:                                            Traceback (most recent call last):
  File "./gdbus-testserver.py", line 6, in <module>
    import dbus
ImportError: No module named dbus
Timeout waiting 30 sec on service
**
ERROR:gdbus-connection.c:826:test_connection_filter_on_timeout: code should not be reached
cleaning up bus with pid 18284
FAIL
GTester: last random seed: R02S5afcea46d559ab3f2f36c546047ab7e0
/bin/sh: line 1: 16677 Terminated              MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) ../../glib/gtester --verbose memory-input-stream memory-output-stream readwrite g-file g-file-info converter-stream data-input-stream data-output-stream g-icon buffered-input-stream buffered-output-stream sleepy-stream filter-streams volumemonitor simple-async-result srvtarget contexts gsettings gschema-compile async-close-output-stream gdbus-addresses network-address gdbus-message socket gdbus-connection gdbus-connection-slow gdbus-names gdbus-proxy gdbus-proxy-well-known-name gdbus-introspection gdbus-threading gdbus-export gdbus-error gdbus-peer gdbus-exit-on-close gdbus-non-socket gdbus-bz627724 appinfo contenttype file live-g-file desktop-app-info unix-fd unix-streams gdbus-serialization
make[4]: *** [test-nonrecursive] Error 143
make[4]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.26.1/work/glib-2.26.1/gio/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.26.1/work/glib-2.26.1/gio/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.26.1/work/glib-2.26.1/gio'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.26.1/work/glib-2.26.1/gio'
make: *** [check-recursive] Error 1
emake failed
 * ERROR: dev-libs/glib-2.26.1 failed:
 *   tests failed
Comment 1 Pacho Ramos gentoo-dev 2011-01-17 16:01:06 UTC
These tests could be affected by this, no?

$ grep -r gdbus-testserver.py *
Makefile.am:	gdbus-testserver.py
Makefile.in:	gdbus-testserver.py
gdbus-connection-slow.c:  g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver.py", NULL));
gdbus-connection.c:  g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver.py", NULL));
gdbus-introspection.c:  g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver.py", NULL));
gdbus-proxy-well-known-name.c:  g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver.py", NULL));
gdbus-proxy-well-known-name.c:  g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver.py", NULL));
gdbus-proxy.c:  /* Deliberately different from gdbus-testserver.py's definition */
gdbus-proxy.c:  g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver.py", NULL));
gdbus-threading.c:  g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver.py", NULL));
Comment 2 Pacho Ramos gentoo-dev 2011-02-28 08:21:22 UTC
*** Bug 356767 has been marked as a duplicate of this bug. ***
Comment 3 Pacho Ramos gentoo-dev 2011-06-06 16:00:02 UTC
+*glib-2.28.8 (06 Jun 2011)
+
+  06 Jun 2011; Pacho Ramos <pacho@gentoo.org> +glib-2.28.8.ebuild:
+  Version bump, also skip tests requiring dev-python/dbus-python and
+  dev-util/desktop-file-utils when they are not available as cannot DEPEND on
+  them due circular dependencies problem (bugs #286629 and #349236).
+