Bug#839397: libwebkit2gtk-4.0-37: gobject-introspection on package build with webkit2gtk fails without active X session

Alberto Garcia berto at igalia.com
Fri Oct 7 10:44:19 UTC 2016


Control: forwarded -1 https://bugs.webkit.org/show_bug.cgi?id=163105

On Sat, Oct 01, 2016 at 02:42:55PM +0200, Paul Gevers wrote:

> In a last attempt to figure out what was going on, I build the
> package in my normal (stretch) environment, where the build fails
> latter on something else. This leads me to think that apperently a
> working X session is required. (I may be wrong).

Hey,

first of all, sorry for the late reply!

Yes, it seems that the webkit_settings_new() call in liferea checks
whether XComposite is enabled, and that fails if there's no X Session.

I'm not sure if this is a webkit bug, but I reported it upstream
anyway.

Possible solutions if you don't want to have a full-featured X
session:

- Run g-ir-scanner with xvfb-run
- Set the environment variable WEBKIT_DISABLE_COMPOSITING_MODE=1 when
  running g-ir-scanner

The latter is probably the easiest option.

Berto



More information about the Pkg-webkit-maintainers mailing list