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/check-mk.spec'], chrootPath='/var/lib/mock/f31-build-91521-32308/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/check-mk.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/check-mk-1.4.0p31-8.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/check-mk.spec'], chrootPath='/var/lib/mock/f31-build-91521-32308/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/check-mk.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vBYV79 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf check_mk-1.4.0p31 + /usr/bin/gzip -dc /builddir/build/SOURCES/check_mk-1.4.0p31.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd check_mk-1.4.0p31 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar xf agents.tar.gz + gunzip livestatus.tar.gz + tar xf livestatus.tar + echo 'Patch #0 (01-Downtime-Struct-Update.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + tar rf livestatus.tar nagios/downtime.h + gzip livestatus.tar + echo 'Patch #1 (02-check_mkevents.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + echo 'Patch #2 (03-setup.sh.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + tar xf lib.tar.gz + rm -f lib.tar.gz + tar xf web.tar.gz + rm -f web.tar.gz + echo 'Patch #3 (04-fix-paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + echo 'Patch #4 (05-fix-version-vars.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + tar zcf web.tar.gz htdocs plugins + tar zcf lib.tar.gz cmk + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (01-Downtime-Struct-Update.patch): patching file nagios/downtime.h Patch #1 (02-check_mkevents.patch): patching file standalone.make Patch #2 (03-setup.sh.patch): patching file setup.sh Patch #3 (04-fix-paths.patch): patching file htdocs/html_mod_python.py patching file cmk/paths.py Patch #4 (05-fix-version-vars.patch): patching file cmk/__init__.py patching file htdocs/config.py Hunk #1 succeeded at 615 (offset 1 line). Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rPVgF7 + umask 022 + cd /builddir/build/BUILD + cd check_mk-1.4.0p31 + rm -f waitmax + make waitmax BUILDSTDERR: /bin/bash: line 0: type: diet: not found + mkdir active_checks + tar xvf active_checks.tar.gz -C active_checks + make -C active_checks BUILDSTDERR: check_mkevents.cc: In function 'int main(int, char**)': BUILDSTDERR: check_mkevents.cc:172:20: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] BUILDSTDERR: 172 | strncpy(remote_hostipaddress, inet_ntoa(*addr_list[i]), BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 173 | sizeof(remote_hostipaddress)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: check_mkevents.cc:215:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 108 equals destination size [-Wstringop-truncation] BUILDSTDERR: 215 | strncpy(addr.sun_path, unixsocket_path.c_str(), sizeof(addr.sun_path)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 WARNING: your binary is not portable. Please compile with dietlibc on 32-Bit to get portable statically linked binary. Compiling with normal gcc... Fine. Typing 'make install' as root now will install into /usr/bin check_bi_aggr check_cpu_peaks check_form_submit check_mail check_mailboxes check_mail_loop check_mkevents.cc check_notify_count check_sql check_traceroute check_uniserv Makefile make: Entering directory '/builddir/build/BUILD/check_mk-1.4.0p31/active_checks' g++ -std=c++14 -g -O3 -Wall -Wextra -static-libstdc++ check_mkevents.cc -o check_mkevents make: Leaving directory '/builddir/build/BUILD/check_mk-1.4.0p31/active_checks' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sjSL69 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64 + cd check_mk-1.4.0p31 + install -d -m 755 /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/etc/xinetd.d + install -m 644 cfg_examples/xinetd.conf /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/etc/xinetd.d/check-mk-agent + install -m 644 cfg_examples/xinetd_caching.conf /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/etc/xinetd.d/check-mk-caching-agent + sed -i 's/\tdisable = no/\tdisable = yes/g' cfg_examples/xinetd_caching.conf /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/etc/xinetd.d/check-mk-caching-agent + install -d -m 755 /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/usr/bin + install -m 755 check_mk_agent.linux /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/usr/bin/check_mk_agent + install -m 755 check_mk_caching_agent.linux /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/usr/bin/check_mk_caching_agent + install -m 755 mk-job /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/usr/bin/mk-job + install -m 755 waitmax /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/usr/bin/waitmax + install -d -m 755 /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/usr/share/check-mk-agent + install -d -m 755 /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/usr/share/check-mk-agent/plugins + install -d -m 755 /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/usr/share/check-mk-agent/local + install -d -m 755 /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/etc/check-mk-agent + perl -pi -e 's|MK_LIBDIR:-/usr/lib/check_mk_agent|MK_LIBDIR:-/usr/share/check-mk-agent|;' -e 's|MK_CONFDIR:-/etc/check_mk|MK_CONFDIR:-/etc/check-mk-agent|;' /builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64/usr/bin/check_mk_agent + DESTDIR=/builddir/build/BUILDROOT/check-mk-1.4.0p31-8.fc31.riscv64 + nagios_version=4.0.8 + ./setup.sh --yes  ERROR compiling livestatus! . Logfile is in ./livestatus.log RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.sjSL69 (%install) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.sjSL69 (%install) 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/check-mk.spec