[MacPorts] #58277: mongodb @4.0.7: build fails with C++ library issues using Xcode 10.2
MacPorts
noreply at macports.org
Sat Mar 30 17:49:28 UTC 2019
#58277: mongodb @4.0.7: build fails with C++ library issues using Xcode 10.2
---------------------+------------------------
Reporter: dbevans | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: mongodb
---------------------+------------------------
Build fails on macOS 10.14.4 using
{{{
Xcode 10.2
Build version 10E125
Apple LLVM version 10.0.1 (clang-1001.0.46.3)
}}}
as follows (no problem with Xcode 10.1)
{{{
:info:build /usr/bin/clang++ -o build/MP/mongo/transport/transport_layer.o
-c -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move
-Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-
specialization -stdlib=libc++ -std=c++14 -arch x86_64
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-
compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs
-Wno-unused-function -Wno-unused-private-field -Wno-deprecated-
declarations -Wno-tautological-constant-out-of-range-compare -Wno-
tautological-constant-compare -Wno-tautological-unsigned-zero-compare
-Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable
-Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-
evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions
-Wunguarded-availability -fstack-protector-strong -fno-builtin-memcmp
-DPCRE_STATIC -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED
-DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/pcre-8.41
-Isrc/third_party/boost-1.60.0 -I/opt/local/include -Ibuild/MP -Isrc
src/mongo/transport/transport_layer.cpp
:info:build In file included from
src/mongo/transport/transport_layer_asio.cpp:37:
:info:build In file included from src/third_party/asio-
master/asio/include/asio.hpp:21:
:info:build In file included from src/third_party/asio-
master/asio/include/asio/basic_datagram_socket.hpp:20:
:info:build In file included from src/third_party/asio-
master/asio/include/asio/basic_socket.hpp:40:
:info:build In file included from src/third_party/asio-
master/asio/include/asio/detail/reactive_socket_service.hpp:22:
:info:build In file included from src/third_party/asio-
master/asio/include/asio/buffer.hpp:27:
:info:build In file included from src/third_party/asio-
master/asio/include/asio/detail/string_view.hpp:23:
:info:build
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/string_view:11:2:
error: "<experimental/string_view> has been removed. Use <string_view>
instead."
:info:build #error "<experimental/string_view> has been removed. Use
<string_view> instead."
:info:build ^
:info:build In file included from
src/mongo/transport/transport_layer_asio.cpp:37:
:info:build In file included from src/third_party/asio-
master/asio/include/asio.hpp:21:
:info:build In file included from src/third_party/asio-
master/asio/include/asio/basic_datagram_socket.hpp:20:
:info:build In file included from src/third_party/asio-
master/asio/include/asio/basic_socket.hpp:40:
:info:build In file included from src/third_party/asio-
master/asio/include/asio/detail/reactive_socket_service.hpp:22:
:info:build In file included from src/third_party/asio-
master/asio/include/asio/buffer.hpp:27:
:info:build src/third_party/asio-
master/asio/include/asio/detail/string_view.hpp:31:12: error: no member
named 'experimental' in namespace 'std'
:info:build using std::experimental::basic_string_view;
:info:build ~~~~~^
:info:build src/third_party/asio-
master/asio/include/asio/detail/string_view.hpp:32:12: error: no member
named 'experimental' in namespace 'std'
:info:build using std::experimental::string_view;
:info:build ~~~~~^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58277>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list