Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rrdtool.spec'], chrootPath='/var/lib/mock/f33-build-281871-51712/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rrdtool.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 sh: /usr/bin/perl: No such file or directory sh: ruby: command not found sh: lua: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1590451200 Wrote: /builddir/build/SRPMS/rrdtool-1.7.2-8.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rrdtool.spec'], chrootPath='/var/lib/mock/f33-build-281871-51712/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rrdtool.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 setting SOURCE_DATE_EPOCH=1590451200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Cj5u1h + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rrdtool-1.7.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/rrdtool-1.7.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rrdtool-1.7.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/php4-r1190.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3 (rrdtool-1.6.0-ruby-2-fix.patch):' Patch #3 (rrdtool-1.6.0-ruby-2-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ruby-2-fix --fuzz=0 patching file bindings/Makefile.am Patch #4 (rrdtool-1.4.8-php-ppc-fix.patch): + echo 'Patch #4 (rrdtool-1.4.8-php-ppc-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .php-ppc-fix --fuzz=0 patching file php4/ltconfig + perl -pi -e 's|get_python_lib\(0,0,prefix|get_python_lib\(1,0,prefix|g' configure + perl -pi.orig -e 's|/lib\b|/lib64|g' configure Makefile.in php4/configure php4/ltconfig php4/ltconfig.php-ppc-fix + perl -pi.orig -e 's|1.299907080300|1.29990708|' bindings/perl-shared/RRDs.pm bindings/perl-piped/RRDp.pm + cp -p /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub php4/ cp: cannot stat '/usr/lib/rpm/config.guess': No such file or directory RPM build errors: cp: cannot stat '/usr/lib/rpm/config.sub': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.Cj5u1h (%prep) Bad exit status from /var/tmp/rpm-tmp.Cj5u1h (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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/rrdtool.spec