0 -I/usr/lib64/glib-2.0/include -I/usr/include/pacemaker -I/usr/include/libxml2 -D_GNU_SOURCE -DCHECK_AIS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -c -o setproctitle.o setproctitle.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/pacemaker -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Werror -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pacemaker -I/usr/include/libxml2 -D_GNU_SOURCE -DCHECK_AIS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -c -o sbd-md.o sbd-md.c BUILDSTDERR: sbd-pacemaker.c: In function 'mon_timer_notify': BUILDSTDERR: sbd-pacemaker.c:163:18: error: implicit declaration of function 'get_cib_copy'; did you mean 'g_list_copy'? [-Werror=implicit-function-declaration] BUILDSTDERR: current_cib = get_cib_copy(cib); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: g_list_copy BUILDSTDERR: sbd-pacemaker.c:163:16: error: assignment to 'xmlNode *' {aka 'struct _xmlNode *'} from 'int' makes pointer from integer without a cast [-Werror=int-conversion] BUILDSTDERR: current_cib = get_cib_copy(cib); BUILDSTDERR: ^ BUILDSTDERR: sbd-pacemaker.c: In function 'cib_connect': BUILDSTDERR: sbd-pacemaker.c:204:15: error: assignment to 'xmlNode *' {aka 'struct _xmlNode *'} from 'int' makes pointer from integer without a cast [-Werror=int-conversion] BUILDSTDERR: current_cib = get_cib_copy(cib); BUILDSTDERR: ^ BUILDSTDERR: sbd-pacemaker.c: In function 'crm_diff_update': BUILDSTDERR: sbd-pacemaker.c:475:15: error: assignment to 'xmlNode *' {aka 'struct _xmlNode *'} from 'int' makes pointer from integer without a cast [-Werror=int-conversion] BUILDSTDERR: current_cib = get_cib_copy(cib); BUILDSTDERR: ^ BUILDSTDERR: sbd-pacemaker.c: In function 'servant_pcmk': BUILDSTDERR: sbd-pacemaker.c:545:2: error: unknown type name 'crm_cluster_t'; did you mean 'crm_trigger_t'? BUILDSTDERR: crm_cluster_t crm_cluster; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: crm_trigger_t BUILDSTDERR: sbd-pacemaker.c:545:16: error: unused variable 'crm_cluster' [-Werror=unused-variable] BUILDSTDERR: crm_cluster_t crm_cluster; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: cc1: all warnings being treated as errors BUILDSTDERR: make[2]: *** [Makefile:396: sbd-pacemaker.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/sbd-1ee3503cbc52b73876b6aae5471d3b6f7c092bf5/src' BUILDSTDERR: make[1]: *** [Makefile:383: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/sbd-1ee3503cbc52b73876b6aae5471d3b6f7c092bf5' BUILDSTDERR: make: *** [Makefile:324: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.dT3RKh (%build) RPM build errors: BUILDSTDERR: Macro expanded in comment on line 28: %{buildnum}.%{shortcommit}.git%{?dist} BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.dT3RKh (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sbd.spec