- Package:
- src:opendht
- Source:
- src:opendht
- Submitter:
- Maximiliano Curia
- Date:
- 2026-10-18 13:22:02 UTC
- Severity:
- normal
- Tags:
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/
Dear maintainer, I've prepared an NMU for opendht (versioned as 3.0.1-1.2) and uploaded it to DELAYED/1. Please feel free to tell me if I should cancel it. cu Adrian
We believe that the bug you reported is fixed in the latest version of
opendht, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1146596@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated opendht package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 17 Oct 2026 22:47:08 +0300
Source: opendht
Architecture: source
Version: 3.0.1-1.2
Distribution: unstable
Urgency: medium
Maintainer: Amin Bandali <bandali@debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1146596
Changes:
opendht (3.0.1-1.2) unstable; urgency=medium
.
* Non-maintainer upload.
* Backport upstream fixes for FTBFS with recent asio.
(Closes: #1146596)
Checksums-Sha1:
ed1fa840c9cf30de29bb9284ed5b3854da0672fd 2658 opendht_3.0.1-1.2.dsc
92fb0aed39676bef118d90c64f2fc6bf3570ef4f 13976 opendht_3.0.1-1.2.debian.tar.xz
Checksums-Sha256:
28f729ded6ce966e61ef10cbf5ad202bd6496873d224656e086a0dbc6cf47749 2658 opendht_3.0.1-1.2.dsc
08a45d5e52154bb909073c51eed1e041e924445acd31952265c71d4a3fcd5977 13976 opendht_3.0.1-1.2.debian.tar.xz
Files:
367afa16b8c7ce1a5f7aa152cbc2e9c5 2658 libs optional opendht_3.0.1-1.2.dsc
2f491747c6fc8981c9951d283394ae29 13976 libs optional opendht_3.0.1-1.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmrT1e0ACgkQiNJCh6LY
mLGgvxAAovAoRiDnWmFgS19OPkKF50YeR6MDDovmP1Rb2E0zTpql68LxwiRQMtZx
M2wZh+WokKHR3m5w5YJs9vC0qtybe/0vqkZv3F5Lb5aRkNvP3wsgK5Oixnj2fSTc
iTSE9L5nFqCa3qB1bFJ5I5SdpPikQKIWR2116Ayq+7BurI6Shd8OPdFQak5pHdow
BYCsMrXOHHZr3CbwzN/QsZWOvhMYHsFqvavKqE36RH/F8SlgbnzdPH4YxqrsBejz
dkJlU/+PhLfKuVpYDjgmMaKVchLvYUl/538zbeTt1dPJzhfO6XKWcetzEUwx7bnE
VIyqFD6r9geHQ4OW97CLRuIoaVdqEpwB9JlhVcf2N61ox6Zn1dS6C7sytKIUZQmg
A5hoG2QO7w5I+a1k3dW2wGhIb2dh/4WyqURNHRxqTmA4SWlLOBM6+9THsIApdvsL
sWwm1TL/V0GMDmGjM37bQC+BOje+cQRZ+1aRARlvJBRAtqqi1dH9G0vExgy/FoXV
BStqjZyK0MkD14FWUijaiEesTGtRS5HUIZqZH1Qan9Lwajr+nR8i8gKytRm/yawW
y5SBYwEp7I/DiPlvlvvVo4J8tWjQOC5uS/U54mho8VORktifjl4yZu7yaPOawm48
+t5jDJcxoPTIn7Qkhv7GzRXx3AcYIzFXcVObG+gVe/rfGkJt2Bk=
=cmnM
-----END PGP SIGNATURE-----