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/f29-build-11661-5278/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'}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'} and shell False BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/check-mk-1.4.0p31-2.fc29.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/f29-build-11661-5278/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'}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'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p6u52c + 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):' Patch #0 (01-Downtime-Struct-Update.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file nagios/downtime.h + 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 Patch #1 (02-check_mkevents.patch): patching file standalone.make Patch #2 (03-setup.sh.patch): + echo 'Patch #2 (03-setup.sh.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file setup.sh + tar xf lib.tar.gz + rm -f lib.tar.gz + tar xf web.tar.gz + rm -f web.tar.gz Patch #3 (04-fix-paths.patch): + echo 'Patch #3 (04-fix-paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file htdocs/html_mod_python.py patching file cmk/paths.py Patch #4 (05-fix-version-vars.patch): + echo 'Patch #4 (05-fix-version-vars.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file cmk/__init__.py patching file htdocs/config.py Hunk #1 succeeded at 615 (offset 1 line). + tar zcf web.tar.gz htdocs plugins + tar zcf lib.tar.gz cmk + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZO7rGt + 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 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 + mkdir active_checks + tar xvf active_checks.tar.gz -C active_checks 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 -C active_checks 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 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: strncpy(remote_hostipaddress, inet_ntoa(*addr_list[i]), BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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: strncpy(addr.sun_path, unixsocket_path.c_str(), sizeof(addr.sun_path)); BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/check_mk-1.4.0p31/active_checks' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pdJHNQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64 + cd check_mk-1.4.0p31 + install -d -m 755 /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64/etc/xinetd.d + install -m 644 cfg_examples/xinetd.conf /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64/etc/xinetd.d/check-mk-agent + install -m 644 cfg_examples/xinetd_caching.conf /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.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-2.fc29.riscv64/etc/xinetd.d/check-mk-caching-agent + install -d -m 755 /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64/usr/bin + install -m 755 check_mk_agent.linux /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64/usr/bin/check_mk_agent + install -m 755 check_mk_caching_agent.linux /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64/usr/bin/check_mk_caching_agent + install -m 755 mk-job /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64/usr/bin/mk-job + install -m 755 waitmax /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64/usr/bin/waitmax + install -d -m 755 /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64/usr/share/check-mk-agent + install -d -m 755 /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64/usr/share/check-mk-agent/plugins + install -d -m 755 /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.riscv64/usr/share/check-mk-agent/local + install -d -m 755 /builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.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-2.fc29.riscv64/usr/bin/check_mk_agent + DESTDIR=/builddir/build/BUILDROOT/check-mk-1.4.0p31-2.fc29.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.pdJHNQ (%install) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.pdJHNQ (%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