<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] gobject-introspection on package build with webkit2gtk fails without active X session"
   href="https://bugs.webkit.org/show_bug.cgi?id=163105">163105</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[GTK] gobject-introspection on package build with webkit2gtk fails without active X session
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit Gtk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>berto&#64;igalia.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>bugs-noreply&#64;webkitgtk.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm hesitant to consider this a bug in webkit, but here it goes in case you have any thoughts:

Packages built with webkit2gtk fail during the gobject-introspection phase if there's no active X session.

This was reported in the Liferea package:

<a href="https://github.com/lwindolf/liferea/issues/398">https://github.com/lwindolf/liferea/issues/398</a>

It seems that webkit_settings_new() ends up calling XCompositeQueryExtension() (which fails), and this might have been caused by r204013 (Move the redirected XComposite window to the web process), the fix for <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [GTK] Move the redirected XComposite window to the web process"
   href="show_bug.cgi?id=160389">bug 160389</a>

Possible solutions:

- Have a working X session :)
- Use xfvb-run
- Set WEBKIT_DISABLE_COMPOSITING_MODE=1 while running g-ir-scanner</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>