[Debian-ha-maintainers] Bug#640340: pacemaker-mgmt: FTBFS: mgmt_crm.c:1307:5: error: too few arguments to function 'delete_attr'
Mònica Ramírez Arceda
monica at probeta.net
Sun Sep 4 12:23:52 UTC 2011
Source: pacemaker-mgmt
Version: 2.0.0+hg1141-2.1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-2011-09-02 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> Making all in mgmt
> make[2]: Entering directory `/build/pacemaker-mgmt-hnytf_/pacemaker-mgmt-2.0.0+hg1141/mgmt'
> Making all in daemon
> make[3]: Entering directory `/build/pacemaker-mgmt-hnytf_/pacemaker-mgmt-2.0.0+hg1141/mgmt/daemon'
> /bin/bash ../../libtool --tag=CC --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -Wall -g -O2 -I/usr/include/heartbeat -I/usr/include/pacemaker -fgnu89-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 -ansi -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char -MT libhbmgmt_la-mgmt_lib.lo -MD -MP -MF .deps/libhbmgmt_la-mgmt_lib.Tpo -c -o libhbmgmt_la-mgmt_lib.lo `test -f 'mgmt_lib.c' || echo './'`mgmt_lib.c
> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -Wall -g -O2 -I/usr/include/heartbeat -I/usr/include/pacemaker -fgnu89-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 -ansi -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char -MT libhbmgmt_la-mgmt_lib.lo -MD -MP -MF .deps/libhbmgmt_la-mgmt_lib.Tpo -c mgmt_lib.c -fPIC -DPIC -o .libs/libhbmgmt_la-mgmt_lib.o
> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -Wall -g -O2 -I/usr/include/heartbeat -I/usr/include/pacemaker -fgnu89-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 -ansi -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char -MT libhbmgmt_la-mgmt_lib.lo -MD -MP -MF .deps/libhbmgmt_la-mgmt_lib.Tpo -c mgmt_lib.c -o libhbmgmt_la-mgmt_lib.o >/dev/null 2>&1
> mv -f .deps/libhbmgmt_la-mgmt_lib.Tpo .deps/libhbmgmt_la-mgmt_lib.Plo
> /bin/bash ../../libtool --tag=CC --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -Wall -g -O2 -I/usr/include/heartbeat -I/usr/include/pacemaker -fgnu89-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 -ansi -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char -MT libhbmgmt_la-mgmt_crm.lo -MD -MP -MF .deps/libhbmgmt_la-mgmt_crm.Tpo -c -o libhbmgmt_la-mgmt_crm.lo `test -f 'mgmt_crm.c' || echo './'`mgmt_crm.c
> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -Wall -g -O2 -I/usr/include/heartbeat -I/usr/include/pacemaker -fgnu89-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 -ansi -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char -MT libhbmgmt_la-mgmt_crm.lo -MD -MP -MF .deps/libhbmgmt_la-mgmt_crm.Tpo -c mgmt_crm.c -fPIC -DPIC -o .libs/libhbmgmt_la-mgmt_crm.o
> mgmt_crm.c: In function 'on_cleanup_rsc':
> mgmt_crm.c:1307:5: error: too few arguments to function 'delete_attr'
> /usr/include/pacemaker/crm/cib_util.h:108:12: note: declared here
> mgmt_crm.c:1316:7: error: too few arguments to function 'update_attr'
> /usr/include/pacemaker/crm/cib_util.h:58:1: note: declared here
> make[3]: *** [libhbmgmt_la-mgmt_crm.lo] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2011-09-02/pacemaker-mgmt_2.0.0+hg1141-2.1_lsid64.buildlog
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