Mock Version: 2.17 Mock Version: 2.17 Mock Version: 2.17 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xha.spec'], chrootPath='/var/lib/mock/v8.3-incoming-4833-5452/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xha.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/xha-10.3.0-3.2.xcpng8.3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xha.spec'], chrootPath='/var/lib/mock/v8.3-incoming-4833-5452/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xha.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xrKlT6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xha-10.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/xha-10.3.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd xha-10.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/xha-10.1.0-support-drbd.XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xha-10.3.0-support-ipv6.XCP-ng.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mvs2TG + umask 022 + cd /builddir/build/BUILD + cd xha-10.3.0 + make make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/include' gawk -f errdef.awk mtcerrno.def > mtcerrno.h sh buildid.sh > buildid.h make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/include' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/lib' gcc -g -Wall -Wno-multichar -I../include -I/usr/include/libxml2 -c statefileio.c In file included from statefileio.c:55:0: statefileio.c: In function 'sf_readglobal': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ statefileio.c:249:22: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, global.data)); ^ statefileio.c: In function 'sf_readhostspecific': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ statefileio.c:303:17: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, host[host_index].data)); ^ statefileio.c: In function 'sf_writeglobal': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ statefileio.c:354:17: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, global.data)); ^ statefileio.c: In function 'sf_writehostspecific': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ statefileio.c:379:21: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, host[host_index].data)); ^ In file included from statefileio.c:39:0: statefileio.c: In function 'sf_checksum': statefileio.c:390:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] assert((((MTC_U32)p) & 3) == 0 && (((MTC_U32)end) & 3) == 0); ^ statefileio.c:390:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] assert((((MTC_U32)p) & 3) == 0 && (((MTC_U32)end) & 3) == 0); ^ ar rv ../debug/libxha.a statefileio.o ar: creating ../debug/libxha.a a - statefileio.o gcc -g -Wall -Wno-multichar -I../include -I/usr/include/libxml2 -c config.c ar rv ../debug/libxha.a config.o a - config.o gcc -g -Wall -Wno-multichar -I../include -I/usr/include/libxml2 -c error.c ar rv ../debug/libxha.a error.o a - error.o gcc -g -Wall -Wno-multichar -I../include -I/usr/include/libxml2 -c weightio.c ar rv ../debug/libxha.a weightio.o a - weightio.o rm error.o statefileio.o weightio.o config.o make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/lib' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/daemon' gcc -g -Wall -Wno-multichar -I../include -c bond_mon.c -o ../debug/bond_mon.o gcc -g -Wall -Wno-multichar -I../include -c com.c -o ../debug/com.o gcc -g -Wall -Wno-multichar -I../include -c heartbeat.c -o ../debug/heartbeat.o gcc -g -Wall -Wno-multichar -I../include -c lock_mgr.c -o ../debug/lock_mgr.o gcc -g -Wall -Wno-multichar -I../include -c log.c -o ../debug/log.o gcc -g -Wall -Wno-multichar -I../include -c main.c -o ../debug/main.o main.c: In function 'main_reset_scheduler': main.c:640:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status; ^ gcc -g -Wall -Wno-multichar -I../include -c sc_sv.c -o ../debug/sc_sv.o gcc -g -Wall -Wno-multichar -I../include -c sc_func.c -o ../debug/sc_func.o gcc -g -Wall -Wno-multichar -I../include -c sm.c -o ../debug/sm.o gcc -g -Wall -Wno-multichar -I../include -c statefile.c -o ../debug/statefile.o gcc -g -Wall -Wno-multichar -I../include -c watchdog.c -o ../debug/watchdog.o watchdog.c: In function 'do_watchdog_hypercall': watchdog.c:410:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hypercall.arg[1] = (__u64) (unsigned int) &arg; // pointer to u64 ^ watchdog.c: In function 'do_domain_shutdown_self': watchdog.c:504:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hypercall.arg[1] = (__u64) (unsigned int) &arg; // pointer to u64 ^ watchdog.c: In function 'watchdog_selffence': watchdog.c:997:28: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] do_domain_shutdown_self(ret); ^ gcc -g -Wall -Wno-multichar -I../include -c xapi_mon.c -o ../debug/xapi_mon.o gcc -g -Wall -Wno-multichar -I../include -c fist.c -o ../debug/fist.o gcc -g -Wall -Wno-multichar -I../include -c hostweight.c -o ../debug/hostweight.o gcc -o ../debug/xhad -lxml2 -lrt -pthread -rdynamic -ldl ../debug/bond_mon.o ../debug/com.o ../debug/heartbeat.o ../debug/lock_mgr.o ../debug/log.o ../debug/main.o ../debug/sc_sv.o ../debug/sc_func.o ../debug/sm.o ../debug/statefile.o ../debug/watchdog.o ../debug/xapi_mon.o ../debug/fist.o ../debug/hostweight.o ../debug/libxha.a -lxml2 -lrt -pthread -rdynamic -ldl objdump -CxS --prefix-addresses ../debug/xhad > ../debug/xhad.lst make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/daemon' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/commands' gcc -g -Wall -Wno-multichar -I../include -c calldaemon.c -o ../debug/calldaemon.o gcc -g -Wall -Wno-multichar -I../include -c writestatefile.c -o ../debug/writestatefile.o gcc -g -Wall -Wno-multichar -I../include -c stubs.c -o ../debug/stubs.o gcc -g -Wall -Wno-multichar -I../include -c dumpstatefile.c -o ../debug/dumpstatefile.o In file included from dumpstatefile.c:58:0: dumpstatefile.c: In function 'sf_readglobal_nocheck': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ dumpstatefile.c:362:22: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, global.data)); ^ dumpstatefile.c: In function 'sf_readhostspecific_nocheck': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ dumpstatefile.c:420:17: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, host[host_index].data)); ^ gcc -g -Wall -Wno-multichar -I../include -c cleanupwatchdog.c -o ../debug/cleanupwatchdog.o cleanupwatchdog.c: In function 'do_watchdog_disable': cleanupwatchdog.c:240:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hypercall.arg[1] = (__u64) (unsigned int) &arg; // pointer to u64 ^ gcc -g -Wall -Wno-multichar -I../include -c weightctl.c -o ../debug/weightctl.o gcc ../debug/calldaemon.o -lxml2 -lrt ../debug/libxha.a -o ../debug/calldaemon gcc ../debug/writestatefile.o ../debug/stubs.o -lxml2 -lrt ../debug/libxha.a -o ../debug/writestatefile gcc ../debug/dumpstatefile.o ../debug/stubs.o -lxml2 -lrt ../debug/libxha.a -o ../debug/dumpstatefile gcc ../debug/cleanupwatchdog.o -lxml2 -lrt ../debug/libxha.a -o ../debug/cleanupwatchdog gcc ../debug/weightctl.o -lxml2 -lrt ../debug/libxha.a -o ../debug/weightctl make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/commands' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/scripts' gcc -g -Wall -Wno-multichar -I../include -c generr.c gcc generr.o -lxml2 -lrt ../debug/libxha.a -o generr ./generr > ha_errnorc make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/scripts' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/include' sh buildid.sh > buildid.h make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/include' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/lib' gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -I/usr/include/libxml2 -c statefileio.c In file included from statefileio.c:55:0: statefileio.c: In function 'sf_readglobal': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ statefileio.c:249:22: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, global.data)); ^ statefileio.c: In function 'sf_readhostspecific': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ statefileio.c:303:17: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, host[host_index].data)); ^ statefileio.c: In function 'sf_writeglobal': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ statefileio.c:354:17: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, global.data)); ^ statefileio.c: In function 'sf_writehostspecific': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ statefileio.c:379:21: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, host[host_index].data)); ^ ar rv ../release/libxha.a statefileio.o ar: creating ../release/libxha.a a - statefileio.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -I/usr/include/libxml2 -c config.c ar rv ../release/libxha.a config.o a - config.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -I/usr/include/libxml2 -c error.c ar rv ../release/libxha.a error.o a - error.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -I/usr/include/libxml2 -c weightio.c ar rv ../release/libxha.a weightio.o a - weightio.o rm statefileio.o weightio.o error.o config.o make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/lib' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/daemon' gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c bond_mon.c -o ../release/bond_mon.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c com.c -o ../release/com.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c heartbeat.c -o ../release/heartbeat.o heartbeat.c: In function 'hb_hb_updated': heartbeat.c:111:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] MTC_S32 ret; \ ^ heartbeat.c:684:9: note: in expansion of macro 'hb_spin_lock' hb_spin_lock(); ^ heartbeat.c:116:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] MTC_S32 ret; \ ^ heartbeat.c:690:9: note: in expansion of macro 'hb_spin_unlock' hb_spin_unlock(); ^ heartbeat.c: In function 'hb': heartbeat.c:111:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] MTC_S32 ret; \ ^ heartbeat.c:819:9: note: in expansion of macro 'hb_spin_lock' hb_spin_lock(); ^ heartbeat.c:116:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] MTC_S32 ret; \ ^ heartbeat.c:826:9: note: in expansion of macro 'hb_spin_unlock' hb_spin_unlock(); ^ heartbeat.c: In function 'send_hb': heartbeat.c:111:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] MTC_S32 ret; \ ^ heartbeat.c:975:9: note: in expansion of macro 'hb_spin_lock' hb_spin_lock(); ^ heartbeat.c:116:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] MTC_S32 ret; \ ^ heartbeat.c:977:9: note: in expansion of macro 'hb_spin_unlock' hb_spin_unlock(); ^ heartbeat.c: In function 'receive_hb': heartbeat.c:111:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] MTC_S32 ret; \ ^ heartbeat.c:1185:13: note: in expansion of macro 'hb_spin_lock' hb_spin_lock(); ^ heartbeat.c:116:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] MTC_S32 ret; \ ^ heartbeat.c:1187:13: note: in expansion of macro 'hb_spin_unlock' hb_spin_unlock(); ^ gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c lock_mgr.c -o ../release/lock_mgr.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c log.c -o ../release/log.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c main.c -o ../release/main.o main.c: In function 'main_reset_scheduler': main.c:640:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status; ^ gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c sc_sv.c -o ../release/sc_sv.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c sc_func.c -o ../release/sc_func.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c sm.c -o ../release/sm.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c statefile.c -o ../release/statefile.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c watchdog.c -o ../release/watchdog.o watchdog.c: In function 'do_watchdog_hypercall': watchdog.c:410:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hypercall.arg[1] = (__u64) (unsigned int) &arg; // pointer to u64 ^ watchdog.c: In function 'do_domain_shutdown_self': watchdog.c:504:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hypercall.arg[1] = (__u64) (unsigned int) &arg; // pointer to u64 ^ watchdog.c: In function 'watchdog_selffence': watchdog.c:997:28: warning: 'ret' is used uninitialized in this function [-Wuninitialized] do_domain_shutdown_self(ret); ^ gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c xapi_mon.c -o ../release/xapi_mon.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c fist.c -o ../release/fist.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c hostweight.c -o ../release/hostweight.o gcc -o ../release/xhad -lxml2 -lrt -pthread -rdynamic -ldl ../release/bond_mon.o ../release/com.o ../release/heartbeat.o ../release/lock_mgr.o ../release/log.o ../release/main.o ../release/sc_sv.o ../release/sc_func.o ../release/sm.o ../release/statefile.o ../release/watchdog.o ../release/xapi_mon.o ../release/fist.o ../release/hostweight.o ../release/libxha.a -lxml2 -lrt -pthread -rdynamic -ldl objdump -CxS --prefix-addresses ../release/xhad > ../release/xhad.lst make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/daemon' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/commands' gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c calldaemon.c -o ../release/calldaemon.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c writestatefile.c -o ../release/writestatefile.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c stubs.c -o ../release/stubs.o gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c dumpstatefile.c -o ../release/dumpstatefile.o In file included from dumpstatefile.c:58:0: dumpstatefile.c: In function 'sf_readglobal_nocheck': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ dumpstatefile.c:362:22: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, global.data)); ^ dumpstatefile.c: In function 'sf_readhostspecific_nocheck': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ dumpstatefile.c:420:17: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, host[host_index].data)); ^ gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c cleanupwatchdog.c -o ../release/cleanupwatchdog.o cleanupwatchdog.c: In function 'do_watchdog_disable': cleanupwatchdog.c:240:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hypercall.arg[1] = (__u64) (unsigned int) &arg; // pointer to u64 ^ gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c weightctl.c -o ../release/weightctl.o gcc ../release/calldaemon.o -lxml2 -lrt ../release/libxha.a -o ../release/calldaemon gcc ../release/writestatefile.o ../release/stubs.o -lxml2 -lrt ../release/libxha.a -o ../release/writestatefile gcc ../release/dumpstatefile.o ../release/stubs.o -lxml2 -lrt ../release/libxha.a -o ../release/dumpstatefile gcc ../release/cleanupwatchdog.o -lxml2 -lrt ../release/libxha.a -o ../release/cleanupwatchdog gcc ../release/weightctl.o -lxml2 -lrt ../release/libxha.a -o ../release/weightctl make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/commands' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/scripts' gcc -g -Wall -Wno-multichar -DNDEBUG -I../include -c generr.c gcc generr.o -lxml2 -lrt ../release/libxha.a -o generr ./generr > ha_errnorc make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/scripts' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6L1JLr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64 ++ dirname /builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64 + '[' '!' -d /usr/lib/opamroot ']' + cd xha-10.3.0 + DESTDIR=/builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64 + make install make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/include' sh buildid.sh > buildid.h make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/include' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/lib' gcc -g -Wall -Wno-multichar -I../include -I/usr/include/libxml2 -c statefileio.c In file included from statefileio.c:55:0: statefileio.c: In function 'sf_readglobal': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ statefileio.c:249:22: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, global.data)); ^ statefileio.c: In function 'sf_readhostspecific': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ statefileio.c:303:17: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, host[host_index].data)); ^ statefileio.c: In function 'sf_writeglobal': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ statefileio.c:354:17: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, global.data)); ^ statefileio.c: In function 'sf_writehostspecific': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ statefileio.c:379:21: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, host[host_index].data)); ^ In file included from statefileio.c:39:0: statefileio.c: In function 'sf_checksum': statefileio.c:390:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] assert((((MTC_U32)p) & 3) == 0 && (((MTC_U32)end) & 3) == 0); ^ statefileio.c:390:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] assert((((MTC_U32)p) & 3) == 0 && (((MTC_U32)end) & 3) == 0); ^ ar rv ../debug/libxha.a statefileio.o r - statefileio.o gcc -g -Wall -Wno-multichar -I../include -I/usr/include/libxml2 -c config.c ar rv ../debug/libxha.a config.o r - config.o gcc -g -Wall -Wno-multichar -I../include -I/usr/include/libxml2 -c error.c ar rv ../debug/libxha.a error.o r - error.o gcc -g -Wall -Wno-multichar -I../include -I/usr/include/libxml2 -c weightio.c ar rv ../debug/libxha.a weightio.o r - weightio.o rm error.o statefileio.o weightio.o config.o make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/lib' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/daemon' gcc -g -Wall -Wno-multichar -I../include -c bond_mon.c -o ../debug/bond_mon.o gcc -g -Wall -Wno-multichar -I../include -c com.c -o ../debug/com.o gcc -g -Wall -Wno-multichar -I../include -c heartbeat.c -o ../debug/heartbeat.o gcc -g -Wall -Wno-multichar -I../include -c lock_mgr.c -o ../debug/lock_mgr.o gcc -g -Wall -Wno-multichar -I../include -c log.c -o ../debug/log.o gcc -g -Wall -Wno-multichar -I../include -c main.c -o ../debug/main.o main.c: In function 'main_reset_scheduler': main.c:640:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status; ^ gcc -g -Wall -Wno-multichar -I../include -c sc_sv.c -o ../debug/sc_sv.o gcc -g -Wall -Wno-multichar -I../include -c sc_func.c -o ../debug/sc_func.o gcc -g -Wall -Wno-multichar -I../include -c sm.c -o ../debug/sm.o gcc -g -Wall -Wno-multichar -I../include -c statefile.c -o ../debug/statefile.o gcc -g -Wall -Wno-multichar -I../include -c watchdog.c -o ../debug/watchdog.o watchdog.c: In function 'do_watchdog_hypercall': watchdog.c:410:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hypercall.arg[1] = (__u64) (unsigned int) &arg; // pointer to u64 ^ watchdog.c: In function 'do_domain_shutdown_self': watchdog.c:504:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hypercall.arg[1] = (__u64) (unsigned int) &arg; // pointer to u64 ^ watchdog.c: In function 'watchdog_selffence': watchdog.c:997:28: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] do_domain_shutdown_self(ret); ^ gcc -g -Wall -Wno-multichar -I../include -c xapi_mon.c -o ../debug/xapi_mon.o gcc -g -Wall -Wno-multichar -I../include -c fist.c -o ../debug/fist.o gcc -g -Wall -Wno-multichar -I../include -c hostweight.c -o ../debug/hostweight.o gcc -o ../debug/xhad -lxml2 -lrt -pthread -rdynamic -ldl ../debug/bond_mon.o ../debug/com.o ../debug/heartbeat.o ../debug/lock_mgr.o ../debug/log.o ../debug/main.o ../debug/sc_sv.o ../debug/sc_func.o ../debug/sm.o ../debug/statefile.o ../debug/watchdog.o ../debug/xapi_mon.o ../debug/fist.o ../debug/hostweight.o ../debug/libxha.a -lxml2 -lrt -pthread -rdynamic -ldl make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/daemon' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/commands' gcc -g -Wall -Wno-multichar -I../include -c calldaemon.c -o ../debug/calldaemon.o gcc -g -Wall -Wno-multichar -I../include -c writestatefile.c -o ../debug/writestatefile.o gcc -g -Wall -Wno-multichar -I../include -c stubs.c -o ../debug/stubs.o gcc -g -Wall -Wno-multichar -I../include -c dumpstatefile.c -o ../debug/dumpstatefile.o In file included from dumpstatefile.c:58:0: dumpstatefile.c: In function 'sf_readglobal_nocheck': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ dumpstatefile.c:362:22: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, global.data)); ^ dumpstatefile.c: In function 'sf_readhostspecific_nocheck': ../include/mtctypes.h:446:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)&(((structname *)0)->element)) ^ dumpstatefile.c:420:17: note: in expansion of macro '_struct_offset' _struct_offset(STATE_FILE, host[host_index].data)); ^ gcc -g -Wall -Wno-multichar -I../include -c cleanupwatchdog.c -o ../debug/cleanupwatchdog.o cleanupwatchdog.c: In function 'do_watchdog_disable': cleanupwatchdog.c:240:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hypercall.arg[1] = (__u64) (unsigned int) &arg; // pointer to u64 ^ gcc -g -Wall -Wno-multichar -I../include -c weightctl.c -o ../debug/weightctl.o gcc ../debug/calldaemon.o -lxml2 -lrt ../debug/libxha.a -o ../debug/calldaemon gcc ../debug/writestatefile.o ../debug/stubs.o -lxml2 -lrt ../debug/libxha.a -o ../debug/writestatefile gcc ../debug/dumpstatefile.o ../debug/stubs.o -lxml2 -lrt ../debug/libxha.a -o ../debug/dumpstatefile gcc ../debug/cleanupwatchdog.o -lxml2 -lrt ../debug/libxha.a -o ../debug/cleanupwatchdog gcc ../debug/weightctl.o -lxml2 -lrt ../debug/libxha.a -o ../debug/weightctl make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/commands' make[1]: Entering directory `/builddir/build/BUILD/xha-10.3.0/scripts' gcc -g -Wall -Wno-multichar -I../include -c generr.c gcc generr.o -lxml2 -lrt ../debug/libxha.a -o generr ./generr > ha_errnorc make[1]: Leaving directory `/builddir/build/BUILD/xha-10.3.0/scripts' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/xha-10.3.0 extracting debug info from /builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64/usr/libexec/xapi/cluster-stack/xhad/xhad extracting debug info from /builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64/usr/libexec/xapi/cluster-stack/xhad/calldaemon extracting debug info from /builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64/usr/libexec/xapi/cluster-stack/xhad/writestatefile extracting debug info from /builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64/usr/libexec/xapi/cluster-stack/xhad/dumpstatefile extracting debug info from /builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64/usr/libexec/xapi/cluster-stack/xhad/cleanupwatchdog extracting debug info from /builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64/usr/libexec/xapi/cluster-stack/xhad/weightctl /usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. 1145 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: xha-10.3.0-3.2.xcpng8.3.x86_64 Provides: xha = 10.3.0-3.2.xcpng8.3 xha(x86-64) = 10.3.0-3.2.xcpng8.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.3)(64bit) libc.so.6(GLIBC_2.7)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) rtld(GNU_HASH) Processing files: xha-debuginfo-10.3.0-3.2.xcpng8.3.x86_64 Provides: xha-debuginfo = 10.3.0-3.2.xcpng8.3 xha-debuginfo(x86-64) = 10.3.0-3.2.xcpng8.3 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64 Wrote: /builddir/build/RPMS/xha-10.3.0-3.2.xcpng8.3.x86_64.rpm Wrote: /builddir/build/RPMS/xha-debuginfo-10.3.0-3.2.xcpng8.3.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Yc4BKb + umask 022 + cd /builddir/build/BUILD + cd xha-10.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xha-10.3.0-3.2.xcpng8.3.x86_64 + exit 0 Child return code was: 0