xvfb-run totally broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Karmic |
Fix Released
|
High
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Unassigned |
Bug Description
xvfb-run fails to launch any more on karmic. Reverting the patch from 2:1.6.4-2ubuntu3 fixes the problem. This breaks any tool that uses xvfb-run during its build (like openjdk-6).
impact: tools needing xvfb-run will fail (e.g. openjdk-6 does not perform any testsuite runs)
addressed: refactored to correctly wait for xvfb execution.
patch: see attached
discussion: regression potential is low, since xvfb-run doesn't actually function in karmic.
TEST CASE: the follow command should report "0":
xvfb-run -a -e /dev/null -s "-extension GLX" true; echo $?
ProblemType: Bug
Architecture: amd64
Date: Thu Nov 12 14:02:47 2009
DistroRelease: Ubuntu 10.04
Package: xvfb 2:1.6.4-2ubuntu4
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: xorg-server
Uname: Linux 2.6.31-14-generic x86_64
tags: |
added: karmic regression-release removed: regression-potential |
Changed in xorg-server (Ubuntu Karmic): | |
status: | Confirmed → Fix Committed |
tags: | added: verification-needed |
tags: |
added: verification-done removed: verification-needed |
$ xvfb-run -a -e /dev/stderr -s "-extension GLX" true run.KG5sTU/ Xauthority fonts/X11/ cyrillic, removing from list! fonts/X11/ 100dpi/ :unscaled, removing from list! fonts/X11/ 75dpi/: unscaled, removing from list! fonts/X11/ Type1, removing from list! fonts/X11/ 100dpi, removing from list! fonts/X11/ 75dpi, removing from list!
xauth: creating new authority file /tmp/xvfb-
[dix] Could not init font path element /usr/share/
[dix] Could not init font path element /usr/share/
[dix] Could not init font path element /usr/share/
[dix] Could not init font path element /usr/share/
[dix] Could not init font path element /usr/share/
[dix] Could not init font path element /usr/share/
$ echo $?
1
Expected: run.t1oX3v/ Xauthority fonts/X11/ cyrillic, removing from list! fonts/X11/ 100dpi/ :unscaled, removing from list! fonts/X11/ 75dpi/: unscaled, removing from list! fonts/X11/ Type1, removing from list! fonts/X11/ 100dpi, removing from list! fonts/X11/ 75dpi, removing from list!
$ xvfb-run -a -e /dev/stderr -s "-extension GLX" true
xauth: creating new authority file /tmp/xvfb-
[dix] Could not init font path element /usr/share/
[dix] Could not init font path element /usr/share/
[dix] Could not init font path element /usr/share/
[dix] Could not init font path element /usr/share/
[dix] Could not init font path element /usr/share/
[dix] Could not init font path element /usr/share/
$ echo $?
0