Hide Forgot
createrepo_c fails to build with Python 3.10.0a1. 2: Test if reference is saved properly ... /builddir/build/BUILD/createrepo_c-0.16.1/build-py3/tests/python/tests/run_nosetests.sh: line 1: 1667 Segmentation fault (core dumped) LD_LIBRARY_PATH=/builddir/build/BUILD/createrepo_c-0.16.1/build-py3/src/: PYTHONPATH=/builddir/build/BUILD/createrepo_c-0.16.1/build-py3/src/python/ WITH_LIBMODULEMD=ON nosetests-3.10 -s -v /builddir/build/BUILD/createrepo_c-0.16.1/tests/python/tests/ 2/2 Test #2: test_python ......................***Failed 0.40 sec 50% tests passed, 1 tests failed out of 2 Total Test time (real) = 0.70 sec The following tests FAILED: 2 - test_python (Failed) Errors while running CTest make: *** [Makefile:152: test] Error 8 For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01718127-createrepo_c/ For all our attempts to build createrepo_c with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/createrepo_c/ 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.
PR: https://github.com/rpm-software-management/createrepo_c/pull/235 I have tried running the local mock build and with the PR it seems to work.
I can confirm that createrepo_c build with this patch in Copr with Python 3.10a2. https://copr.fedorainfracloud.org/coprs/g/python/python3.10/build/1751728/ Thank you!
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.