python-jnius fails to build with Python 3.10.0a6. test_collections.py::TestCollections::test_hashmap PASSED [ 28%] test_collections.py::TestCollections::test_hashset Fatal Python error: Segmentation fault Current thread 0x00007f77e10c3740 (most recent call first): <no Python frame> RPM build errors: /var/tmp/rpm-tmp.6yNqWa: line 35: 371 Segmentation fault (core dumped) PYTHONPATH=/builddir/build/BUILDROOT/python-jnius-1.3.0-6.fc35.x86_64/usr/lib64/python3.10/site-packages pytest -v For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/02071390-python-jnius/ For all our attempts to build python-jnius with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-jnius/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
Please try to rebuild Cython due to changed gcc settings maybe.
This was a bug in Python. Tracked in bz1939885 and patched in Copr. Sorry for the noise.