Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-jnius.spec'], chrootPath='/var/lib/mock/f40-build-793528-138981/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': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1708905600 Wrote: /builddir/build/SRPMS/python-jnius-1.6.1-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-jnius.spec'], chrootPath='/var/lib/mock/f40-build-793528-138981/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': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1708905600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NhIYt0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyjnius-1.6.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyjnius-1.6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyjnius-1.6.1 + rm -rf /builddir/build/BUILD/pyjnius-1.6.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pyjnius-1.6.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZnzQWD + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyjnius-1.6.1 + CC=/usr/bin/clang + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' warning: [options] bootstrap class path not set in conjunction with -source 8 warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 4 warnings running build running build_py creating build creating build/lib.linux-riscv64-cpython-312 copying jnius_config.py -> build/lib.linux-riscv64-cpython-312 copying setup_sdist.py -> build/lib.linux-riscv64-cpython-312 creating build/lib.linux-riscv64-cpython-312/jnius copying jnius/__init__.py -> build/lib.linux-riscv64-cpython-312/jnius copying jnius/env.py -> build/lib.linux-riscv64-cpython-312/jnius copying jnius/reflect.py -> build/lib.linux-riscv64-cpython-312/jnius copying jnius/signatures.py -> build/lib.linux-riscv64-cpython-312/jnius creating build/lib.linux-riscv64-cpython-312/jnius/src creating build/lib.linux-riscv64-cpython-312/jnius/src/org creating build/lib.linux-riscv64-cpython-312/jnius/src/org/jnius copying jnius/src/org/jnius/NativeInvocationHandler.java -> build/lib.linux-riscv64-cpython-312/jnius/src/org/jnius copying jnius/src/org/jnius/NativeInvocationHandler.class -> build/lib.linux-riscv64-cpython-312/jnius/src/org/jnius running build_ext warning: jnius/jnius.pyx:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 Compiling jnius/jnius.pyx because it changed. [1/1] Cythonizing jnius/jnius.pyx building 'jnius' extension creating build/temp.linux-riscv64-cpython-312 creating build/temp.linux-riscv64-cpython-312/jnius /usr/bin/clang -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -I/usr/lib/jvm/java-21-openjdk-21.0.2.0.13-2.0.riscv64.fc40.riscv64/include -I/usr/lib/jvm/java-21-openjdk-21.0.2.0.13-2.0.riscv64.fc40.riscv64/include/linux -I/usr/include/python3.12 -c jnius/jnius.c -o build/temp.linux-riscv64-cpython-312/jnius/jnius.o clang: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' [-Wunused-command-line-argument] jnius/jnius.c:22562:75: warning: incompatible pointer types passing 'JNIEnv **' (aka 'const struct JNINativeInterface_ ***') to parameter of type 'void **' [-Wincompatible-pointer-types] 22562 | (void)((__pyx_v_5jnius_jvm[0])->AttachCurrentThread(__pyx_v_5jnius_jvm, (&__pyx_v_env), NULL)); | ^~~~~~~~~~~~~~ jnius/jnius.c:30995:19: warning: assigning to 'jchar *' (aka 'unsigned short *') from 'const jchar *' (aka 'const unsigned short *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 30995 | __pyx_v_j_chars = (__pyx_v_j_env[0])->GetStringChars(__pyx_v_j_env, __pyx_v_j_string, NULL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jnius/jnius.c:43709:30: warning: incompatible pointer types assigning to 'jobject' (aka 'struct _jobject *') from 'jobject *' (aka 'struct _jobject **'); dereference with * [-Wincompatible-pointer-types] 43709 | (__pyx_v_jargs[0]) = ((jobject *)__pyx_v_classLoader); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | *( ) jnius/jnius.c:43718:30: warning: incompatible pointer types assigning to 'jobject' (aka 'struct _jobject *') from 'jclass *' (aka 'struct _jobject **'); dereference with * [-Wincompatible-pointer-types] 43718 | (__pyx_v_jargs[1]) = __pyx_v_interfaces; | ^ ~~~~~~~~~~~~~~~~~~ | * jnius/jnius.c:61425:36: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 61425 | (__pyx_v_invoke_methods[0]).name = ((char const *)"invoke0"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ jnius/jnius.c:61434:41: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 61434 | (__pyx_v_invoke_methods[0]).signature = ((char const *)"(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. /usr/bin/clang -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer build/temp.linux-riscv64-cpython-312/jnius/jnius.o -L/usr/lib64 -o build/lib.linux-riscv64-cpython-312/jnius/jnius.cpython-312-riscv64-linux-gnu.so clang: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-package-notes' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' [-Wunused-command-line-argument] + make -j4 -C docs 'SPHINXBUILD=sphinx-build-3 -j${RPM_BUILD_NCPUS}' html make: Entering directory '/builddir/build/BUILD/pyjnius-1.6.1/docs' sphinx-build-3 -j4 -b html -d build/doctrees source build/html Running Sphinx v7.2.6 making output directory... done WARNING: html_static_path entry '_static' does not exist building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 6 source files that are out of date updating environment: [new config] 6 added, 0 changed, 0 removed reading sources... [ 17%] android reading sources... [ 33%] api reading sources... [ 50%] index reading sources... [ 67%] installation reading sources... [ 83%] packaging reading sources... [100%] quickstart looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done done writing output... [ 20%] api writing output... [ 40%] index writing output... [ 60%] installation writing output... [ 80%] packaging writing output... [100%] quickstart generating indices... genindex py-modindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 1 warning. The HTML pages are in build/html. Build finished. The HTML pages are in build/html. make: Leaving directory '/builddir/build/BUILD/pyjnius-1.6.1/docs' + ant all Buildfile: /builddir/build/BUILD/pyjnius-1.6.1/build.xml compile: [mkdir] Created dir: /builddir/build/BUILD/pyjnius-1.6.1/build/classes [javac] Compiling 1 source file to /builddir/build/BUILD/pyjnius-1.6.1/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 8 [javac] warning: [options] source value 8 is obsolete and will be removed in a future release [javac] warning: [options] target value 8 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] 4 warnings jar: [jar] Building jar: /builddir/build/BUILD/pyjnius-1.6.1/build/pyjnius.jar test-compile: [mkdir] Created dir: /builddir/build/BUILD/pyjnius-1.6.1/build/test-classes [javac] Compiling 18 source files to /builddir/build/BUILD/pyjnius-1.6.1/build/test-classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 8 [javac] warning: [options] source value 8 is obsolete and will be removed in a future release [javac] warning: [options] target value 8 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] 4 warnings all: BUILD SUCCESSFUL Total time: 9 seconds + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2OPmiH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyjnius-1.6.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64 --prefix /usr warning: [options] bootstrap class path not set in conjunction with -source 8 warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 4 warnings running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr creating /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12 creating /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages copying build/lib.linux-riscv64-cpython-312/jnius_config.py -> /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages copying build/lib.linux-riscv64-cpython-312/setup_sdist.py -> /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages creating /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius copying build/lib.linux-riscv64-cpython-312/jnius/reflect.py -> /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius copying build/lib.linux-riscv64-cpython-312/jnius/__init__.py -> /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius copying build/lib.linux-riscv64-cpython-312/jnius/signatures.py -> /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius copying build/lib.linux-riscv64-cpython-312/jnius/env.py -> /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius copying build/lib.linux-riscv64-cpython-312/jnius/jnius.cpython-312-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius creating /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius/src creating /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius/src/org creating /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius/src/org/jnius copying build/lib.linux-riscv64-cpython-312/jnius/src/org/jnius/NativeInvocationHandler.java -> /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius/src/org/jnius copying build/lib.linux-riscv64-cpython-312/jnius/src/org/jnius/NativeInvocationHandler.class -> /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius/src/org/jnius byte-compiling /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius_config.py to jnius_config.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/setup_sdist.py to setup_sdist.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius/reflect.py to reflect.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius/signatures.py to signatures.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/jnius/env.py to env.cpython-312.pyc writing byte-compilation script '/tmp/tmp4t83dsw9.py' /usr/bin/python3 /tmp/tmp4t83dsw9.py removing /tmp/tmp4t83dsw9.py running install_egg_info running egg_info creating pyjnius.egg-info writing pyjnius.egg-info/PKG-INFO writing dependency_links to pyjnius.egg-info/dependency_links.txt writing requirements to pyjnius.egg-info/requires.txt writing top-level names to pyjnius.egg-info/top_level.txt writing manifest file 'pyjnius.egg-info/SOURCES.txt' reading manifest file 'pyjnius.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pyjnius.egg-info/SOURCES.txt' Copying pyjnius.egg-info to /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages/pyjnius-1.6.1-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.6.1-1.fc40 --unique-debug-suffix -1.6.1-1.fc40.riscv64 --unique-debug-src-base python-jnius-1.6.1-1.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pyjnius-1.6.1 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python-jnius-1.6.1-1.fc40.riscv64 6244 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12 using python3.12 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib/debug/usr/lib64/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.mZpDNy + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS ~/build/BUILD/pyjnius-1.6.1/tests ~/build/BUILD/pyjnius-1.6.1 + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyjnius-1.6.1 + pushd tests + export CLASSPATH=../build/test-classes:../build/classes + CLASSPATH=../build/test-classes:../build/classes + export JAVA_HOME=/usr/lib/jvm/java + JAVA_HOME=/usr/lib/jvm/java + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-jnius-1.6.1-1.fc40.riscv64/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + /usr/bin/pytest -v ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/pyjnius-1.6.1 collecting ... collected 165 items test_arraylist.py::ArrayListTest::test_other_dunders PASSED [ 0%] test_arraylist.py::ArrayListTest::test_output PASSED [ 1%] test_assignable.py::AssignableFrom::test_assignable PASSED [ 1%] test_bad_declaration.py::BadDeclarationTest::test_class_not_found PASSED [ 2%] test_bad_declaration.py::BadDeclarationTest::test_invalid_attribute PASSED [ 3%] test_bad_declaration.py::BadDeclarationTest::test_invalid_static_call PASSED [ 3%] test_bad_declaration.py::BadDeclarationTest::test_java_exception_chaining PASSED [ 4%] test_bad_declaration.py::BadDeclarationTest::test_java_exception_handling PASSED [ 4%] test_bad_declaration.py::BadDeclarationTest::test_with_too_much_arguments PASSED [ 5%] test_basics.py::BasicsTest::test_instance_fields PASSED [ 6%] test_basics.py::BasicsTest::test_instance_getter_naming PASSED [ 6%] test_basics.py::BasicsTest::test_instance_methods PASSED [ 7%] test_basics.py::BasicsTest::test_instance_set_fields PASSED [ 7%] test_basics.py::BasicsTest::test_instances_methods_array PASSED [ 8%] test_basics.py::BasicsTest::test_instances_methods_params PASSED [ 9%] test_basics.py::BasicsTest::test_instances_methods_params_array_byte PASSED [ 9%] test_basics.py::BasicsTest::test_instances_methods_params_object_list_float PASSED [ 10%] test_basics.py::BasicsTest::test_instances_methods_params_object_list_int PASSED [ 10%] test_basics.py::BasicsTest::test_instances_methods_params_object_list_str PASSED [ 11%] test_basics.py::BasicsTest::test_return_array_as_object_array_of_strings PASSED [ 12%] test_basics.py::BasicsTest::test_return_array_as_object_of_integers PASSED [ 12%] test_basics.py::BasicsTest::test_static_fields PASSED [ 13%] test_basics.py::BasicsTest::test_static_methods PASSED [ 13%] test_bytearray.py::StringArgumentForByteArrayTest::test_bytearray_ascii PASSED [ 14%] test_bytearray.py::StringArgumentForByteArrayTest::test_create_bytearray PASSED [ 15%] test_bytearray.py::StringArgumentForByteArrayTest::test_empty_bytearray PASSED [ 15%] test_bytearray.py::StringArgumentForByteArrayTest::test_fill_byte_array PASSED [ 16%] test_bytearray.py::StringArgumentForByteArrayTest::test_string_arg_for_byte_array PASSED [ 16%] test_bytearray.py::StringArgumentForByteArrayTest::test_string_arg_with_signed_char PASSED [ 17%] test_cast.py::MultipleSignatureTest::test_mmap_toString PASSED [ 18%] test_cast.py::MultipleSignatureTest::test_multiple_constructors PASSED [ 18%] test_chars_and_strings.py::CharsAndStringsTest::test_char_array PASSED [ 19%] test_chars_and_strings.py::CharsAndStringsTest::test_char_fields PASSED [ 20%] test_chars_and_strings.py::CharsAndStringsTest::test_char_methods PASSED [ 20%] test_chars_and_strings.py::CharsAndStringsTest::test_java_string PASSED [ 21%] test_chars_and_strings.py::CharsAndStringsTest::test_pass_intfloat_as_string PASSED [ 21%] test_chars_and_strings.py::CharsAndStringsTest::test_pass_string_as_int PASSED [ 22%] test_chars_and_strings.py::CharsAndStringsTest::test_static_char_array PASSED [ 23%] test_chars_and_strings.py::CharsAndStringsTest::test_string_fields PASSED [ 23%] test_chars_and_strings.py::CharsAndStringsTest::test_string_methods PASSED [ 24%] test_class_argument.py::BasicsTest::test_static_methods PASSED [ 24%] test_closeable.py::TestCloseable::test_our_closeable PASSED [ 25%] test_closeable.py::TestCloseable::test_protocol_map PASSED [ 26%] test_closeable.py::TestCloseable::test_stringreader_closeable PASSED [ 26%] test_collections.py::TestCollections::test_hashmap PASSED [ 27%] test_collections.py::TestCollections::test_hashset PASSED [ 27%] test_comparable.py::ComparableTest::test_compare_integer PASSED [ 28%] test_constructor.py::TestConstructor::test_constructor_exception PASSED [ 29%] test_constructor.py::TestConstructor::test_constructor_int PASSED [ 29%] test_constructor.py::TestConstructor::test_constructor_int_string PASSED [ 30%] test_constructor.py::TestConstructor::test_constructor_multiobj PASSED [ 30%] test_constructor.py::TestConstructor::test_constructor_none PASSED [ 31%] test_constructor.py::TestConstructor::test_constructor_string PASSED [ 32%] test_dir.py::DirTest::test_array_signatures PASSED [ 32%] test_dir.py::DirTest::test_signatures PASSED [ 33%] test_dir.py::DirTest::test_varargs_signatures PASSED [ 33%] test_enum.py::TestSimpleEnum::test_enum PASSED [ 34%] test_enum.py::TestSimpleEnum::test_value PASSED [ 35%] test_enum.py::TestSimpleEnum::test_value_nested PASSED [ 35%] test_export_class.py::ExportClassTest::test_is_instance PASSED [ 36%] test_export_class.py::ExportClassTest::test_is_subclass PASSED [ 36%] test_export_class.py::ExportClassTest::test_subclasses_work_for_arg_matching PASSED [ 37%] test_implementation.py::ImplementationTest::test_printf PASSED [ 38%] test_implementation.py::ImplementationTest::test_println PASSED [ 38%] test_implementation.py::ImplementationTest::test_unicode PASSED [ 39%] test_inheritance.py::test_methodcalls PASSED [ 40%] test_inheritance.py::test_fields PASSED [ 40%] test_inheritance.py::test_staticfields PASSED [ 41%] test_inheritance.py::test_newinstance PASSED [ 41%] test_int_vs_long.py::TestIntLongConversion::test_reverse PASSED [ 42%] test_interface.py::Interface::test_reflect_enum_in_interface PASSED [ 43%] test_interface.py::Interface::test_reflect_interface PASSED [ 43%] test_jnius_config.py::TestJniusConfig::test_set_options_vm_running[set_options-args0] PASSED [ 44%] test_jnius_config.py::TestJniusConfig::test_set_options_vm_running[add_options-args1] PASSED [ 44%] test_jnius_config.py::TestJniusConfig::test_set_options_vm_running[set_classpath-args2] PASSED [ 45%] test_jnius_config.py::TestJniusConfig::test_set_options_vm_running[add_classpath-args3] PASSED [ 46%] test_jnius_config.py::TestJniusConfig::test_set_options PASSED [ 46%] test_jnius_config.py::TestJniusConfig::test_add_options PASSED [ 47%] test_jnius_config.py::TestJniusConfig::test_set_classpath PASSED [ 47%] test_jnius_config.py::TestJniusConfig::test_add_classpath PASSED [ 48%] test_jvm_options.py::TestJVMOptions::test_jvm_options FAILED [ 49%] test_lambdas.py::TestLambdas::testCallable PASSED [ 49%] test_lambdas.py::TestLambdas::testComparator PASSED [ 50%] test_lambdas.py::TestLambdas::testJavaUtilFunction PASSED [ 50%] test_method_multiple_signatures.py::MultipleSignature::test_multiple_constructors PASSED [ 51%] test_method_multiple_signatures.py::MultipleSignature::test_multiple_constructors_varargs PASSED [ 52%] test_method_multiple_signatures.py::MultipleSignature::test_multiple_methods PASSED [ 52%] test_method_multiple_signatures.py::MultipleSignature::test_multiple_methods_no_args PASSED [ 53%] test_method_multiple_signatures.py::MultipleSignature::test_multiple_methods_one_arg PASSED [ 53%] test_method_multiple_signatures.py::MultipleSignature::test_multiple_methods_one_int_one_actual_long_and_a_string PASSED [ 54%] test_method_multiple_signatures.py::MultipleSignature::test_multiple_methods_one_int_one_small_long_and_a_string PASSED [ 55%] test_method_multiple_signatures.py::MultipleSignature::test_multiple_methods_two_args PASSED [ 55%] test_method_multiple_signatures.py::MultipleSignature::test_multiple_methods_two_args_and_varargs PASSED [ 56%] test_method_multiple_signatures.py::MultipleSignature::test_multiple_methods_two_string_and_an_integer PASSED [ 56%] test_method_multiple_signatures.py::MultipleSignature::test_multiple_methods_two_string_and_two_integers PASSED [ 57%] test_method_multiple_signatures.py::MultipleSignature::test_multiple_methods_varargs PASSED [ 58%] test_multidimension.py::MultipleDimensionsTest::test_multiple_dimensions PASSED [ 58%] test_object_args.py::ArgumentsTest::test_argument_emptybytes PASSED [ 59%] test_object_args.py::ArgumentsTest::test_argument_emptylist PASSED [ 60%] test_object_args.py::ArgumentsTest::test_argument_emptytuple PASSED [ 60%] test_object_args.py::ArgumentsTest::test_argument_emptyunicode PASSED [ 61%] test_object_args.py::ArgumentsTest::test_argument_list_emptylist PASSED [ 61%] test_object_args.py::ArgumentsTest::test_argument_list_none PASSED [ 62%] test_object_args.py::ArgumentsTest::test_argument_none PASSED [ 63%] test_object_args.py::ArgumentsTest::test_argument_tuple_emptytuple PASSED [ 63%] test_object_args.py::ArgumentsTest::test_argument_tuple_none PASSED [ 64%] test_output_args.py::OutputArgs::test_string_output_args PASSED [ 64%] test_pass_by_reference_or_value.py::PassByReferenceOrValueTest::test_contructor_multiple_params PASSED [ 65%] test_pass_by_reference_or_value.py::PassByReferenceOrValueTest::test_contructor_single_param PASSED [ 66%] test_pass_by_reference_or_value.py::PassByReferenceOrValueTest::test_multiple_params PASSED [ 66%] test_pass_by_reference_or_value.py::PassByReferenceOrValueTest::test_multiple_params_static PASSED [ 67%] test_pass_by_reference_or_value.py::PassByReferenceOrValueTest::test_single_param PASSED [ 67%] test_pass_by_reference_or_value.py::PassByReferenceOrValueTest::test_single_param_static PASSED [ 68%] test_reflect.py::ReflectTest::test_class PASSED [ 69%] test_reflect.py::ReflectTest::test_collection PASSED [ 69%] test_reflect.py::ReflectTest::test_hierharchy_arraylist FAILED [ 70%] test_reflect.py::ReflectTest::test_hierharchy_queue PASSED [ 70%] test_reflect.py::ReflectTest::test_list_interface PASSED [ 71%] test_reflect.py::ReflectTest::test_list_iteration PASSED [ 72%] test_reflect.py::ReflectTest::test_stack PASSED [ 72%] test_reflect.py::ReflectTest::test_super_interface PASSED [ 73%] test_reflect.py::ReflectTest::test_super_interface_object PASSED [ 73%] test_reflect.py::ReflectTest::test_super_object PASSED [ 74%] test_signature.py::SignaturesTest::test_construct_stack_from_testimplem PASSED [ 75%] test_signature.py::SignaturesTest::test_params PASSED [ 75%] test_signature.py::SignaturesTest::test_return_types PASSED [ 76%] test_simple.py::HelloWorldTest::test_helloworld PASSED [ 76%] test_static.py::TestStatic::test_method PASSED [ 77%] test_static.py::TestStatic::test_multiplemethod PASSED [ 78%] test_visibility_all.py::VisibilityAllTest::test_check_method_vs_field PASSED [ 78%] test_visibility_all.py::VisibilityAllTest::test_check_method_vs_property PASSED [ 79%] test_visibility_all.py::VisibilityAllTest::test_child_fields_all PASSED [ 80%] test_visibility_all.py::VisibilityAllTest::test_child_methods_all PASSED [ 80%] test_visibility_all.py::VisibilityAllTest::test_child_static_fields_all PASSED [ 81%] test_visibility_all.py::VisibilityAllTest::test_child_static_methods_all PASSED [ 81%] test_visibility_all.py::VisibilityAllTest::test_fields_all PASSED [ 82%] test_visibility_all.py::VisibilityAllTest::test_methods_all PASSED [ 83%] test_visibility_all.py::VisibilityAllTest::test_multi_methods PASSED [ 83%] test_visibility_all.py::VisibilityAllTest::test_static_fields_all PASSED [ 84%] test_visibility_all.py::VisibilityAllTest::test_static_methods_all PASSED [ 84%] test_visibility_all.py::VisibilityAllTest::test_static_multi_methods PASSED [ 85%] test_visibility_package_protected.py::VisibilityPackageProtectedTest::test_child_fields_package_protected PASSED [ 86%] test_visibility_package_protected.py::VisibilityPackageProtectedTest::test_child_methods_package_protected PASSED [ 86%] test_visibility_package_protected.py::VisibilityPackageProtectedTest::test_child_static_fields_package_protected PASSED [ 87%] test_visibility_package_protected.py::VisibilityPackageProtectedTest::test_child_static_methods_package_protected PASSED [ 87%] test_visibility_public_only.py::VisibilityPublicOnlyTest::test_child_fields_public_only PASSED [ 88%] test_visibility_public_only.py::VisibilityPublicOnlyTest::test_child_methods_public_only PASSED [ 89%] test_visibility_public_only.py::VisibilityPublicOnlyTest::test_child_static_fields_public_only PASSED [ 89%] test_visibility_public_only.py::VisibilityPublicOnlyTest::test_child_static_methods_public_only PASSED [ 90%] test_visibility_public_only.py::VisibilityPublicOnlyTest::test_fields_public_only PASSED [ 90%] test_visibility_public_only.py::VisibilityPublicOnlyTest::test_methods_public_only PASSED [ 91%] test_visibility_public_only.py::VisibilityPublicOnlyTest::test_multi_methods PASSED [ 92%] test_visibility_public_only.py::VisibilityPublicOnlyTest::test_static_fields_public_only PASSED [ 92%] test_visibility_public_only.py::VisibilityPublicOnlyTest::test_static_methods_public_only PASSED [ 93%] test_visibility_public_only.py::VisibilityPublicOnlyTest::test_static_multi_methods PASSED [ 93%] test_visibility_public_protected.py::VisibilityPublicProtectedTest::test_child_fields_public_protected PASSED [ 94%] test_visibility_public_protected.py::VisibilityPublicProtectedTest::test_child_methods_public_protected PASSED [ 95%] test_visibility_public_protected.py::VisibilityPublicProtectedTest::test_child_static_fields_public_protected PASSED [ 95%] test_visibility_public_protected.py::VisibilityPublicProtectedTest::test_child_static_methods_public_protected PASSED [ 96%] test_visibility_public_protected.py::VisibilityPublicProtectedTest::test_fields_public_protected PASSED [ 96%] test_visibility_public_protected.py::VisibilityPublicProtectedTest::test_methods_public_protected PASSED [ 97%] test_visibility_public_protected.py::VisibilityPublicProtectedTest::test_multi_methods PASSED [ 98%] test_visibility_public_protected.py::VisibilityPublicProtectedTest::test_static_fields_public_protected PASSED [ 98%] test_visibility_public_protected.py::VisibilityPublicProtectedTest::test_static_methods_public_protected PASSED [ 99%] test_visibility_public_protected.py::VisibilityPublicProtectedTest::test_static_multi_methods PASSED [100%] =================================== FAILURES =================================== _______________________ TestJVMOptions.test_jvm_options ________________________ self = @pytest.mark.skipif( sys.platform == 'android', reason='JNIus on Android does not take JVM options' ) def test_jvm_options(self): options = ['-Dtest.var{}=value'.format(i) for i in range(40)] process = subprocess.Popen([sys.executable, '-c', textwrap.dedent( '''\ import jnius_config import json import sys jnius_config.set_options(*json.load(sys.stdin)) import jnius ManagementFactory = jnius.autoclass("java.lang.management.ManagementFactory") json.dump(list(ManagementFactory.getRuntimeMXBean().getInputArguments()), sys.stdout)''')], bufsize=-1, stdin=subprocess.PIPE, stdout=subprocess.PIPE) stdoutdata, _ = process.communicate(json.dumps(options).encode()) assert process.wait() == 0 > actual_options = json.loads(stdoutdata.decode()) test_jvm_options.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.12/json/__init__.py:346: in loads return _default_decoder.decode(s) /usr/lib64/python3.12/json/decoder.py:337: in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = s = 'WARNING: Not able to assign machine() = riscv64 to a cpu value!\n Using cpu = \'riscv64\' instead!\n["-Dtest....=value", "-Dtest.var35=value", "-Dtest.var36=value", "-Dtest.var37=value", "-Dtest.var38=value", "-Dtest.var39=value"]' idx = 0 def raw_decode(self, s, idx=0): """Decode a JSON document from ``s`` (a ``str`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ try: obj, end = self.scan_once(s, idx) except StopIteration as err: > raise JSONDecodeError("Expecting value", s, err.value) from None E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) /usr/lib64/python3.12/json/decoder.py:355: JSONDecodeError ____________________ ReflectTest.test_hierharchy_arraylist _____________________ self = def test_hierharchy_arraylist(self): d = identify_hierarchy_dict(find_javaclass("java.util.ArrayList"), 0, True) self.assertContains(d, "java.util.ArrayList")# concrete self.assertContains(d, "java.util.AbstractCollection")# superclass self.assertContains(d, "java.util.Collection")# interface self.assertContains(d, "java.lang.Iterable")# interface self.assertContains(d, "java.lang.Object")# root maxLevel = max(d.values()) > self.assertEqual(d["java.lang.Object"], maxLevel) E AssertionError: 3 != 4 test_reflect.py:38: AssertionError =========================== short test summary info ============================ FAILED test_jvm_options.py::TestJVMOptions::test_jvm_options - json.decoder.J... FAILED test_reflect.py::ReflectTest::test_hierharchy_arraylist - AssertionErr... ======================== 2 failed, 163 passed in 13.45s ======================== error: Bad exit status from /var/tmp/rpm-tmp.mZpDNy (%check) Bad exit status from /var/tmp/rpm-tmp.mZpDNy (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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