[Debian-ha-maintainers] Bug#918933: sbd FTBFS with pacemaker 2.0

Adrian Bunk bunk at debian.org
Thu Jan 10 18:02:15 GMT 2019


Source: sbd
Version: 1.3.1-4
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/package.php?p=sbd&suite=sid

...
sbd-pacemaker.c: In function 'mon_timer_notify':
sbd-pacemaker.c:125:18: error: implicit declaration of function 'get_cib_copy'; did you mean 'g_list_copy'? [-Werror=implicit-function-declaration]
    current_cib = get_cib_copy(cib);
                  ^~~~~~~~~~~~
                  g_list_copy
sbd-pacemaker.c:125:16: error: assignment to 'xmlNode *' {aka 'struct _xmlNode *'} from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
    current_cib = get_cib_copy(cib);
                ^
sbd-pacemaker.c: In function 'cib_connect':
sbd-pacemaker.c:166:15: error: assignment to 'xmlNode *' {aka 'struct _xmlNode *'} from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
   current_cib = get_cib_copy(cib);
               ^
sbd-pacemaker.c: In function 'crm_diff_update':
sbd-pacemaker.c:311:15: error: assignment to 'xmlNode *' {aka 'struct _xmlNode *'} from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
   current_cib = get_cib_copy(cib);
               ^
sbd-cluster.c: In function 'notify_timer_cb':
sbd-cluster.c:241:14: error: 'pcmk_cluster_classic_ais' undeclared (first use in this function); did you mean 'pcmk_cluster_corosync'?
         case pcmk_cluster_classic_ais:
              ^~~~~~~~~~~~~~~~~~~~~~~~
              pcmk_cluster_corosync
sbd-cluster.c:241:14: note: each undeclared identifier is reported only once for each function it appears in
sbd-cluster.c:242:31: error: 'crm_class_quorum' undeclared (first use in this function); did you mean 'crm_have_quorum'?
             send_cluster_text(crm_class_quorum, NULL, TRUE, NULL, crm_msg_ais);
                               ^~~~~~~~~~~~~~~~
                               crm_have_quorum
sbd-cluster.c:246:14: error: 'pcmk_cluster_cman' undeclared (first use in this function); did you mean 'pcmk_cluster_corosync'?
         case pcmk_cluster_cman:
              ^~~~~~~~~~~~~~~~~
              pcmk_cluster_corosync
cc1: all warnings being treated as errors
make[3]: *** [Makefile:407: sbd-cluster.o] Error 1



More information about the Debian-ha-maintainers mailing list