Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405985 - dev-python/dbus-python-1.0.0 suffers a test failure
Summary: dev-python/dbus-python-1.0.0 suffers a test failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2012-02-27 07:18 UTC by Ian Delaney (RETIRED)
Modified: 2012-02-29 16:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
the build log (20120227-070908.log,183.20 KB, text/plain)
2012-02-27 07:18 UTC, Ian Delaney (RETIRED)
Details
ebuild patch (dbus-python.patch,632 bytes, patch)
2012-02-29 07:54 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-02-27 07:18:24 UTC
Created attachment 303453 [details]
the build log

Testing package for stable req.  Fails 1 test.

make[2]: Entering directory `/mnt/gen2/TmpDir/portage/dev-python/dbus-python-1.0.0/work/dbus-python-1.0.0-2.6/test'
Running dbus-launch --sh-syntax --config-file=/mnt/gen2/TmpDir/portage/dev-python/dbus-python-1.0.0/work/dbus-python-1.0.0-2.6/test/tmp-session-bus.conf

Failed to start message bus: Abstract socket name too long

grief.
Comment 1 Mike Gilbert gentoo-dev 2012-02-29 06:22:47 UTC
As discussed in irc, this is sensitive to the length of PORTAGE_TMPDIR + the package name, etc. since dbus-launch creates a unix socket. If we go over 108 characters, we're hosed.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-02-29 06:40:02 UTC
The name of the socket is appended to $PORTAGE_TMPDIR.  Mine is three folders. not two.  export PORTAGE_TMPDIR="tmp' and it passed.
grief.  Making a fix for this may amount to scanning $PORTAGE_TMPDIR for its length or number of folders and make an ewarn msg if it's too long.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-02-29 07:54:08 UTC
Created attachment 303693 [details, diff]
ebuild patch

This will do it.
Comment 4 Mike Gilbert gentoo-dev 2012-02-29 16:52:54 UTC
I grabbed the patch from upstream, which moves the socket to /tmp. Thanks Ian.