Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net-libs/restbed-4.5: compilation error #60

Closed
steils opened this issue May 6, 2019 · 2 comments
Closed

net-libs/restbed-4.5: compilation error #60

steils opened this issue May 6, 2019 · 2 comments

Comments

@steils
Copy link
Contributor

steils commented May 6, 2019

dev-cpp/asio-1.13.0,

$ emerge -pqv '=net-libs/restbed-4.5::ring-overlay'
[ebuild  N    ] net-libs/restbed-4.5  USE="libressl ssl -examples -static-libs -test"
[ 80%] Building CXX object CMakeFiles/restbed.dir/source/corvusoft/restbed/detail/service_impl.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_SSL=TRUE -Drestbed_EXPORTS -I/var/tmp/portage/net-libs/restbed-4.5/work/restbed-4.5/source   -DNDEBUG -march=skylake -O3 -pipe -Wno-non-virtual-dtor -std=c++11 -O2 -Wall -Wextra -Weffc++ -pedantic -Wno-unknown-pragmas -pthread -DASIO_STANDALONE=YES -fPIC   -o CMakeFiles/restbed.dir/source/corvusoft/restbed/detail/service_impl.cpp.o -c /var/tmp/portage/net-libs/restbed-4.5/work/restbed-4.5/source/corvusoft/restbed/detail/service_impl.cpp
/var/tmp/portage/net-libs/restbed-4.5/work/restbed-4.5/source/corvusoft/restbed/detail/socket_impl.cpp: In constructor ‘restbed::detail::SocketImpl::SocketImpl(const std::shared_ptr<asio::basic_stream_socket<asio::ip::tcp> >&, const std::shared_ptr<restbed::Logger>&)’:
/var/tmp/portage/net-libs/restbed-4.5/work/restbed-4.5/source/corvusoft/restbed/detail/socket_impl.cpp:52:65: error: ‘using element_type = class asio::basic_stream_socket<asio::ip::tcp>’ {aka ‘class asio::basic_stream_socket<asio::ip::tcp>’} has no member named ‘get_io_service’
             m_timer( make_shared< asio::steady_timer >( socket->get_io_service( ) ) )

build.log

@steils steils changed the title net-libs/restbed-4.5: source/corvusoft/restbed/detail/socket_impl.cpp:52:65: error: ‘using element_type = class asio::basic_stream_socket<asio::ip::tcp>’ {aka ‘class asio::basic_stream_socket<asio::ip::tcp>’} has no member named ‘get_io_service’ net-libs/restbed-4.5: socket_impl.cpp:52:65: error: ‘using element_type = class asio::basic_stream_socket<asio::ip::tcp>’ {aka ‘class asio::basic_stream_socket<asio::ip::tcp>’} has no member named ‘get_io_service’ May 6, 2019
@steils steils changed the title net-libs/restbed-4.5: socket_impl.cpp:52:65: error: ‘using element_type = class asio::basic_stream_socket<asio::ip::tcp>’ {aka ‘class asio::basic_stream_socket<asio::ip::tcp>’} has no member named ‘get_io_service’ net-libs/restbed-4.5: socket_impl.cpp:52:65: error: ‘using element_type = class asio::basic_stream_socket<asio::ip::tcp>’... has no member named ‘get_io_service’ May 6, 2019
@steils steils changed the title net-libs/restbed-4.5: socket_impl.cpp:52:65: error: ‘using element_type = class asio::basic_stream_socket<asio::ip::tcp>’... has no member named ‘get_io_service’ net-libs/restbed-4.5: compilation error May 6, 2019
@steils
Copy link
Contributor Author

steils commented May 6, 2019

The upstream bug: Corvusoft/restbed#370

@stefan-langenmaier
Copy link
Owner

Sorry it took me some time but I bumped the restbed package in the repo.
Thanks for the heads-up and analysis!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants