oot>\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python3.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': 'C.UTF-8'} and shell False BUILDSTDERR: warning: line 312: It's not recommended to have unversioned Obsoletes: Obsoletes: python38 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 548: %endif # with debug_build BUILDSTDERR: warning: extra tokens at the end of %else directive in line 550: %else # with flatpackage BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 574: %endif # with flatpackage BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 715: %endif # with debug_build BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 752: %endif # with gdb_hooks BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 791: %endif # with gdb_hooks BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 826: %endif # with debug_build BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 1050: %endif # with debug_build BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 1053: %endif # with tests BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 1509: %endif # with debug_build Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1571011200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JdKBcB + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/redhat/gpgverify --keyring /builddir/build/SOURCES/pubkeys.txt --signature /builddir/build/SOURCES/Python-3.8.0.tar.xz.asc --data /builddir/build/SOURCES/Python-3.8.0.tar.xz BUILDSTDERR: gpgverify: Unknown parameter: "--keyring" BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.JdKBcB (%prep) RPM build errors: BUILDSTDERR: line 312: It's not recommended to have unversioned Obsoletes: Obsoletes: python38 BUILDSTDERR: extra tokens at the end of %endif directive in line 548: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %else directive in line 550: %else # with flatpackage BUILDSTDERR: extra tokens at the end of %endif directive in line 574: %endif # with flatpackage BUILDSTDERR: extra tokens at the end of %endif directive in line 715: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %endif directive in line 752: %endif # with gdb_hooks BUILDSTDERR: extra tokens at the end of %endif directive in line 791: %endif # with gdb_hooks BUILDSTDERR: extra tokens at the end of %endif directive in line 826: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %endif directive in line 1050: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %endif directive in line 1053: %endif # with tests BUILDSTDERR: extra tokens at the end of %endif directive in line 1509: %endif # with debug_build BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.JdKBcB (%prep) 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/python3.spec