Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 288171 Details for
Bug 384853
dev-libs/glib-2.30.0 fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for glib-2.30.0.ebuild to fix tests
glib-2.30.0.ebuild.patch (text/plain), 2.44 KB, created by
Alexandre Rostovtsev (RETIRED)
on 2011-09-29 02:34:08 UTC
(
hide
)
Description:
patch for glib-2.30.0.ebuild to fix tests
Filename:
MIME Type:
Creator:
Alexandre Rostovtsev (RETIRED)
Created:
2011-09-29 02:34:08 UTC
Size:
2.44 KB
patch
obsolete
>--- a/glib-2.30.0.ebuild >+++ b/glib-2.30.0.ebuild >@@ -5,6 +5,7 @@ > EAPI="4" > > inherit autotools gnome.org libtool eutils flag-o-matic multilib pax-utils virtualx >+# Do not inherit python.eclass to avoid python runtime dependency; #377549 > > DESCRIPTION="The GLib library of C routines" > HOMEPAGE="http://www.gtk.org/" >@@ -31,6 +32,7 @@ > ~app-text/docbook-xml-dtd-4.1.2 ) > systemtap? ( >=dev-util/systemtap-1.3 ) > test? ( >+ =dev-lang/python-2* > >=dev-util/gdbus-codegen-2.30.0 > >=sys-apps/dbus-1.2.14 ) > !<dev-util/gtk-doc-1.15-r2" >@@ -77,6 +79,27 @@ > sed -i -e "/desktop-app-info\/fallback/d" gio/tests/desktop-app-info.c || die > sed -i -e "/desktop-app-info\/lastused/d" gio/tests/desktop-app-info.c || die > fi >+ >+ # Disable flaky gdbus/connection/life-cycle test; bug #384853 >+ sed -i -e "/connection\/life-cycle/d" gio/tests/gdbus-connection.c || die >+ >+ # Disable tests requiring dbus-python and pygobject; bugs #349236, #377549, #384853 >+ if ! has_version dev-python/dbus-python || ! has_version 'dev-python/pygobject:2' ; then >+ ewarn "Some tests will be skipped due to dev-python/dbus-python or dev-python/pygobject:2" >+ ewarn "not being present on your system, think on installing them to get these tests run." >+ sed -i -e "/connection\/filter/d" gio/tests/gdbus-connection.c || die >+ sed -i -e "/connection\/large_message/d" gio/tests/gdbus-connection-slow.c || die >+ sed -i -e "/gdbus\/proxy/d" gio/tests/gdbus-proxy.c || die >+ sed -i -e "/gdbus\/proxy-well-known-name/d" gio/tests/gdbus-proxy-well-known-name.c || die >+ sed -i -e "/gdbus\/introspection-parser/d" gio/tests/gdbus-introspection.c || die >+ sed -i -e "/g_test_add_func/d" gio/tests/gdbus-threading.c || die >+ sed -i -e "/gdbus\/method-calls-in-thread/d" gio/tests/gdbus-threading.c || die >+ # needed to prevent gdbus-threading from asserting >+ ln -sfn $(type -P true) gio/tests/gdbus-testserver.py >+ else >+ # use python2 for the test server >+ sed -i -e 's:/usr/bin/env python$:/usr/bin/env python2:' gio/tests/gdbus-testserver.py || die >+ fi > fi > > # gdbus-codegen is a separate package >@@ -85,6 +108,9 @@ > # disable pyc compiling > ln -sfn $(type -P true) py-compile > >+ # python2 needed for gtester-report >+ sed -e 's:/usr/bin/env python$:/usr/bin/env python2:' -i glib/gtester-report || die >+ > # Needed for the punt-python-check patch, disabling timeout test > # Also needed to prevent croscompile failures, see bug #267603 > # Also needed for the no-gdbus-codegen patch
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 384853
:
288135
|
288171
|
288345