stefan-langenmaier / jami-overlay

Jami (formerly Ring (formerly SFLphone)) is a SIP compatible softphone for GNU/Linux.
GNU General Public License v3.0
22 stars 9 forks source link

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

Closed steils closed 5 years ago

steils commented 5 years ago

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 commented 5 years ago

The upstream bug: https://github.com/Corvusoft/restbed/issues/370

stefan-langenmaier commented 5 years ago

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