Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-jnius.spec'], chrootPath='/var/lib/mock/f41-build-853916-166804/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=604800uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vnweclwr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vnweclwr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e6d3a6b85fe940838eece84cdc676f9b', '-D', '/var/lib/mock/f41-build-853916-166804/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vnweclwr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} 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.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-jnius.spec'], chrootPath='/var/lib/mock/f41-build-853916-166804/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=604800uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vnweclwr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vnweclwr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2f7d33e94af04b08bccfe88b263878ce', '-D', '/var/lib/mock/f41-build-853916-166804/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vnweclwr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1708905600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.zi8XgI + umask 022 + cd /builddir/build/BUILD/python-jnius-1.6.1-build + test -d /builddir/build/BUILD/python-jnius-1.6.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-jnius-1.6.1-build + /usr/bin/rm -rf /builddir/build/BUILD/python-jnius-1.6.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-jnius-1.6.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-jnius-1.6.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8Cv14j + umask 022 + cd /builddir/build/BUILD/python-jnius-1.6.1-build + cd /builddir/build/BUILD/python-jnius-1.6.1-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 + /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.X3UxD1 + umask 022 + cd /builddir/build/BUILD/python-jnius-1.6.1-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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-313 copying jnius_config.py -> build/lib.linux-riscv64-cpython-313 copying setup_sdist.py -> build/lib.linux-riscv64-cpython-313 creating build/lib.linux-riscv64-cpython-313/jnius copying jnius/__init__.py -> build/lib.linux-riscv64-cpython-313/jnius copying jnius/env.py -> build/lib.linux-riscv64-cpython-313/jnius copying jnius/signatures.py -> build/lib.linux-riscv64-cpython-313/jnius copying jnius/reflect.py -> build/lib.linux-riscv64-cpython-313/jnius creating build/lib.linux-riscv64-cpython-313/jnius/src creating build/lib.linux-riscv64-cpython-313/jnius/src/org creating build/lib.linux-riscv64-cpython-313/jnius/src/org/jnius copying jnius/src/org/jnius/NativeInvocationHandler.java -> build/lib.linux-riscv64-cpython-313/jnius/src/org/jnius copying jnius/src/org/jnius/NativeInvocationHandler.class -> build/lib.linux-riscv64-cpython-313/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-313 creating build/temp.linux-riscv64-cpython-313/jnius /usr/bin/clang -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -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 -mno-omit-leaf-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.13 -c jnius/jnius.c -o build/temp.linux-riscv64-cpython-313/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:22591:75: warning: incompatible pointer types passing 'JNIEnv **' (aka 'const struct JNINativeInterface_ ***') to parameter of type 'void **' [-Wincompatible-pointer-types] 22591 | (void)((__pyx_v_5jnius_jvm[0])->AttachCurrentThread(__pyx_v_5jnius_jvm, (&__pyx_v_env), NULL)); | ^~~~~~~~~~~~~~ jnius/jnius.c:31024:19: warning: assigning to 'jchar *' (aka 'unsigned short *') from 'const jchar *' (aka 'const unsigned short *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 31024 | __pyx_v_j_chars = (__pyx_v_j_env[0])->GetStringChars(__pyx_v_j_env, __pyx_v_j_string, NULL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jnius/jnius.c:43742:30: warning: incompatible pointer types assigning to 'jobject' (aka 'struct _jobject *') from 'jobject *' (aka 'struct _jobject **'); dereference with * [-Wincompatible-pointer-types] 43742 | (__pyx_v_jargs[0]) = ((jobject *)__pyx_v_classLoader); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | *( ) jnius/jnius.c:43751:30: warning: incompatible pointer types assigning to 'jobject' (aka 'struct _jobject *') from 'jclass *' (aka 'struct _jobject **'); dereference with * [-Wincompatible-pointer-types] 43751 | (__pyx_v_jargs[1]) = __pyx_v_interfaces; | ^ ~~~~~~~~~~~~~~~~~~ | * jnius/jnius.c:61464:36: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 61464 | (__pyx_v_invoke_methods[0]).name = ((char const *)"invoke0"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ jnius/jnius.c:61473:41: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 61473 | (__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 -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 -mno-omit-leaf-frame-pointer build/temp.linux-riscv64-cpython-313/jnius/jnius.o -L/usr/lib64 -o build/lib.linux-riscv64-cpython-313/jnius/jnius.cpython-313-riscv64-linux-gnu.so 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 -j8 -C docs 'SPHINXBUILD=sphinx-build-3 -j${RPM_BUILD_NCPUS}' html make: Entering directory '/builddir/build/BUILD/python-jnius-1.6.1-build/pyjnius-1.6.1/docs' sphinx-build-3 -j8 -b html -d build/doctrees source build/html Running Sphinx v7.3.7 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/python-jnius-1.6.1-build/pyjnius-1.6.1/docs' + ant all Buildfile: /builddir/build/BUILD/python-jnius-1.6.1-build/pyjnius-1.6.1/build.xml compile: [mkdir] Created dir: /builddir/build/BUILD/python-jnius-1.6.1-build/pyjnius-1.6.1/build/classes [javac] Compiling 1 source file to /builddir/build/BUILD/python-jnius-1.6.1-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/python-jnius-1.6.1-build/pyjnius-1.6.1/build/pyjnius.jar test-compile: [mkdir] Created dir: /builddir/build/BUILD/python-jnius-1.6.1-build/pyjnius-1.6.1/build/test-classes [javac] Compiling 18 source files to /builddir/build/BUILD/python-jnius-1.6.1-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: 10 seconds + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2NCJNF + umask 022 + cd /builddir/build/BUILD/python-jnius-1.6.1-build + '[' /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-jnius-1.6.1-build + mkdir /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT + 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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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/BUILD/python-jnius-1.6.1-build/BUILDROOT --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.13/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/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr creating /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64 creating /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13 creating /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages copying build/lib.linux-riscv64-cpython-313/setup_sdist.py -> /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages copying build/lib.linux-riscv64-cpython-313/jnius_config.py -> /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages creating /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius copying build/lib.linux-riscv64-cpython-313/jnius/jnius.cpython-313-riscv64-linux-gnu.so -> /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius copying build/lib.linux-riscv64-cpython-313/jnius/env.py -> /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius copying build/lib.linux-riscv64-cpython-313/jnius/signatures.py -> /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius copying build/lib.linux-riscv64-cpython-313/jnius/reflect.py -> /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius copying build/lib.linux-riscv64-cpython-313/jnius/__init__.py -> /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius creating /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/src creating /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/src/org creating /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/src/org/jnius copying build/lib.linux-riscv64-cpython-313/jnius/src/org/jnius/NativeInvocationHandler.java -> /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/src/org/jnius copying build/lib.linux-riscv64-cpython-313/jnius/src/org/jnius/NativeInvocationHandler.class -> /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/src/org/jnius byte-compiling /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/setup_sdist.py to setup_sdist.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius_config.py to jnius_config.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/env.py to env.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/signatures.py to signatures.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/reflect.py to reflect.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/__init__.py to __init__.cpython-313.pyc writing byte-compilation script '/tmp/tmp_wbp7xem.py' /usr/bin/python3 /tmp/tmp_wbp7xem.py removing /tmp/tmp_wbp7xem.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/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/pyjnius-1.6.1-py3.13.egg-info running install_scripts + rm -rfv /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.6.1-1.fc41 --unique-debug-suffix -1.6.1-1.fc41.riscv64 --unique-debug-src-base python-jnius-1.6.1-1.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-jnius-1.6.1-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.fc41.riscv64 6233 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 -j8 Bytecompiling .py files below /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13 using python3.13 Bytecompiling .py files below /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/__pycache__/signatures.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/__pycache__/setup_sdist.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/__pycache__/jnius_config.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/__pycache__/reflect.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages/jnius/__pycache__/env.cpython-313.opt-1.pyc: rewriting with normalized contents Scanned 23 directories and 28 files, processed 6 inodes, 6 modified (0 replaced + 6 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/python-jnius-1.6.1-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.k0gc3e + umask 022 + cd /builddir/build/BUILD/python-jnius-1.6.1-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS ~/build/BUILD/python-jnius-1.6.1-build/pyjnius-1.6.1/tests ~/build/BUILD/python-jnius-1.6.1-build/pyjnius-1.6.1 + 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 --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-jnius-1.6.1-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -v ============================= test session starts ============================== platform linux -- Python 3.13.0rc2, pytest-8.3.1, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-jnius-1.6.1-build/pyjnius-1.6.1 configfile: pyproject.toml 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.13/json/__init__.py:346: in loads return _default_decoder.decode(s) /usr/lib64/python3.13/json/decoder.py:344: 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.13/json/decoder.py:362: 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 9.34s ========================= error: Bad exit status from /var/tmp/rpm-tmp.k0gc3e (%check) Bad exit status from /var/tmp/rpm-tmp.k0gc3e (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 2f7d33e94af04b08bccfe88b263878ce -D /var/lib/mock/f41-build-853916-166804/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.vnweclwr:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-jnius.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 2f7d33e94af04b08bccfe88b263878ce -D /var/lib/mock/f41-build-853916-166804/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.vnweclwr:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-jnius.spec'