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/python-jnius.spec'], chrootPath='/var/lib/mock/f29-build-20464-10740/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/python-jnius.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/python-jnius-1.1.1-4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-jnius.spec'], chrootPath='/var/lib/mock/f29-build-20464-10740/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/python-jnius.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mlRRDA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-jnius-1.1.1 + /usr/bin/mkdir -p python-jnius-1.1.1 + cd python-jnius-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pyjnius-1.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv pyjnius-1.1.1 python2 + pushd python2 ~/build/BUILD/python-jnius-1.1.1/python2 ~/build/BUILD/python-jnius-1.1.1 + mv -t.. LICENSE CHANGELOG.md README.md docs + find -name Makefile + xargs sed -i -r -e 's:\$(MAKE):\0 -j4:g' -e /NOSETESTS=/d + popd ~/build/BUILD/python-jnius-1.1.1 + cp -a python2 python3 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pONNzC + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/python-jnius-1.1.1/python2 ~/build/BUILD/python-jnius-1.1.1 + cd python-jnius-1.1.1 + pushd python2 + 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' + 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' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' WARNING: Not able to assign machine() = riscv64 to a cpu value! Using cpu = 'i386' instead! running build running build_py creating build creating build/lib.linux-riscv64-2.7 copying jnius_config.py -> build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/jnius copying jnius/reflect.py -> build/lib.linux-riscv64-2.7/jnius copying jnius/signatures.py -> build/lib.linux-riscv64-2.7/jnius copying jnius/__init__.py -> build/lib.linux-riscv64-2.7/jnius running build_ext cythoning jnius/jnius.pyx to jnius/jnius.c BUILDSTDERR: warning: jnius/jnius.pyx:2:0: __getslice__, __setslice__, and __delslice__ are not supported by Python 3, use __getitem__, __setitem__, and __delitem__ instead building 'jnius' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/jnius gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -fPIC -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.riscv64.7.b01.fc28.riscv64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.riscv64.7.b01.fc28.riscv64/include/linux -I/usr/include/python2.7 -c jnius/jnius.c -o build/temp.linux-riscv64-2.7/jnius/jnius.o BUILDSTDERR: jnius/jnius.c: In function '__pyx_f_5jnius_get_jnienv': BUILDSTDERR: jnius/jnius.c:4118:76: warning: passing argument 2 of '(*__pyx_v_5jnius_jvm)->AttachCurrentThread' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: (void)((__pyx_v_5jnius_jvm[0])->AttachCurrentThread(__pyx_v_5jnius_jvm, (&__pyx_v_env), NULL)); BUILDSTDERR: ~^~~~~~~~~~~~~ BUILDSTDERR: jnius/jnius.c:4118:76: note: expected 'void **' but argument is of type 'const struct JNINativeInterface_ ***' BUILDSTDERR: jnius/jnius.c: In function '__pyx_pf_5jnius_13MetaJavaClass_4resolve_class': BUILDSTDERR: jnius/jnius.c:19396:30: warning: assignment to 'jobject' {aka 'struct _jobject *'} from incompatible pointer type 'struct _jobject **' [-Wincompatible-pointer-types] BUILDSTDERR: (__pyx_v_jargs[0]) = ((jobject *)__pyx_v_classLoader); BUILDSTDERR: ^ BUILDSTDERR: jnius/jnius.c:19405:30: warning: assignment to 'jobject' {aka 'struct _jobject *'} from incompatible pointer type 'struct _jobject **' [-Wincompatible-pointer-types] BUILDSTDERR: (__pyx_v_jargs[1]) = __pyx_v_interfaces; BUILDSTDERR: ^ BUILDSTDERR: jnius/jnius.c: In function '__pyx_f_5jnius_create_proxy_instance': BUILDSTDERR: jnius/jnius.c:34557:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: (__pyx_v_invoke_methods[0]).name = ((char const *)"invoke0"); BUILDSTDERR: ^ BUILDSTDERR: jnius/jnius.c:34566:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: (__pyx_v_invoke_methods[0]).signature = ((char const *)"(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;"); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/python2.7/Python.h:83, BUILDSTDERR: from jnius/jnius.c:4: BUILDSTDERR: jnius/jnius.c: In function 'initjnius': BUILDSTDERR: /usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: ((PyObject*)(op))->ob_refcnt++) BUILDSTDERR: ~^~~~~~~~~~~~~~~~ BUILDSTDERR: jnius/jnius.c:1332:27: note: in expansion of macro 'Py_INCREF' BUILDSTDERR: #define __Pyx_INCREF(r) Py_INCREF(r) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: jnius/jnius.c:52497:3: note: in expansion of macro '__Pyx_INCREF' BUILDSTDERR: __Pyx_INCREF(((PyObject *)(&PyType_Type))); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: jnius/jnius.c: In function '__pyx_f_5jnius_convert_python_to_jobject': BUILDSTDERR: jnius/jnius.c:13496:37: warning: '__pyx_v_retmidinit' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: __pyx_v_retobject = (__pyx_v_j_env[0])->NewObjectA(__pyx_v_j_env, __pyx_v_retclass, __pyx_v_retmidinit, __pyx_v_j_ret); BUILDSTDERR: ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: jnius/jnius.c:13496:37: warning: '__pyx_v_retclass' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 build/temp.linux-riscv64-2.7/jnius/jnius.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/jnius/jnius.so + sleep 1 + make ant all Buildfile: /builddir/build/BUILD/python-jnius-1.1.1/python2/build.xml compile: [mkdir] Created dir: /builddir/build/BUILD/python-jnius-1.1.1/python2/build/classes [javac] Compiling 1 source file to /builddir/build/BUILD/python-jnius-1.1.1/python2/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] 1 warning jar: [jar] Building jar: /builddir/build/BUILD/python-jnius-1.1.1/python2/build/pyjnius.jar test-compile: [mkdir] Created dir: /builddir/build/BUILD/python-jnius-1.1.1/python2/build/test-classes [javac] Compiling 7 source files to /builddir/build/BUILD/python-jnius-1.1.1/python2/build/test-classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] 1 warning all: BUILD SUCCESSFUL Total time: 2 minutes 31 seconds python setup.py build_ext --inplace -f -g BUILDSTDERR: make: python: Command not found BUILDSTDERR: make: *** [Makefile:18: build_ext] Error 127 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.pONNzC (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.pONNzC (%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/python-jnius.spec