Bug#336181: xvfb: xvfb-run breaks for normal-user pbuilder builds
Package: xvfb
Version: 6.8.2.dfsg.1-9
Severity: normal
>From my pbuilder build log for pyopengl:
...
debian/rules build
dh_testdir
xvfb-run -a python2.3 setup.py build
Traceback (most recent call last):
File "setup.py", line 44, in ?
from setup.togl_setup import install, build_togl
File "/tmp/buildd/pyopengl-2.0.1.09/setup/togl_setup.py", line 27, in ?
tk = Tkinter.Tk()
File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1564, in __init__
self.tk = _tkinter.create(screenName, baseName, className)
_tkinter.TclError: couldn't connect to display ":99"
/usr/bin/xvfb-run: line 158: kill: (6372) - No such process
This is with the following lines uncommented in /etc/pbuilderrc:
BUILDUSERID=1234
BUILDUSERNAME=pbuilder
If I comment out these lines again, the build completes successfully.
(It seems that in the normal-user version, the first invocation of
xvfb-run works, but the second time fails -- this is also the case for
libaqbanking, where neither invocation happens under fakeroot.)
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages xvfb depends on:
ii libc6 2.3.5-7 GNU C Library: Shared libraries an
ii libfreetype6 2.1.10-1 FreeType 2 font engine, shared lib
ii libxau6 6.8.2.dfsg.1-9 X Authentication library
ii libxdmcp6 6.8.2.dfsg.1-9 X Display Manager Control Protocol
ii zlib1g 1:1.2.3-6 compression library - runtime
xvfb recommends no packages.
-- no debconf information
Reply to: