Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dnsperf.spec'], chrootPath='/var/lib/mock/f30-build-41281-23075/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dnsperf.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 Wrote: /builddir/build/SRPMS/dnsperf-2.1.0.0-17.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dnsperf.spec'], chrootPath='/var/lib/mock/f30-build-41281-23075/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dnsperf.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.5ejKJA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dnsperf-src-2.1.0.0-1 + /usr/bin/gzip -dc /builddir/build/SOURCES/dnsperf-src-2.1.0.0-1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dnsperf-src-2.1.0.0-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (dnsperf-buffer-inline.patch): + echo 'Patch #1 (dnsperf-buffer-inline.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .buffer --fuzz=0 patching file datafile.c patching file dns.c patching file dnsperf.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SfE8LI + umask 022 + cd /builddir/build/BUILD + cd dnsperf-src-2.1.0.0-1 + 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' + 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,--as-needed -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.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' + 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' + '[' 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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for a BSD-compatible install... /usr/bin/install -c checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for inline... inline checking for socket in -lsocket... no checking for inet_ntoa in -lnsl... no checking for isc-config.sh... /usr/bin/isc-config.sh checking for socklen_t... yes checking for sa_len... no checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no configure: creating ./config.status config.status: creating Makefile BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j4 gcc -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/include/bind9 -D_REENTRANT -I/usr/include -DDIG_SIGCHASE -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_PTHREAD=1 -pthread -c log.c gcc -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/include/bind9 -D_REENTRANT -I/usr/include -DDIG_SIGCHASE -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_PTHREAD=1 -pthread -c net.c gcc -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/include/bind9 -D_REENTRANT -I/usr/include -DDIG_SIGCHASE -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_PTHREAD=1 -pthread -c datafile.c gcc -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/include/bind9 -D_REENTRANT -I/usr/include -DDIG_SIGCHASE -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_PTHREAD=1 -pthread -c os.c gcc -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/include/bind9 -D_REENTRANT -I/usr/include -DDIG_SIGCHASE -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_PTHREAD=1 -pthread -c opt.c gcc -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/include/bind9 -D_REENTRANT -I/usr/include -DDIG_SIGCHASE -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_PTHREAD=1 -pthread -c dns.c BUILDSTDERR: In file included from dns.c:44: BUILDSTDERR: dns.c: In function 'name_fromstring': BUILDSTDERR: /usr/include/bind9/isc/buffer.h:779:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: (_b)->base = _base; \ BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bind9/isc/buffer.h:985:27: note: in expansion of macro 'ISC__BUFFER_INIT' BUILDSTDERR: #define isc_buffer_init ISC__BUFFER_INIT BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c:187:2: note: in expansion of macro 'isc_buffer_init' BUILDSTDERR: isc_buffer_init(&buffer, str, len); BUILDSTDERR: ^~~~~~~~~~~~~~~ ar rv libperf.a datafile.o dns.o log.o net.o opt.o os.o a - datafile.o a - dns.o a - log.o a - net.o a - opt.o a - os.o ranlib libperf.a BUILDSTDERR: ar: creating libperf.a gcc -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/include/bind9 -D_REENTRANT -I/usr/include -DDIG_SIGCHASE -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_PTHREAD=1 -pthread -c dnsperf.c BUILDSTDERR: dnsperf.c: In function 'main': BUILDSTDERR: dnsperf.c:1149:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(threadpipe[1], "", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dnsperf.c: In function 'handle_sigint': BUILDSTDERR: dnsperf.c:204:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(intrpipe[1], "", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dnsperf.c: In function 'do_send': BUILDSTDERR: dnsperf.c:688:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(mainpipe[1], "", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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/include/bind9 -D_REENTRANT -I/usr/include -DDIG_SIGCHASE -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_PTHREAD=1 -pthread -c resperf.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pthread dnsperf.o libperf.a -L/usr/lib64 -lbind9 -ldns -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcrypto -lisccfg -lisc -lcrypto -ldl -lcap -lpthread -lm -lGeoIP -L/usr/lib -lxml2 -lz -llzma -lm -ldl -lm -o dnsperf gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pthread resperf.o libperf.a -L/usr/lib64 -lbind9 -ldns -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcrypto -lisccfg -lisc -lcrypto -ldl -lcap -lpthread -lm -lGeoIP -L/usr/lib -lxml2 -lz -llzma -lm -ldl -lm -o resperf + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9w9IZy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64 + cd dnsperf-src-2.1.0.0-1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/share/man/man1 /usr/bin/install -p dnsperf /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/bin /usr/bin/install -p resperf /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/bin /usr/bin/install -p resperf-report /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/bin /usr/bin/install -p -m 644 dnsperf.1 /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 resperf.1 /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/share/man/man1 + install contrib/queryparse/queryparse /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64//usr/bin + install -D -m 644 contrib/queryparse/queryparse.1 /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64//usr/share/man/man1/queryparse.1 + gzip /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64//usr/share/man/man1/queryparse.1 + mkdir -p /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/share/dnsperf + gunzip -c /builddir/build/SOURCES/queryfile-example-current.gz + chmod 644 /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/share/dnsperf/queryfile-example-current + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.1.0.0-17.fc30 --unique-debug-suffix -2.1.0.0-17.fc30.riscv64 --unique-debug-src-base dnsperf-2.1.0.0-17.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dnsperf-src-2.1.0.0-1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/bin/dnsperf explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/bin/resperf extracting debug info from /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/bin/dnsperf extracting debug info from /builddir/build/BUILDROOT/dnsperf-2.1.0.0-17.fc30.riscv64/usr/bin/resperf /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 210 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/queryparse: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. mangling shebang in /usr/bin/resperf-report from /bin/sh to #!/usr/bin/sh BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.9w9IZy (%install) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.9w9IZy (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, 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/dnsperf.spec