From: | "Mike Gilbert (floppym)" <floppym@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/dbus-python/files: dbus-python-1.0.0-test-socket-tmpdir.patch |
Date: | Wed, 29 Feb 2012 16:51:25 |
Message-Id: | 20120229165114.2B1FB2004B@flycatcher.gentoo.org |
1 | floppym 12/02/29 16:51:14 |
2 | |
3 | Added: dbus-python-1.0.0-test-socket-tmpdir.patch |
4 | Log: |
5 | Fix test failure on systems with long values in PORTAGE_TMPDIR. Bug 405985. Thanks to Ian Delaney for reporting here and upstream. |
6 | |
7 | (Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-python/dbus-python/files/dbus-python-1.0.0-test-socket-tmpdir.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dbus-python/files/dbus-python-1.0.0-test-socket-tmpdir.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dbus-python/files/dbus-python-1.0.0-test-socket-tmpdir.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: dbus-python-1.0.0-test-socket-tmpdir.patch |
16 | =================================================================== |
17 | From c53788657c0cfbd038325e690e7097e31f5e8430 Mon Sep 17 00:00:00 2001 |
18 | From: Simon McVittie <simon.mcvittie@××××××××××××.uk> |
19 | Date: Wed, 29 Feb 2012 13:35:24 +0000 |
20 | Subject: Put sockets for the regression tests in /tmp, not ${builddir} |
21 | |
22 | Some automated build systems (naming no Portage) have really long build |
23 | directories, which can cause dbus-python to hit the length limit for Unix |
24 | sockets' names. |
25 | |
26 | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46747 |
27 | Signed-off-by: Simon McVittie <simon.mcvittie@××××××××××××.uk> |
28 | --- |
29 | diff --git a/test/tmp-session-bus.conf.in b/test/tmp-session-bus.conf.in |
30 | index 9d172ff..3a2c756 100644 |
31 | --- a/test/tmp-session-bus.conf.in |
32 | +++ b/test/tmp-session-bus.conf.in |
33 | @@ -4,7 +4,7 @@ |
34 | <busconfig> |
35 | <!-- Our well-known bus type, don't change this --> |
36 | <type>session</type> |
37 | - <listen>unix:tmpdir=@abs_top_builddir@/test</listen> |
38 | + <listen>unix:tmpdir=/tmp</listen> |
39 | |
40 | <servicedir>@abs_top_builddir@/test</servicedir> |
41 | |
42 | -- |
43 | cgit v0.9.0.2-2-gbebe |