ibcapstone.a -o test_sparc.static cc -L.. test_systemz.o -lcapstone -o test_systemz cc -L.. test_systemz.o ../libcapstone.a -o test_systemz.static cc -L.. test_x86.o -lcapstone -o test_x86 cc -L.. test_x86.o ../libcapstone.a -o test_x86.static cc -L.. test_xcore.o -lcapstone -o test_xcore cc -L.. test_xcore.o ../libcapstone.a -o test_xcore.static make[1]: Leaving directory '/builddir/build/BUILD/capstone-e710e4fcf40302c25d7bdc28da93571a61f21f5d/tests' install -m0644 ./libcapstone.so ./tests/ + sed -i 's;/builddir/build/BUILDROOT/capstone-3.0.4-17.fc29.riscv64;;' capstone.pc + grep -v archive capstone.pc + mv capstone.pc.tmp capstone.pc ~/build/BUILD/capstone-e710e4fcf40302c25d7bdc28da93571a61f21f5d/bindings/python ~/build/BUILD/capstone-e710e4fcf40302c25d7bdc28da93571a61f21f5d + pushd bindings/python + 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' + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib creating build/lib/capstone copying capstone/arm64.py -> build/lib/capstone copying capstone/ppc.py -> build/lib/capstone copying capstone/x86.py -> build/lib/capstone copying capstone/sparc_const.py -> build/lib/capstone copying capstone/systemz.py -> build/lib/capstone copying capstone/xcore.py -> build/lib/capstone copying capstone/sparc.py -> build/lib/capstone copying capstone/mips_const.py -> build/lib/capstone copying capstone/x86_const.py -> build/lib/capstone copying capstone/arm_const.py -> build/lib/capstone copying capstone/xcore_const.py -> build/lib/capstone copying capstone/mips.py -> build/lib/capstone copying capstone/arm64_const.py -> build/lib/capstone copying capstone/sysz_const.py -> build/lib/capstone copying capstone/__init__.py -> build/lib/capstone copying capstone/arm.py -> build/lib/capstone copying capstone/ppc_const.py -> build/lib/capstone running build_clib running custom_build_clib + 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' + /usr/bin/python3 setup.py build running build running build_py running build_clib running custom_build_clib ~/build/BUILD/capstone-e710e4fcf40302c25d7bdc28da93571a61f21f5d ~/build/BUILD/capstone-e710e4fcf40302c25d7bdc28da93571a61f21f5d/bindings/java ~/build/BUILD/capstone-e710e4fcf40302c25d7bdc28da93571a61f21f5d + popd + pushd bindings/java + make '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' cd ../ && python const_generator.py java BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: make: *** [Makefile:50: gen_const] Error 127 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.LTcQY5 (%build) RPM build errors: BUILDSTDERR: line 69: second Summary BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.LTcQY5 (%build) 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/capstone.spec