[Debian-ha-maintainers] Bug#577550: FTBFS: 'g_once_init_enter': cast discards qualifiers from pointer target type

dann frazier dannf at debian.org
Mon Apr 12 16:40:32 UTC 2010


Source: heartbeat
Version: 1:3.0.2+hg12555-2
Severity: serious

heartbeat fails to build from source. Build logs can be viewed here:
  https://buildd.debian.org/build.cgi?pkg=heartbeat&dist=unstable

A snippet of a recent build attempt follows:
[...]
Making all in apphb
make[3]: Entering directory `/build/buildd-heartbeat_3.0.2+hg12555-2-hppa-ZJCMfN/heartbeat-3.0.2+hg12555/lib/apphb'
/bin/bash ../../libtool --tag=CC   --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl -I../../libltdl  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2 -lpthread -Wall -g -O2 -I/usr/include/heartbeat -DNETSNMP_BROKEN_INLINE  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror  -ggdb3 -funsigned-char -MT libapphb_la-apphb.lo -MD -MP -MF .deps/libapphb_la-apphb.Tpo -c -o libapphb_la-apphb.lo `test -f 'apphb.c' || echo './'`apphb.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl -I../../libltdl -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -lpthread -Wall -g -O2 -I/usr/include/heartbeat -DNETSNMP_BROKEN_INLINE -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -MT libapphb_la-apphb.lo -MD -MP -MF .deps/libapphb_la-apphb.Tpo -c apphb.c  -fPIC -DPIC -o .libs/libapphb_la-apphb.o
cc1: warnings being treated as errors
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from apphb.c:30:
/usr/include/glib-2.0/glib/gthread.h: In function 'g_once_init_enter':
/usr/include/glib-2.0/glib/gthread.h:348: error: cast discards qualifiers from pointer target type
make[3]: *** [libapphb_la-apphb.lo] Error 1
make[3]: Leaving directory `/build/buildd-heartbeat_3.0.2+hg12555-2-hppa-ZJCMfN/heartbeat-3.0.2+hg12555/lib/apphb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd-heartbeat_3.0.2+hg12555-2-hppa-ZJCMfN/heartbeat-3.0.2+hg12555/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd-heartbeat_3.0.2+hg12555-2-hppa-ZJCMfN/heartbeat-3.0.2+hg12555'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the Debian-ha-maintainers mailing list