Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946365 - 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
Summary: dev-cpp/websocketpp-0.8.2 fails to compile: none.hpp:66:24: error: io_service...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: boost-1.87
  Show dependency tree
 
Reported: 2024-12-13 14:39 UTC by Agostino Sarubbo
Modified: 2025-03-20 13:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,174.67 KB, text/plain)
2024-12-13 14:39 UTC, Agostino Sarubbo
Details
hingobway.patch (hingobway.patch,405.55 KB, patch)
2025-03-20 13:35 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-12-13 14:39:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/websocketpp-0.8.2 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-12-13 14:39:52 UTC
Created attachment 913920 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-12-13 14:39:53 UTC
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
Comment 3 gen2dev 2024-12-16 22:05:39 UTC
Someone opened an upstream issue, no proposed patch or PR as yet though.
https://github.com/zaphoyd/websocketpp/issues/1157
Comment 4 Blake Batson 2025-03-17 18:44:43 UTC
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
Comment 5 Attila Tóth 2025-03-20 11:57:28 UTC
(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/
Comment 6 Attila Tóth 2025-03-20 13:18:52 UTC
(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.
Comment 7 Attila Tóth 2025-03-20 13:35:09 UTC
Created attachment 921340 [details, diff]
hingobway.patch

Contains boost-1.87 asio fixes, adjusted to apply cleanly.