<html>
    <head>
      <base href="https://bugs.freedesktop.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 - Build fails if building against X server/libxrandr with no leases support"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107170">107170</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Build fails if building against X server/libxrandr with no leases support
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>network723@rkmail.ru
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>With recent Mesa-git versions build fails when building against X.Org 1.18.3
and libXrandr 1.5.0

[  204s]   CC       util/vk_enum_to_str.lo
[  204s] wsi/wsi_common_display.c: In function 'wsi_acquire_xlib_display':
[  204s] wsi/wsi_common_display.c:2164:4: error: unknown type name
'xcb_randr_lease_t'
[  204s]     xcb_randr_lease_t lease = xcb_generate_id(connection);
[  204s]     ^
[  204s] wsi/wsi_common_display.c:2165:4: error: unknown type name
'xcb_randr_create_lease_cookie_t'
[  204s]     xcb_randr_create_lease_cookie_t cl_c =
[  204s]     ^
[  204s] wsi/wsi_common_display.c:2166:7: error: implicit declaration of
function 'xcb_randr_create_lease' [-Werror=implicit-function-declaration]
[  204s]        xcb_randr_create_lease(connection, root, lease, 1, 1,
[  204s]        ^
[  204s] wsi/wsi_common_display.c:2168:4: error: unknown type name
'xcb_randr_create_lease_reply_t'
[  204s]     xcb_randr_create_lease_reply_t *cl_r =
[  204s]     ^
[  204s] wsi/wsi_common_display.c:2169:7: error: implicit declaration of
function 'xcb_randr_create_lease_reply' [-Werror=implicit-function-declaration]
[  204s]        xcb_randr_create_lease_reply(connection, cl_c, NULL);
[  204s]        ^
[  204s] wsi/wsi_common_display.c:2169:7: warning: initialization makes pointer
from integer without a cast [enabled by default]
[  204s] wsi/wsi_common_display.c:2174:12: error: request for member 'nfd' in
something not a structure or union
[  204s]     if (cl_r->nfd > 0) {
[  204s]             ^
[  204s] wsi/wsi_common_display.c:2175:7: error: implicit declaration of
function 'xcb_randr_create_lease_reply_fds'
[-Werror=implicit-function-declaration]
[  204s]        int *rcl_f = xcb_randr_create_lease_reply_fds(connection,
cl_r);
[  204s]        ^
[  204s] wsi/wsi_common_display.c:2175:20: warning: initialization makes
pointer from integer without a cast [enabled by default]
[  204s]        int *rcl_f = xcb_randr_create_lease_reply_fds(connection,
cl_r);
[  204s]                     ^
[  204s] cc1: some warnings being treated as errors
[  204s] Makefile:736: recipe for target 'wsi/wsi_common_display.lo' failed
[  204s] make[3]: *** [wsi/wsi_common_display.lo] Error 1</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>