Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1901914 - rb_libtorrent fails to build with Python 3.10: test_dht failed (no reason shown in the log)
Summary: rb_libtorrent fails to build with Python 3.10: test_dht failed (no reason sho...
Alias: None
Product: Fedora
Classification: Fedora
Component: rb_libtorrent
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Michael Cronenworth
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: PYTHON3.10
TreeView+ depends on / blocked
Reported: 2020-11-26 12:21 UTC by Miro Hrončok
Modified: 2020-11-26 16:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-11-26 16:47:40 UTC
Type: Bug

Attachments (Terms of Use)

Description Miro Hrončok 2020-11-26 12:21:14 UTC
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
~/build/BUILD/libtorrent-rasterbar-1.2.11/build-python3/x86_64-redhat-linux-gnu/test ~/build/BUILD/libtorrent-rasterbar-1.2.11
+ cd libtorrent-rasterbar-1.2.11
+ pushd build-python3/x86_64-redhat-linux-gnu/test
+ 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.

Comment 1 Michael Cronenworth 2020-11-26 14:58:54 UTC
Interesting auto-mail.

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.

Comment 2 Miro Hrončok 2020-11-26 15:04:47 UTC
Let's try another build.

Note You need to log in before you can comment on or make changes to this bug.