[Bug 236589] devel/RStudio, devel/cpprestsdk, games/pokerth, games/wesnoth, math/cadabra2, multimedia/musikcube: fails to build with boost 1.70

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 17 05:39:00 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236589

            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 at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: games at FreeBSD.org, projects at phess.net,
                    yuri at freebsd.org
            Blocks: 235956
                CC: games at FreeBSD.org, projects at phess.net,
                    yuri at freebsd.org

While preparing for Boost upgrade these ports failed to build due to an issue
in bundled websocketpp. Can you help to avoid marking them 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 -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/asio_no_tls.hpp:32:
In file included from
.../work/cadabra2-2.2.5-5-gf10cac6b9a/libs/websocketpp/websocketpp/transport/asio/endpoint.hpp:32:
In file included from
.../work/cadabra2-2.2.5-5-gf10cac6b9a/libs/websocketpp/websocketpp/transport/asio/connection.hpp:31:
In file included from
.../work/cadabra2-2.2.5-5-gf10cac6b9a/libs/websocketpp/websocketpp/transport/asio/base.hpp:31:
In file included from
.../work/cadabra2-2.2.5-5-gf10cac6b9a/libs/websocketpp/websocketpp/common/asio.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 named
'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 instantiation
of member function
'boost::asio::executor::impl<std::__1::reference_wrapper<boost::asio::io_context>,
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 instantiation
of member function
'boost::asio::executor::impl<std::__1::reference_wrapper<boost::asio::io_context>,
std::__1::allocator<void> >::impl' requested here
    impl* p = new (mem.ptr_) impl(e, a);
                             ^
/usr/local/include/boost/asio/impl/executor.hpp:333:50: note: in instantiation
of member function
'boost::asio::executor::impl<std::__1::reference_wrapper<boost::asio::io_context>,
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 template
specialization
'boost::asio::executor::executor<std::__1::reference_wrapper<boost::asio::io_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 template
specialization
'std::__1::__compressed_pair_elem<boost::asio::basic_stream_socket<boost::asio::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 template
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::executor>
>::__compressed_pair<std::__1::allocator<boost::asio::basic_stream_socket<boost::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 template
specialization
'std::__1::__shared_ptr_emplace<boost::asio::basic_stream_socket<boost::asio::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 template
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/transport/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::tcp,
boost::asio::executor>, std::__1::reference_wrapper<boost::asio::io_context> >'
requested here
        m_socket = lib::make_shared<lib::asio::ip::tcp::socket>(
                        ^


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 on the CC list for the bug.


More information about the freebsd-games mailing list