[Xcb] Bug#788232: /usr/include/xcb/xcb.h: xcb/xproto.h can't be included

Lorenzo Beretta lory.fulgi at infinito.it
Tue Jun 9 08:28:28 PDT 2015

Package: libxcb1-dev
Version: 1.10-3+b1
Severity: important
File: /usr/include/xcb/xcb.h

Dear Maintainer,

the headers in libxcb1-dev have a bug that appears to have been fixed
upstream and makes the package basically unusable:
$ cat>test.c <<EOF
#include <xcb/xproto.h>
int main() { return 0; }
$ gcc test.c
In file included from /usr/include/xcb/xproto.h:15:0,
                 from test.c:1:
/usr/include/xcb/xcb.h:401:7: error: unknown type name ‘xcb_query_extension_reply_t’
 const xcb_query_extension_reply_t *xcb_get_extension_data(xcb_connection_t *c, xcb_extension_t *ext);
/usr/include/xcb/xcb.h:437:7: error: unknown type name ‘xcb_setup_t’
 const xcb_setup_t *xcb_get_setup(xcb_connection_t *c);

Probably same bug as 778307, except for people using the -dev package
it's completely broken, not just a wishlist.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh-static
Init: systemd (via /run/systemd/system)

Versions of packages libxcb1-dev:amd64 depends on:
ii  libpthread-stubs0-dev  0.3-4
ii  libxau-dev             1:1.0.8-1
ii  libxcb1                1.10-3+b1
ii  libxdmcp-dev           1:1.1.2-1

libxcb1-dev:amd64 recommends no packages.

Versions of packages libxcb1-dev:amd64 suggests:
pn  libxcb-doc  <none>

-- no debconf information

More information about the Xcb mailing list