[Bug 230401] devel/boost-libs: fails to build with libc++ 7
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 6 00:42:06 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230401
Bug ID: 230401
Summary: devel/boost-libs: fails to build with libc++ 7
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-qa
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: office at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Blocks: 230355
Assignee: office at FreeBSD.org
Flags: maintainer-feedback?(office at FreeBSD.org)
$ c++ -v
FreeBSD clang version 7.0.0 (branches/release_70 338892) (based on LLVM
7.0.0svn)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
$ make
[...]
In file included from libs/log/src/syslog_backend.cpp:29:
In file included from ./boost/asio/buffer.hpp:27:
In file included from ./boost/asio/detail/string_view.hpp:25:
/usr/include/c++/v1/experimental/string_view:11:2: error:
"<experimental/string_view> has been removed. Use <string_view> instead."
#error "<experimental/string_view> has been removed. Use <string_view>
instead."
^
In file included from libs/log/src/syslog_backend.cpp:29:
In file included from ./boost/asio/buffer.hpp:27:
./boost/asio/detail/string_view.hpp:37:12: error: no member named
'experimental' in namespace 'std'
using std::experimental::basic_string_view;
~~~~~^
./boost/asio/detail/string_view.hpp:38:12: error: no member named
'experimental' in namespace 'std'
using std::experimental::string_view;
~~~~~^
In file included from libs/log/src/syslog_backend.cpp:29:
./boost/asio/buffer.hpp:1489:5: error: no template named 'basic_string_view';
did you mean 'std::basic_string_view'?
basic_string_view<Elem, Traits> data) BOOST_ASIO_NOEXCEPT
^~~~~~~~~~~~~~~~~
std::basic_string_view
/usr/include/c++/v1/string_view:194:28: note: 'std::basic_string_view' declared
here
class _LIBCPP_TEMPLATE_VIS basic_string_view {
^
In file included from libs/log/src/syslog_backend.cpp:29:
./boost/asio/buffer.hpp:1510:5: error: no template named 'basic_string_view';
did you mean 'std::basic_string_view'?
basic_string_view<Elem, Traits> data,
^~~~~~~~~~~~~~~~~
std::basic_string_view
/usr/include/c++/v1/string_view:194:28: note: 'std::basic_string_view' declared
here
class _LIBCPP_TEMPLATE_VIS basic_string_view {
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:21:
In file included from ./boost/asio/ip/basic_endpoint.hpp:19:
In file included from ./boost/asio/ip/address.hpp:24:
./boost/asio/ip/address_v4.hpp:288:44: error: unknown type name 'string_view';
did you mean 'std::string_view'?
BOOST_ASIO_DECL address_v4 make_address_v4(string_view str);
^~~~~~~~~~~
std::string_view
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:21:
In file included from ./boost/asio/ip/basic_endpoint.hpp:19:
In file included from ./boost/asio/ip/address.hpp:24:
./boost/asio/ip/address_v4.hpp:295:5: error: unknown type name 'string_view';
did you mean 'std::string_view'?
string_view str, boost::system::error_code& ec);
^~~~~~~~~~~
std::string_view
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:21:
In file included from ./boost/asio/ip/basic_endpoint.hpp:19:
In file included from ./boost/asio/ip/address.hpp:24:
In file included from ./boost/asio/ip/address_v4.hpp:328:
./boost/asio/ip/impl/address_v4.ipp:193:28: error: unknown type name
'string_view'; did you mean 'std::string_view'?
address_v4 make_address_v4(string_view str)
^~~~~~~~~~~
std::string_view
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:21:
In file included from ./boost/asio/ip/basic_endpoint.hpp:19:
In file included from ./boost/asio/ip/address.hpp:24:
In file included from ./boost/asio/ip/address_v4.hpp:328:
./boost/asio/ip/impl/address_v4.ipp:198:28: error: unknown type name
'string_view'; did you mean 'std::string_view'?
address_v4 make_address_v4(string_view str,
^~~~~~~~~~~
std::string_view
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:21:
In file included from ./boost/asio/ip/basic_endpoint.hpp:19:
In file included from ./boost/asio/ip/address.hpp:25:
./boost/asio/ip/address_v6.hpp:277:44: error: unknown type name 'string_view';
did you mean 'std::string_view'?
BOOST_ASIO_DECL address_v6 make_address_v6(string_view str);
^~~~~~~~~~~
std::string_view
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:21:
In file included from ./boost/asio/ip/basic_endpoint.hpp:19:
In file included from ./boost/asio/ip/address.hpp:25:
./boost/asio/ip/address_v6.hpp:284:5: error: unknown type name 'string_view';
did you mean 'std::string_view'?
string_view str, boost::system::error_code& ec);
^~~~~~~~~~~
std::string_view
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:21:
In file included from ./boost/asio/ip/basic_endpoint.hpp:19:
In file included from ./boost/asio/ip/address.hpp:25:
In file included from ./boost/asio/ip/address_v6.hpp:335:
./boost/asio/ip/impl/address_v6.ipp:309:28: error: unknown type name
'string_view'; did you mean 'std::string_view'?
address_v6 make_address_v6(string_view str)
^~~~~~~~~~~
std::string_view
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:21:
In file included from ./boost/asio/ip/basic_endpoint.hpp:19:
In file included from ./boost/asio/ip/address.hpp:25:
In file included from ./boost/asio/ip/address_v6.hpp:335:
./boost/asio/ip/impl/address_v6.ipp:314:28: error: unknown type name
'string_view'; did you mean 'std::string_view'?
address_v6 make_address_v6(string_view str,
^~~~~~~~~~~
std::string_view
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:21:
In file included from ./boost/asio/ip/basic_endpoint.hpp:19:
./boost/asio/ip/address.hpp:218:38: error: unknown type name 'string_view'; did
you mean 'std::string_view'?
BOOST_ASIO_DECL address make_address(string_view str);
^~~~~~~~~~~
std::string_view
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:21:
In file included from ./boost/asio/ip/basic_endpoint.hpp:19:
./boost/asio/ip/address.hpp:226:5: error: unknown type name 'string_view'; did
you mean 'std::string_view'?
string_view str, boost::system::error_code& ec);
^~~~~~~~~~~
std::string_view
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:21:
In file included from ./boost/asio/ip/basic_endpoint.hpp:19:
In file included from ./boost/asio/ip/address.hpp:259:
./boost/asio/ip/impl/address.ipp:140:22: error: unknown type name
'string_view'; did you mean 'std::string_view'?
address make_address(string_view str)
^~~~~~~~~~~
std::string_view
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:21:
In file included from ./boost/asio/ip/basic_endpoint.hpp:19:
In file included from ./boost/asio/ip/address.hpp:259:
./boost/asio/ip/impl/address.ipp:145:22: error: unknown type name
'string_view'; did you mean 'std::string_view'?
address make_address(string_view str,
^~~~~~~~~~~
std::string_view
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:22:
In file included from ./boost/asio/ip/basic_resolver.hpp:27:
In file included from ./boost/asio/ip/basic_resolver_iterator.hpp:27:
./boost/asio/ip/basic_resolver_entry.hpp:54:7: error: no type named
'string_view' in namespace 'boost::asio'; did you mean 'std::string_view'?
BOOST_ASIO_STRING_VIEW_PARAM host, BOOST_ASIO_STRING_VIEW_PARAM service)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::string_view
./boost/asio/detail/string_view.hpp:44:39: note: expanded from macro
'BOOST_ASIO_STRING_VIEW_PARAM'
# define BOOST_ASIO_STRING_VIEW_PARAM boost::asio::string_view
^~~~~~~~~~~~~
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
In file included from libs/log/src/syslog_backend.cpp:32:
In file included from ./boost/asio/ip/udp.hpp:22:
In file included from ./boost/asio/ip/basic_resolver.hpp:27:
In file included from ./boost/asio/ip/basic_resolver_iterator.hpp:27:
./boost/asio/ip/basic_resolver_entry.hpp:54:42: error: no type named
'string_view' in namespace 'boost::asio'; did you mean 'std::string_view'?
BOOST_ASIO_STRING_VIEW_PARAM host, BOOST_ASIO_STRING_VIEW_PARAM service)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::string_view
./boost/asio/detail/string_view.hpp:44:39: note: expanded from macro
'BOOST_ASIO_STRING_VIEW_PARAM'
# define BOOST_ASIO_STRING_VIEW_PARAM boost::asio::string_view
^~~~~~~~~~~~~
/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
build log: https://ptpb.pw/YpvE
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230355
[Bug 230355] [exp-run] Against projects/clang700-import branch
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-office
mailing list