Bug#739833: pacemaker-mgmt: FTBFS against libcrmcommon3-dev

2014-02-27 Thread Hideki Yamane
Hi,

 Probably we should migrate to upstream version 2.1.2, since 2.0.0 is 
 4 years old release...
 
 see https://github.com/ClusterLabs/pacemaker-mgmt/releases

-- 
Regards,

 Hideki Yamane henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#739833: pacemaker-mgmt: FTBFS against libcrmcommon3-dev

2014-02-22 Thread Andreas Beckmann
Source: pacemaker-mgmt
Version: 2.0.0+hg1141-2.3
Severity: serious
Justification: fails to build from source (but built successfully in the past)

From a rebuild in sid:

[...]
Making all in mgmt
make[2]: Entering directory `/tmp/buildd/pacemaker-mgmt-2.0.0+hg1141/mgmt'
Making all in daemon
make[3]: Entering directory 
`/tmp/buildd/pacemaker-mgmt-2.0.0+hg1141/mgmt/daemon'
/bin/sh ../../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/x86_64-linux-gnu/glib-2.0/include   -I/usr/include/libxml2 
-I../../include  -I../../include -I../../libltdl  -I../../libltdl 
-I../../linux-ha -I../../linux-ha -I../..  -I../.. -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 `t
 est -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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 
-I../../include -I../../include -I../../libltdl -I../../libltdl 
-I../../linux-ha -I../../linux-ha -I../.. -I../.. -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
In file included from /usr/include/pacemaker/crm/crm.h:191:0,
 from mgmt_lib.c:51:
/usr/include/pacemaker/crm/common/logging.h:27:24: fatal error: qb/qblog.h: No 
such file or directory
 #  include qb/qblog.h
^
compilation terminated.
make[3]: *** [libhbmgmt_la-mgmt_lib.lo] Error 1
make[3]: Leaving directory `/tmp/buildd/pacemaker-mgmt-2.0.0+hg1141/mgmt/daemon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/pacemaker-mgmt-2.0.0+hg1141/mgmt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/pacemaker-mgmt-2.0.0+hg1141'
make: *** [build-stamp] Error 2

This can be fixed by adding a build dependency on libqb-dev.
Another missing header can be found by adding a build-dependency on
libcrmcommon2-dev, but this is an obsolete package, superseded by 
libcrmcommon3-dev, and here the build fails with

[...]
Making all in mgmt
make[2]: Entering directory `/tmp/buildd/pacemaker-mgmt-2.0.0+hg1141/mgmt'
Making all in daemon
make[3]: Entering directory 
`/tmp/buildd/pacemaker-mgmt-2.0.0+hg1141/mgmt/daemon'
/bin/sh ../../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/x86_64-linux-gnu/glib-2.0/include   -I/usr/include/libxml2 
-I../../include  -I../../include -I../../libltdl  -I../../libltdl 
-I../../linux-ha -I../../linux-ha -I../..  -I../.. -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 `t
 est -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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 
-I../../include -I../../include -I../../libltdl -I../../libltdl 
-I../../linux-ha -I../../linux-ha -I../.. -I../.. -g -O2 
-I/usr/include/heartbeat -I/usr/include/pacemaker