Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2019 05:38:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236589] devel/RStudio, devel/cpprestsdk, games/pokerth, games/wesnoth, math/cadabra2, multimedia/musikcube: fails to build with boost 1.70
Message-ID:  <bug-236589-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 236589
           Summary: devel/RStudio, devel/cpprestsdk, games/pokerth,
                    games/wesnoth, math/cadabra2, multimedia/musikcube:
                    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: ports-bugs@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: games@FreeBSD.org, projects@phess.net,
                    yuri@freebsd.org
            Blocks: 235956
                CC: games@FreeBSD.org, projects@phess.net,
                    yuri@freebsd.org

While preparing for Boost upgrade these ports failed to build due to an iss=
ue
in bundled websocketpp. Can you help to avoid marking them 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 -C/usr/ports/math/cadabra2
[...]
In file included from
.../work/cadabra2-2.2.5-5-gf10cac6b9a/client_server/cadabra-server.cc:4:
In file included from
.../work/cadabra2-2.2.5-5-gf10cac6b9a/client_server/./Server.hh:5:
In file included from
.../work/cadabra2-2.2.5-5-gf10cac6b9a/libs/websocketpp/websocketpp/config/a=
sio_no_tls.hpp:32:
In file included from
.../work/cadabra2-2.2.5-5-gf10cac6b9a/libs/websocketpp/websocketpp/transpor=
t/asio/endpoint.hpp:32:
In file included from
.../work/cadabra2-2.2.5-5-gf10cac6b9a/libs/websocketpp/websocketpp/transpor=
t/asio/connection.hpp:31:
In file included from
.../work/cadabra2-2.2.5-5-gf10cac6b9a/libs/websocketpp/websocketpp/transpor=
t/asio/base.hpp:31:
In file included from
.../work/cadabra2-2.2.5-5-gf10cac6b9a/libs/websocketpp/websocketpp/common/a=
sio.hpp:61:
In file included from /usr/local/include/boost/asio/steady_timer.hpp:22:
In file included from
/usr/local/include/boost/asio/basic_waitable_timer.hpp:27:
In file included from /usr/local/include/boost/asio/executor.hpp:338:
/usr/local/include/boost/asio/impl/executor.hpp:179:22: error: no member na=
med
'context' in 'std::__1::reference_wrapper<boost::asio::io_context>'
    return executor_.context();
           ~~~~~~~~~ ^
/usr/local/include/boost/asio/impl/executor.hpp:142:3: note: in instantiati=
on
of member function
'boost::asio::executor::impl<std::__1::reference_wrapper<boost::asio::io_co=
ntext>,
std::__1::allocator<void> >::context' requested here
  impl(const Executor& e, const Allocator& a) BOOST_ASIO_NOEXCEPT
  ^
/usr/local/include/boost/asio/impl/executor.hpp:137:30: note: in instantiat=
ion
of member function
'boost::asio::executor::impl<std::__1::reference_wrapper<boost::asio::io_co=
ntext>,
std::__1::allocator<void> >::impl' requested here
    impl* p =3D new (mem.ptr_) impl(e, a);
                             ^
/usr/local/include/boost/asio/impl/executor.hpp:333:50: note: in instantiat=
ion
of member function
'boost::asio::executor::impl<std::__1::reference_wrapper<boost::asio::io_co=
ntext>,
std::__1::allocator<void> >::create' requested here
  : impl_(impl<Executor, std::allocator<void> >::create(e))
                                                 ^
/usr/include/c++/v1/memory:2103:18: note: in instantiation of function temp=
late
specialization
'boost::asio::executor::executor<std::__1::reference_wrapper<boost::asio::i=
o_context>
>' requested here
      : __value_(_VSTD::forward<_Args>(_VSTD::get<_Indexes>(__args))...) {}
                 ^
/usr/include/c++/v1/__config:447:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
              ^
/usr/include/c++/v1/memory:2205:9: note: in instantiation of function templ=
ate
specialization
'std::__1::__compressed_pair_elem<boost::asio::basic_stream_socket<boost::a=
sio::ip::tcp,
boost::asio::executor>, 1,
false>::__compressed_pair_elem<std::__1::reference_wrapper<boost::asio::io_=
context>
&&, 0>' 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<boost::asio::basic_stream_=
socket<boost::asio::ip::tcp,
boost::asio::executor> >,
boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executo=
r>
>::__compressed_pair<std::__1::allocator<boost::asio::basic_stream_socket<b=
oost::asio::ip::tcp,
boost::asio::executor> > &,
std::__1::reference_wrapper<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<boost::asio::basic_stream_socket<boost::asi=
o::ip::tcp,
boost::asio::executor>,
std::__1::allocator<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor> >
>::__shared_ptr_emplace<std::__1::reference_wrapper<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<boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor>
>::make_shared<std::__1::reference_wrapper<boost::asio::io_context> >'
requested here
    return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                            ^
.../work/cadabra2-2.2.5-5-gf10cac6b9a/libs/websocketpp/websocketpp/transpor=
t/asio/security/none.hpp:171:25:
note: in instantiation of function template specialization
'std::__1::make_shared<boost::asio::basic_stream_socket<boost::asio::ip::tc=
p,
boost::asio::executor>, std::__1::reference_wrapper<boost::asio::io_context=
> >'
requested here
        m_socket =3D lib::make_shared<lib::asio::ip::tcp::socket>(
                        ^


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-236589-7788>