Summary: | dev-cpp/websocketpp-0.8.2 fails to compile: none.hpp:66:24: error: io_service in namespace websocketpp::lib::asio does not name a type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | atoth, bbatson101 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/zaphoyd/websocketpp/issues/1157 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 946461, 946516, 956387 | ||
Attachments: |
build.log
hingobway.patch |
Description
Agostino Sarubbo
![]() Created attachment 913920 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: test/endpoint/CMakeFiles/test_endpoint.dir/endpoint.cpp.o FAILED: test/transport/CMakeFiles/test_transport_asio_security.dir/asio/security.cpp.o /var/tmp/portage/dev-cpp/websocketpp-0.8.2/work/websocketpp-0.8.2/websocketpp/transport/asio/security/none.hpp:66:24: error: ‘io_service’ in namespace ‘websocketpp::lib::asio’ does not name a type Someone opened an upstream issue, no proposed patch or PR as yet though. https://github.com/zaphoyd/websocketpp/issues/1157 This also prevents obs-studio with the websocket flag from building. There is now a fix upstream but it is not merged yet: https://github.com/zaphoyd/websocketpp/pull/1164 (In reply to Blake Batson from comment #4) > This also prevents obs-studio with the websocket flag from building. There > is now a fix upstream but it is not merged yet: > https://github.com/zaphoyd/websocketpp/pull/1164 There's also a tree: https://github.com/jcelerier/websocketpp/commits/ossia/2024-12-18/ (In reply to Blake Batson from comment #4) > This also prevents obs-studio with the websocket flag from building. There > is now a fix upstream but it is not merged yet: > https://github.com/zaphoyd/websocketpp/pull/1164 It looks like this will be included in 0.8.3, that is not on the horizon. The commit addressing the issue does not apply cleanly. I'll post a modified patch as a workaround. Created attachment 921340 [details, diff]
hingobway.patch
Contains boost-1.87 asio fixes, adjusted to apply cleanly.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af7ec9d419ae1c1fae19678591d017c3ba92b4b commit 7af7ec9d419ae1c1fae19678591d017c3ba92b4b Author: Louis Sautier <sbraz@gentoo.org> AuthorDate: 2025-05-01 16:19:02 +0000 Commit: Louis Sautier <sbraz@gentoo.org> CommitDate: 2025-05-01 16:34:15 +0000 dev-cpp/websocketpp: fix build with boost 1.87 (#946365) Also add a patch that fixes C++20 errors from #939739 and bump to EAPI=8. Closes: https://bugs.gentoo.org/946365 Closes: https://bugs.gentoo.org/946516 Bug: https://bugs.gentoo.org/939739 Signed-off-by: Louis Sautier <sbraz@gentoo.org> dev-cpp/websocketpp/Manifest | 1 + .../files/websocketpp-0.8.2-c++20-compat.patch | 94 ++++++++++++++++++++++ dev-cpp/websocketpp/websocketpp-0.8.2-r1.ebuild | 56 +++++++++++++ 3 files changed, 151 insertions(+) |