> On Aug 31, 2017, at 22:21, Manjukumar Harthikote Matha <[email protected]> 
> wrote:
> 
> Something in upstream has changed causing DISPLAY variable not being passed 
> from environment. They all fail saying Xvfb is not available. You can see the 
> log.do_configure or log.do_compile

Yocto builds can be run in environment which do not have DISPLAY set. e.g. a 
server, or a docker container. The tools should not expect this variable to be 
set. I had to install Xvfb in my yocto builder docker image and add /usr/bin to 
the PATH env variable at the top of classes/xsct-tc.bbclass since xvfb is not 
provided in the yocto staging sysroot (I don't have X11 in my DISTRO_FEATURES).

Using /usr/bin is not so clean, but building it inside yocto without "x11" in 
DISTRO_FEATURES seemed way more complicated. I figured hacking xsct-tc.bbclass 
was a low-impact compromise. Has been working great in my production 
environment for months now. I've submitted the patch in the past but it was 
deferred for obvious reasons.

The problem is not going to go away so this may be the time to reconsider my 
previous patch. 
https://www.mail-archive.com/[email protected]/msg01662.html

Cheers!

-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to