Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing setuptools-build-hook Using setuptoolsBuildPhase Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Running phase: unpackPhase unpacking source archive /nix/store/zk8lypw6pxfryifxk003r3wx5k4c53nw-pyjnius-1.6.1.tar.gz source root is pyjnius-1.6.1 setting SOURCE_DATE_EPOCH to timestamp 1699272266 of file "pyjnius-1.6.1/setup.cfg" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing setuptoolsBuildPhase setup.py build flags: '' 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 bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-313 copying jnius_config.py -> build/lib.linux-x86_64-cpython-313 copying setup_sdist.py -> build/lib.linux-x86_64-cpython-313 creating build/lib.linux-x86_64-cpython-313/jnius copying jnius/__init__.py -> build/lib.linux-x86_64-cpython-313/jnius copying jnius/env.py -> build/lib.linux-x86_64-cpython-313/jnius copying jnius/signatures.py -> build/lib.linux-x86_64-cpython-313/jnius copying jnius/reflect.py -> build/lib.linux-x86_64-cpython-313/jnius creating build/lib.linux-x86_64-cpython-313/jnius/src/org/jnius copying jnius/src/org/jnius/NativeInvocationHandler.java -> build/lib.linux-x86_64-cpython-313/jnius/src/org/jnius copying jnius/src/org/jnius/NativeInvocationHandler.class -> build/lib.linux-x86_64-cpython-313/jnius/src/org/jnius running build_ext [1/1] Cythonizing jnius/jnius.pyx 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 building 'jnius' extension creating build/temp.linux-x86_64-cpython-313/jnius gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/cy9r24swns95mwf56n8krzy5jlcmn1qp-libxcrypt-4.4.38/include -fPIC -I/nix/store/0gyj3kkkj7hbh3bb57gabsp97f6f3x2w-openjdk-21.0.5+11/lib/openjdk/include -I/nix/store/0gyj3kkkj7hbh3bb57gabsp97f6f3x2w-openjdk-21.0.5+11/lib/openjdk/include/linux -I/nix/store/1rp7i946hi7fa2wwx2f66w9jsqjh4n08-python3-3.13.2/include/python3.13 -c jnius/jnius.c -o build/temp.linux-x86_64-cpython-313/jnius/jnius.o jnius/jnius.c: In function ‘__pyx_f_5jnius_get_jnienv’: jnius/jnius.c:22591:76: error: passing argument 2 of ‘(*__pyx_v_5jnius_jvm)->AttachCurrentThread’ from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 22591 | (void)((__pyx_v_5jnius_jvm[0])->AttachCurrentThread(__pyx_v_5jnius_jvm, (&__pyx_v_env), NULL)); | ~^~~~~~~~~~~~~ | | | const struct JNINativeInterface_ *** jnius/jnius.c:22591:76: note: expected ‘void **’ but argument is of type ‘const struct JNINativeInterface_ ***’ jnius/jnius.c: In function ‘__pyx_f_5jnius_convert_jstring_to_python’: jnius/jnius.c:31024:19: warning: assignment discards ‘const’ qualifier from pointer target type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers8;;] 31024 | __pyx_v_j_chars = (__pyx_v_j_env[0])->GetStringChars(__pyx_v_j_env, __pyx_v_j_string, NULL); | ^ jnius/jnius.c: In function ‘__pyx_pf_5jnius_13MetaJavaClass_8resolve_class’: jnius/jnius.c:43742:30: error: assignment to ‘jobject’ {aka ‘struct _jobject *’} from incompatible pointer type ‘struct _jobject **’ [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 43742 | (__pyx_v_jargs[0]) = ((jobject *)__pyx_v_classLoader); | ^ jnius/jnius.c:43751:30: error: assignment to ‘jobject’ {aka ‘struct _jobject *’} from incompatible pointer type ‘struct _jobject **’ [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 43751 | (__pyx_v_jargs[1]) = __pyx_v_interfaces; | ^ jnius/jnius.c: In function ‘__pyx_f_5jnius_create_proxy_instance’: jnius/jnius.c:61464:36: warning: assignment discards ‘const’ qualifier from pointer target type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers8;;] 61464 | (__pyx_v_invoke_methods[0]).name = ((char const *)"invoke0"); | ^ jnius/jnius.c:61473:41: warning: assignment discards ‘const’ qualifier from pointer target type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers8;;] 61473 | (__pyx_v_invoke_methods[0]).signature = ((char const *)"(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;"); | ^ error: command '/nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/gcc' failed with exit code 1