: in from jnius import JavaMultipleMethod, JavaException ../../../BUILDROOT/python-jnius-1.3.0-5.fc33.riscv64/usr/lib64/python3.9/site-packages/jnius/__init__.py:42: in from .reflect import * # noqa ../../../BUILDROOT/python-jnius-1.3.0-5.fc33.riscv64/usr/lib64/python3.9/site-packages/jnius/reflect.py:20: in class Class(with_metaclass(MetaJavaClass, JavaClass)): /usr/lib/python3.9/site-packages/six.py:856: in __new__ return meta(name, resolved_bases, d) jnius/jnius_export_class.pxi:119: in jnius.MetaJavaClass.__new__ ??? jnius/jnius_export_class.pxi:179: in jnius.MetaJavaClass.resolve_class ??? jnius/jnius_env.pxi:11: in jnius.get_jnienv ??? jnius/jnius_jvm_dlopen.pxi:134: in jnius.get_platform_jnienv ??? jnius/jnius_jvm_dlopen.pxi:87: in jnius.create_jnienv ??? ../../../BUILDROOT/python-jnius-1.3.0-5.fc33.riscv64/usr/lib64/python3.9/site-packages/jnius/env.py:261: in get_jnius_lib_location raise RuntimeError( E RuntimeError: E Unable to find libjvm.so, (tried ['/usr/lib/jvm/java/lib/server/libjvm.so', '/usr/lib/jvm/java/jre/lib/i386/default/libjvm.so', '/usr/lib/jvm/java/jre/lib/i386/server/libjvm.so']) E you can use the JVM_PATH env variable with the relative path E from JAVA_HOME to libjvm.so to override this lookup, if you know E where pyjnius should look for it. E E e.g: E export JAVA_HOME=/usr/lib/jvm/java-8-oracle/ E export JVM_PATH=./jre/lib/amd64/server/libjvm.so E # run your program ------------------------------- Captured stdout -------------------------------- WARNING: Not able to assign machine() = riscv64 to a cpu value! Using cpu = 'i386' instead! =========================== short test summary info ============================ ERROR test_arraylist.py - RuntimeError: ERROR test_assignable.py - RuntimeError: ERROR test_bad_declaration.py - RuntimeError: ERROR test_basics.py - RuntimeError: ERROR test_bytearray.py - RuntimeError: ERROR test_cast.py - RuntimeError: ERROR test_chars_and_strings.py - RuntimeError: ERROR test_class_argument.py - RuntimeError: ERROR test_closeable.py - RuntimeError: ERROR test_collections.py - RuntimeError: ERROR test_comparable.py - RuntimeError: ERROR test_constructor.py - RuntimeError: ERROR test_dir.py - RuntimeError: ERROR test_enum.py - RuntimeError: ERROR test_export_class.py - RuntimeError: ERROR test_implementation.py - RuntimeError: ERROR test_int_vs_long.py - RuntimeError: ERROR test_interface.py - RuntimeError: ERROR test_method_multiple_signatures.py - RuntimeError: ERROR test_multidimension.py - RuntimeError: ERROR test_object_args.py - RuntimeError: ERROR test_output_args.py - RuntimeError: ERROR test_proxy.py - RuntimeError: ERROR test_reflect.py - RuntimeError: ERROR test_signature.py - RuntimeError: ERROR test_simple.py - RuntimeError: ERROR test_visibility_all.py - RuntimeError: ERROR test_visibility_package_protected.py - RuntimeError: ERROR test_visibility_public_only.py - RuntimeError: ERROR test_visibility_public_protected.py - RuntimeError: !!!!!!!!!!!!!!!!!!! Interrupted: 30 errors during collection !!!!!!!!!!!!!!!!!!! ============================= 30 errors in 37.64s ============================== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.dKYZPf (%check) Bad exit status from /var/tmp/rpm-tmp.dKYZPf (%check) 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/python-jnius.spec