Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2019 15:03:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236666] www/nghttp2: ASIO fails to build with boost 1.70
Message-ID:  <bug-236666-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236666

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 235956
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@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=3Dtrue' |
  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=3DASIO -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 templ=
ate
specialization
'nghttp2::asio_http2::server::connection<boost::asio::ssl::stream<boost::as=
io::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 templ=
ate
specialization
'std::__1::__compressed_pair_elem<nghttp2::asio_http2::server::connection<b=
oost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::t=
cp,
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 temp=
late
specialization
'std::__1::__compressed_pair<std::__1::allocator<nghttp2::asio_http2::serve=
r::connection<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boo=
st::asio::ip::tcp,
boost::asio::executor> > > >,
nghttp2::asio_http2::server::connection<boost::asio::ssl::stream<boost::asi=
o::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > >
>::__compressed_pair<std::__1::allocator<nghttp2::asio_http2::server::conne=
ction<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 temp=
late
specialization
'std::__1::__shared_ptr_emplace<nghttp2::asio_http2::server::connection<boo=
st::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::ss=
l::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 temp=
late
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 =3D 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::as=
io::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::execut=
or>'
        deadline_(socket_.get_io_service()),
                  ~~~~~~~ ^
/usr/include/c++/v1/memory:2103:9: note: in instantiation of function templ=
ate
specialization
'nghttp2::asio_http2::server::connection<boost::asio::basic_stream_socket<b=
oost::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 templ=
ate
specialization
'std::__1::__compressed_pair_elem<nghttp2::asio_http2::server::connection<b=
oost::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 temp=
late
specialization
'std::__1::__compressed_pair<std::__1::allocator<nghttp2::asio_http2::serve=
r::connection<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> > >,
nghttp2::asio_http2::server::connection<boost::asio::basic_stream_socket<bo=
ost::asio::ip::tcp,
boost::asio::executor> >
>::__compressed_pair<std::__1::allocator<nghttp2::asio_http2::server::conne=
ction<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 temp=
late
specialization
'std::__1::__shared_ptr_emplace<nghttp2::asio_http2::server::connection<boo=
st::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> >,
std::__1::allocator<nghttp2::asio_http2::server::connection<boost::asio::ba=
sic_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 temp=
late
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 =3D 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::execut=
or>'
        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<b=
oost::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=3D235956
[Bug 235956] devel/boost-all: Update to 1.70.0 (currently, Beta phase)
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236666-7788>