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 -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
mgmt_lib.c: In function 'init_mgmt_lib':
mgmt_lib.c:97:2: warning: implicit declaration of function 
'is_heartbeat_cluster' [-Wimplicit-function-declaration]
  if(is_heartbeat_cluster()) {
  ^
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 -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/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_crm.lo -MD -MP -MF .deps/libhbmgmt_la-mgmt_crm.Tpo -c -o 
libhbmgmt_la-mgmt_crm.lo `t
 est -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/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_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:44:32: fatal error: crm/common/cluster.h: No such file or directory
 #include <crm/common/cluster.h>
                                ^
compilation terminated.
make[3]: *** [libhbmgmt_la-mgmt_crm.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
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Andreas


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

Reply via email to