Gentoo Archives: gentoo-commits

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
floppym     12/02/29 16:51:14

  Added:                dbus-python-1.0.0-test-socket-tmpdir.patch
  Fix test failure on systems with long values in PORTAGE_TMPDIR. Bug 405985. Thanks to Ian Delaney for reporting here and upstream.
  (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-python/dbus-python/files/dbus-python-1.0.0-test-socket-tmpdir.patch

file :

Index: dbus-python-1.0.0-test-socket-tmpdir.patch
From c53788657c0cfbd038325e690e7097e31f5e8430 Mon Sep 17 00:00:00 2001
From: Simon McVittie <simon.mcvittie@××××××××××××.uk>
Date: Wed, 29 Feb 2012 13:35:24 +0000
Subject: Put sockets for the regression tests in /tmp, not ${builddir}

Some automated build systems (naming no Portage) have really long build
directories, which can cause dbus-python to hit the length limit for Unix
sockets' names.

Signed-off-by: Simon McVittie <simon.mcvittie@××××××××××××.uk>
diff --git a/test/ b/test/
index 9d172ff..3a2c756 100644
--- a/test/
+++ b/test/
@@ -4,7 +4,7 @@
   <!-- Our well-known bus type, don't change this -->
-  <listen>unix:tmpdir=@abs_top_builddir@/test</listen>
+  <listen>unix:tmpdir=/tmp</listen>
cgit v0.9.0.2-2-gbebe