Summary: | devel/boost-libs: fails to build with libc++ 7 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
Component: | Individual Port(s) | Assignee: | FreeBSD Office Team <office> |
Status: | Closed DUPLICATE | ||
Severity: | Affects Only Me | CC: | linimon |
Priority: | --- | Keywords: | needs-qa |
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(office) |
Hardware: | Any | ||
OS: | Any | ||
See Also: |
https://github.com/boostorg/asio/pull/135 https://github.com/boostorg/asio/pull/91 |
||
Bug Depends on: | |||
Bug Blocks: | 230355 |
Description
Jan Beich
2018-08-06 00:42:03 UTC
libc++ exposes std::basic_string_view for any -std= but libstdc++ only for C++17. databases/mongodb36 is also affected. The bundled Asio is older than in Boost 1.68. Build log: https://ptpb.pw/S4JF In file included from src/third_party/asio-master/asio/src/asio.cpp:11: In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:44: In file included from src/third_party/asio-master/asio/include/asio/detail/impl/reactive_descriptor_service.ipp:25: In file included from src/third_party/asio-master/asio/include/asio/detail/reactive_descriptor_service.hpp:24: In file included from src/third_party/asio-master/asio/include/asio/buffer.hpp:27: In file included from src/third_party/asio-master/asio/include/asio/detail/string_view.hpp:23: /usr/include/c++/v1/experimental/string_view:11:2: error: "<experimental/string_view> has been removed. Use <string_view> instead." boost-libs-1.67.0 isn't affected because it's built in C++11 mode but <experimental/string_view> is only used for C++14. https://github.com/boostorg/asio/blob/boost-1.67.0/include/boost/asio/detail/config.hpp#L804-L809 https://reviews.freebsd.org/differential/changeset/?ref=553225 https://reviews.freebsd.org/D16165?vs=46246&id=46406 *** This bug has been marked as a duplicate of bug 229569 *** A commit references this bug: Author: jbeich Date: Wed Aug 8 12:31:40 UTC 2018 New revision: 476640 URL: https://svnweb.freebsd.org/changeset/ports/476640 Log: databases/mongodb36: unbreak with libc++ 7 In file included from src/third_party/asio-master/asio/src/asio.cpp:11: In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:44: In file included from src/third_party/asio-master/asio/include/asio/detail/impl/reactive_descriptor_service.ipp:25: In file included from src/third_party/asio-master/asio/include/asio/detail/reactive_descriptor_service.hpp:24: In file included from src/third_party/asio-master/asio/include/asio/buffer.hpp:27: In file included from src/third_party/asio-master/asio/include/asio/detail/string_view.hpp:23: /usr/include/c++/v1/experimental/string_view:11:2: error: "<experimental/string_view> has been removed. Use <string_view> instead." PR: 230401 Changes: head/databases/mongodb36/Makefile head/databases/mongodb36/files/patch-asio-libc++7 A commit references this bug: Author: jbeich Date: Tue Aug 14 19:43:20 UTC 2018 New revision: 477199 URL: https://svnweb.freebsd.org/changeset/ports/477199 Log: emulators/mame: unbreak with libc++ 7 In file included from ../../../../../src/emu/http.cpp:12: In file included from ../../../../../src/lib/util/server_ws_impl.hpp:8: In file included from ../../../../../src/osd/asio.h:34: In file included from ../../../../../3rdparty/asio/include/asio.hpp:21: In file included from ../../../../../3rdparty/asio/include/asio/basic_datagram_socket.hpp:20: In file included from ../../../../../3rdparty/asio/include/asio/basic_socket.hpp:40: In file included from ../../../../../3rdparty/asio/include/asio/detail/reactive_socket_service.hpp:22: In file included from ../../../../../3rdparty/asio/include/asio/buffer.hpp:27: In file included from ../../../../../3rdparty/asio/include/asio/detail/string_view.hpp:23: /usr/include/c++/v1/experimental/string_view:11:2: error: "<experimental/string_view> has been removed. Use <string_view> instead." PR: 230401 Reported by: antoine (via exp-run) Changes: head/emulators/mame/files/patch-asio-libc++7 A commit references this bug: Author: jbeich Date: Tue Aug 14 19:43:40 UTC 2018 New revision: 477200 URL: https://svnweb.freebsd.org/changeset/ports/477200 Log: www/rubygem-passenger: unbreak with libc++ 7 In file included from src/agent/Watchdog/WatchdogMain.cpp:68: In file included from src/agent/Watchdog/Config.h:32: In file included from src/agent/Core/Config.h:47: In file included from src/agent/Core/AdminPanelConnector.h:43: In file included from src/cxx_supportlib/WebSocketCommandReverseServer.h:29: In file included from src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/config/asio_no_tls_client.hpp:32: In file included from src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/endpoint.hpp:32: In file included from src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/connection.hpp:31: In file included from src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/base.hpp:31: In file included from src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/asio.hpp:65: In file included from src/cxx_supportlib/vendor-modified/boost/asio.hpp:23: In file included from src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp:20: In file included from src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp:40: In file included from src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp:22: In file included from src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp:27: In file included from src/cxx_supportlib/vendor-modified/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." PR: 230401 Reported by: antoine (via exp-run) Changes: head/www/rubygem-passenger/files/patch-asio-libc++7 |