rb_libtorrent fails to build with Python 3.10.0a2.
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GPzBQw
+ umask 022
+ cd /builddir/build/BUILD
+ cd libtorrent-rasterbar-1.2.11
+ pushd build-python3/x86_64-redhat-linux-gnu/test
+ echo 'set (CTEST_CUSTOM_TESTS_IGNORE
+ ctest -j2
Test project /builddir/build/BUILD/libtorrent-rasterbar-1.2.11/build-python3/x86_64-redhat-linux-gnu/test
Start 15: test_dht
14/94 Test #15: test_dht .........................***Failed 0.63 sec
99% tests passed, 1 tests failed out of 94
Total Test time (real) = 470.12 sec
The following tests FAILED:
15 - test_dht (Failed)
Errors while running CTest
error: Bad exit status from /var/tmp/rpm-tmp.GPzBQw (%check)
For the build logs, see:
For all our attempts to build rb_libtorrent with Python 3.10, see:
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:
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.
Anyway, the first build against 3.10 succeeded:
The only change when it failed was disabling a test so either there's a test bug or a Python 3.10 bug.
Let's try another build.