[Debian-ha-maintainers] Bug#666611: pacemaker: FTBFS: gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Mar 31 19:21:06 UTC 2012


Source: pacemaker
Version: 1.1.6-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120331 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../libltdl   -I../libltdl  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -I/usr/include/libxml2  -g -O2 -I/usr/include -I/usr/include/heartbeat     -ggdb3 -O0  -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wno-unused-but-set-variable -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -MT ccm.o -MD -MP -MF .deps/ccm.Tpo -c -o ccm.o ccm.c
> In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0,
>                  from /usr/include/clplumbing/cl_uuid.h:19,
>                  from /usr/include/ocf/oc_membership.h:49,
>                  from ccm.c:24:
> /usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."
> make[2]: *** [ccm.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/03/31/pacemaker_1.1.6-2_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Debian-ha-maintainers mailing list