[Xcb] Bug#516072: Bug#516072: libxcb_1.1.93-1(hppa/experimental): FTBFS: conflicting types for 'xcb_get_atom_name_name'

Antoine Latter aslatter at gmail.com
Fri Feb 20 21:05:46 PST 2009


On Thu, Feb 19, 2009 at 1:18 AM, Frank Lichtenheld <djpig at debian.org> wrote:
> Package: libxcb
> Version: 1.1.93-1
> Severity: serious
>
> Hi,
>
> your package failed to build from source.
>
> | Automatic build of libxcb_1.1.93-1 on meitner by sbuild/hppa 98-farm
> | Build started at 20090218-0708
> | ******************************************************************************
> | Checking available source versions...
> | Fetching source files...
> | Reading package lists...
> | Building dependency tree...
> | Reading state information...
> | Need to get 669kB of source archives.
> | Get:1 http://ftp2.de.debian.org experimental/main libxcb 1.1.93-1 (dsc) [2544B]
> | Get:2 http://ftp2.de.debian.org experimental/main libxcb 1.1.93-1 (tar) [660kB]
> | Get:3 http://ftp2.de.debian.org experimental/main libxcb 1.1.93-1 (diff) [6531B]
> | Fetched 669kB in 1s (519kB/s)
> | Download complete and in download only mode
> | ** Using build dependencies supplied by package:
> | Build-Depends: libxau-dev, libxdmcp-dev, xcb-proto (>> 1.3), xcb-proto (<< 2.0), libpthread-stubs0-dev (>= 0.1), cdbs (>= 0.4.40), debhelper (>= 5.0.0), pkg-config, xsltproc (>= 1.1.19), check (>= 0.9.4-2), python-xcbgen, libtool, automake, python
> | Checking for already installed source dependencies...
> [...]
> | /bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I/build/buildd/libxcb-1.1.93/./src    -Wall -pedantic -Wpointer-arith            -Wstrict-prototypes -Wmissing-declarations -Wnested-externs   -g -O2 -g -Wall -O2 -c -o xproto.lo xproto.c
> |  cc -DHAVE_CONFIG_H -I. -I/build/buildd/libxcb-1.1.93/./src -Wall -pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -g -O2 -g -Wall -O2 -c xproto.c  -fPIC -DPIC -o .libs/xproto.o
> | xproto.c:3055: error: conflicting types for 'xcb_get_atom_name_name'
> | /build/buildd/libxcb-1.1.93/./src/xproto.h:6867: error: previous declaration of 'xcb_get_atom_name_name' was here
> | xproto.c: In function 'xcb_query_extension':
> | xproto.c:12150: error: 'xcb_query_extension_request_t' has no member named 'pad1'
> | xproto.c: In function 'xcb_query_extension_unchecked':
> | xproto.c:12194: error: 'xcb_query_extension_request_t' has no member named 'pad1'
> | make[3]: *** [xproto.lo] Error 1
> | make[3]: Leaving directory `/build/buildd/libxcb-1.1.93/obj-hppa-linux-gnu/src'
> | make[2]: *** [all] Error 2
> | make[2]: Leaving directory `/build/buildd/libxcb-1.1.93/obj-hppa-linux-gnu/src'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory `/build/buildd/libxcb-1.1.93/obj-hppa-linux-gnu'
> | make: *** [debian/stamp-makefile-build] Error 2
> | dpkg-buildpackage: failure: debian/rules build gave error exit status 2
> | ******************************************************************************
> | Build finished at 20090218-0712
> | FAILED [dpkg-buildpackage died]
>
> Full build log(s): http://experimental.ftbfs.de/build.php?&ver=1.1.93-1&pkg=libxcb&arch=hppa
>
> Gruesse,
> --
> Frank Lichtenheld <djpig at debian.org>
> www: http://www.djpig.de/
>
>
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
>

I'm guessing that this is trying to compile libxcb 1.1.93 against
xcb-proto-1.4  (which includes patch 52d0702).

Is this something that's supposed to work?  Is there something here to
be worried about?

This wasn't the first patch to add padding into the xcb-proto XML
descriptions, but I don't remember seeing these sorts of errors (but I
don't think they went to this list back then).

Antoine

link to suspect patch:

http://cgit.freedesktop.org/xcb/proto/commit/?id=52d0702ed569771936c874b9a417ae368c1b57c4




More information about the Xcb mailing list