Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sbd.spec'], chrootPath='/var/lib/mock/f29-build-24966-13018/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sbd.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 28: %{buildnum}.%{shortcommit}.git%{?dist} Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/sbd-1.2.1-4.fc29.1.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sbd.spec'], chrootPath='/var/lib/mock/f29-build-24966-13018/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sbd.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 28: %{buildnum}.%{shortcommit}.git%{?dist} Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.O1SAwr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sbd-1ee3503cbc52b73876b6aae5471d3b6f7c092bf5 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/sbd-1ee3503cbc52b73876b6aae5471d3b6f7c092bf5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sbd-1ee3503cbc52b73876b6aae5471d3b6f7c092bf5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/sbd-no-storage-option.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/sbd-local-debug.patch + /usr/bin/cat /builddir/build/SOURCES/sbd-pcmk-health.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/sbd-proc-pid.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/sbd-static-inline.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iChoeS + umask 022 + cd /builddir/build/BUILD + cd sbd-1ee3503cbc52b73876b6aae5471d3b6f7c092bf5 + autoreconf -i BUILDSTDERR: configure.ac:30: installing './compile' BUILDSTDERR: configure.ac:25: installing './config.guess' BUILDSTDERR: configure.ac:25: installing './config.sub' BUILDSTDERR: configure.ac:29: installing './install-sh' BUILDSTDERR: configure.ac:29: installing './missing' BUILDSTDERR: Makefile.am:5: warning: shell git log --pretty="format:%H" -n 1: non-POSIX variable name BUILDSTDERR: Makefile.am:5: (probably a GNU make extension) BUILDSTDERR: Makefile.am:10: warning: shell pwd: non-POSIX variable name BUILDSTDERR: Makefile.am:10: (probably a GNU make extension) BUILDSTDERR: Makefile.am:19: warning: shell test ! -e $(BUILD_COUNTER: non-POSIX variable name BUILDSTDERR: Makefile.am:19: (probably a GNU make extension) BUILDSTDERR: Makefile.am:20: warning: shell expr 1 + $(LAST_COUNT: non-POSIX variable name BUILDSTDERR: Makefile.am:20: (probably a GNU make extension) BUILDSTDERR: src/Makefile.am: installing './depcomp' + export 'CFLAGS=-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' + CFLAGS='-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' + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking whether make supports nested variables... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for glib... yes checking for pacemaker... yes checking for pcmk... no checking for libqb... yes checking for libxml... yes checking for io_setup in -laio... yes checking for qb_ipcs_connection_auth_set in -lqb... yes checking for cib_new in -lcib... yes checking for set_crm_log_level in -lcrmcommon... yes checking for pe_find_node in -lpe_status... yes checking for test_rule in -lpe_rules... yes checking for crm_peer_init in -lcrmcluster... yes checking for uuid_unparse in -luuid... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pacemaker/crm/cluster.h usability... yes checking pacemaker/crm/cluster.h presence... yes checking for pacemaker/crm/cluster.h... yes checking for pcmk_strerror in -lcrmcommon... yes checking for cib_apply_patch_event in -lcib... yes checking for pod2man... /usr/bin/pod2man /proc/{pid} is supported checking for setproctitle... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking for setproctitle in -lutil... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking whether __progname and __progname_full are available... yes checking which argv replacement method to use... writeable configure: Sanitizing prefix: /usr configure: Sanitizing exec_prefix: /usr checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating agent/Makefile config.status: creating man/Makefile config.status: creating src/sbd.service config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/sbd-1ee3503cbc52b73876b6aae5471d3b6f7c092bf5' Making all in src make[2]: Entering directory '/builddir/build/BUILD/sbd-1ee3503cbc52b73876b6aae5471d3b6f7c092bf5/src' 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-common.o sbd-common.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-inquisitor.o sbd-inquisitor.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-pacemaker.o sbd-pacemaker.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 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' make[1]: Leaving directory '/builddir/build/BUILD/sbd-1ee3503cbc52b73876b6aae5471d3b6f7c092bf5' BUILDSTDERR: make[1]: *** [Makefile:383: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:324: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.iChoeS (%build) BUILDSTDERR: Macro expanded in comment on line 28: %{buildnum}.%{shortcommit}.git%{?dist} BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.iChoeS (%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