=net-libs/libtorrent-rasterbar-2.0.4-r2[python] with python 3.9 (3.8 not tested) results in a broken python module that does not load: >>> import libtorrent ImportError: /usr/lib/python3.9/site-packages/libtorrent.cpython-39-x86_64-linux-gnu.so: undefined symbol: _Z16bind_sha256_hashv I was able to fix the error by applying this upstream fix: https://github.com/arvidn/libtorrent/commit/f2eefd327f1ca89b053eb1e5f4ed229efe52e47f
Created attachment 746991 [details, diff] upstream patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ab2444c5bc7ea380b30447926371d2904cf29a commit e1ab2444c5bc7ea380b30447926371d2904cf29a Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-31 04:32:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-31 04:32:46 +0000 net-libs/libtorrent-rasterbar: fix Python bindings in 2.0.4 Thanks-to: Conrad <conrad_bugtracker@fps-power.eu> Closes: https://bugs.gentoo.org/820518 Signed-off-by: Sam James <sam@gentoo.org> ...libtorrent-rasterbar-2.0.4-python-symbols.patch | 28 ++++++++++++++++++++++ ...ebuild => libtorrent-rasterbar-2.0.4-r4.ebuild} | 1 + 2 files changed, 29 insertions(+)