Hi!
While rebuilding the python related packages against the Python 3.15rc1
version we found that opendht fails to build from source [1].
The error is:
/build/reproducible-path/opendht-3.0.1/src/peer_discovery.cpp:219:17:
error: ‘using std::__shared_ptr_access<asio::io_context,
__gnu_cxx::_S_atomic, false, false>::element_type = class
asio::io_context’ {aka ‘class asio::io_context’} has no member named
‘post’
And this is caused by incompatibilities with newer asio versions.
This can be fixed with two upstream changes:
- upstream commit c2d8b19 http: fix service name resolution failure [2]
- upstream commit 33f9570 adapt for Asio 1.34 [3]
I applied the upstream fixes in the sandbox [4] to be able to build the
packages that depend on opendht, please consider applying these patches
to support the upcoming 3.15 version.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4587773/
[2]: https://github.com/savoirfairelinux/opendht/commit/c2d8b19380230e0e6a4f62c381978a00b3c99db2
[3]: https://github.com/savoirfairelinux/opendht/commit/33f9570ecbe4a84845416e73c5c7eb3f3cfe8fc5
[4]: https://debusine.debian.net/debian/r-python-python3.15/