[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debuild + xvfb-run + Eclipse

On Mon, Sep 27, 2010 at 3:30 PM, Kurt Roeckx <kurt@roeckx.be> wrote:
On Mon, Sep 27, 2010 at 02:40:59PM -0400, Josh Kelley wrote:
> I'm trying turn an Eclipse CDT (C/C++ Developer Tools) managed build project
> into a Debian package and am having a lot of trouble.  Since it's a managed
> build project, I can't simply run make.  Eclipse can start a build from the
> command line (as described at
> http://stackoverflow.com/questions/344797/962610#962610), but it apparently
> still requires an X server.  I tried using xvfb-run to accommodate, and I
> simply can't get it to work.  xvfb-run works if I invoke it directly, but
> whenever it's invoked from debuild, Eclipse locks up.  I've tried a few
> different approaches to fixing it:  I tried using -e for xvfb-run to see
> errors, but nothing looked relevant; I tried running xvfb-run from fakeroot,
> to see if fakeroot was the source of the problems, but it worked; I checked
> my environment variables, to see if debuild was stripping something that
> Eclipse + xvfb-run needed, but nothing looked relevant.
> Any suggestions?  Any known issues or gotchas in running xvfb-run from
> debuild?  What's different about debuild spawning xvfb-run versus spawning
> it myself?

Do you also build-depend on xauth?

Yes.  (And xvfb, xbase-clients, and xfonts-base, as instructed by the xvfb-run script.)  It doesn't seem to make any difference.

Josh Kelley

Reply to: