[Bug 236666] www/nghttp2: ASIO fails to build with boost 1.70
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 20 15:03:23 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236666
Bug ID: 236666
Summary: www/nghttp2: ASIO fails to build with boost 1.70
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: sunpoet at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Blocks: 235956
Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
Assignee: sunpoet at FreeBSD.org
While preparing for Boost upgrade this port failed to build. Can you help to
avoid marking it as BROKEN?
$ fetch -qo- 'https://reviews.freebsd.org/D19303?download=true' |
patch -Efsp0 -d /usr/ports
$ make all deinstall install clean -C/usr/ports/devel/boost-jam
$ make all deinstall install clean -C/usr/ports/devel/boost-libs
$ make WITH=ASIO -C/usr/ports/www/nghttp2
[...]
In file included from asio_server.cc:39:
./asio_server_connection.h:74:27: error: no member named 'get_io_service' in
'boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> >'
deadline_(socket_.get_io_service()),
~~~~~~~ ^
/usr/include/c++/v1/memory:2103:9: note: in instantiation of function template
specialization
'nghttp2::asio_http2::server::connection<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > >::connection<boost::asio::io_context &,
boost::asio::ssl::context &>' requested here
: __value_(_VSTD::forward<_Args>(_VSTD::get<_Indexes>(__args))...) {}
^
/usr/include/c++/v1/memory:2205:9: note: in instantiation of function template
specialization
'std::__1::__compressed_pair_elem<nghttp2::asio_http2::server::connection<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > >, 1,
false>::__compressed_pair_elem<nghttp2::asio_http2::server::serve_mux &,
boost::posix_time::time_duration &, boost::posix_time::time_duration &,
boost::asio::io_context &, boost::asio::ssl::context &, 0, 1, 2, 3, 4>'
requested here
_Base2(__pc, _VSTD::move(__second_args),
^
/usr/include/c++/v1/memory:3618:16: note: in instantiation of function template
specialization
'std::__1::__compressed_pair<std::__1::allocator<nghttp2::asio_http2::server::connection<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > > >,
nghttp2::asio_http2::server::connection<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > >
>::__compressed_pair<std::__1::allocator<nghttp2::asio_http2::server::connection<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > > > &, nghttp2::asio_http2::server::serve_mux &,
boost::posix_time::time_duration &, boost::posix_time::time_duration &,
boost::asio::io_context &, boost::asio::ssl::context &>' requested here
: __data_(piecewise_construct, _VSTD::forward_as_tuple(__a),
^
/usr/include/c++/v1/memory:4277:26: note: in instantiation of function template
specialization
'std::__1::__shared_ptr_emplace<nghttp2::asio_http2::server::connection<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > >,
std::__1::allocator<nghttp2::asio_http2::server::connection<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > > >
>::__shared_ptr_emplace<nghttp2::asio_http2::server::serve_mux &,
boost::posix_time::time_duration &, boost::posix_time::time_duration &,
boost::asio::io_context &, boost::asio::ssl::context &>' requested here
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
^
/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template
specialization
'std::__1::shared_ptr<nghttp2::asio_http2::server::connection<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > >
>::make_shared<nghttp2::asio_http2::server::serve_mux &,
boost::posix_time::time_duration &, boost::posix_time::time_duration &,
boost::asio::io_context &, boost::asio::ssl::context &>' requested here
return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
^
asio_server.cc:132:30: note: in instantiation of function template
specialization
'std::__1::make_shared<nghttp2::asio_http2::server::connection<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > >, nghttp2::asio_http2::server::serve_mux &,
boost::posix_time::time_duration &, boost::posix_time::time_duration &,
boost::asio::io_context &, boost::asio::ssl::context &>' requested here
auto new_connection = std::make_shared<connection<ssl_socket>>(
^
In file included from asio_server.cc:39:
./asio_server_connection.h:85:17: error: no member named 'get_io_service' in
'boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> >'
socket_.get_io_service(), socket_.lowest_layer().remote_endpoint(ec),
~~~~~~~ ^
asio_server.cc:157:33: note: in instantiation of member function
'nghttp2::asio_http2::server::connection<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > >::start' requested here
new_connection->start();
^
In file included from asio_server.cc:39:
./asio_server_connection.h:74:27: error: no member named 'get_io_service' in
'boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>'
deadline_(socket_.get_io_service()),
~~~~~~~ ^
/usr/include/c++/v1/memory:2103:9: note: in instantiation of function template
specialization
'nghttp2::asio_http2::server::connection<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> >::connection<boost::asio::io_context &>' requested here
: __value_(_VSTD::forward<_Args>(_VSTD::get<_Indexes>(__args))...) {}
^
/usr/include/c++/v1/memory:2205:9: note: in instantiation of function template
specialization
'std::__1::__compressed_pair_elem<nghttp2::asio_http2::server::connection<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> >, 1,
false>::__compressed_pair_elem<nghttp2::asio_http2::server::serve_mux &,
boost::posix_time::time_duration &, boost::posix_time::time_duration &,
boost::asio::io_context &, 0, 1, 2, 3>' requested here
_Base2(__pc, _VSTD::move(__second_args),
^
/usr/include/c++/v1/memory:3618:16: note: in instantiation of function template
specialization
'std::__1::__compressed_pair<std::__1::allocator<nghttp2::asio_http2::server::connection<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > >,
nghttp2::asio_http2::server::connection<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> >
>::__compressed_pair<std::__1::allocator<nghttp2::asio_http2::server::connection<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > > &, nghttp2::asio_http2::server::serve_mux &,
boost::posix_time::time_duration &, boost::posix_time::time_duration &,
boost::asio::io_context &>' requested here
: __data_(piecewise_construct, _VSTD::forward_as_tuple(__a),
^
/usr/include/c++/v1/memory:4277:26: note: in instantiation of function template
specialization
'std::__1::__shared_ptr_emplace<nghttp2::asio_http2::server::connection<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> >,
std::__1::allocator<nghttp2::asio_http2::server::connection<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > >
>::__shared_ptr_emplace<nghttp2::asio_http2::server::serve_mux &,
boost::posix_time::time_duration &, boost::posix_time::time_duration &,
boost::asio::io_context &>' requested here
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
^
/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template
specialization
'std::__1::shared_ptr<nghttp2::asio_http2::server::connection<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > >::make_shared<nghttp2::asio_http2::server::serve_mux
&, boost::posix_time::time_duration &, boost::posix_time::time_duration &,
boost::asio::io_context &>' requested here
return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
^
asio_server.cc:171:30: note: in instantiation of function template
specialization
'std::__1::make_shared<nghttp2::asio_http2::server::connection<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> >, nghttp2::asio_http2::server::serve_mux &,
boost::posix_time::time_duration &, boost::posix_time::time_duration &,
boost::asio::io_context &>' requested here
auto new_connection = std::make_shared<connection<tcp::socket>>(
^
In file included from asio_server.cc:39:
./asio_server_connection.h:85:17: error: no member named 'get_io_service' in
'boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>'
socket_.get_io_service(), socket_.lowest_layer().remote_endpoint(ec),
~~~~~~~ ^
asio_server.cc:181:27: note: in instantiation of member function
'nghttp2::asio_http2::server::connection<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> >::start' requested here
new_connection->start();
^
4 errors generated.
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235956
[Bug 235956] devel/boost-all: Update to 1.70.0 (currently, Beta phase)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list