Advertisement
falchikova_v

cmake_build_error

Jan 22nd, 2020
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.22 KB | None | 0 0
  1. MacBook-Pro-Veronica:build veronica$ export CC=clang CXX=clang++
  2. MacBook-Pro-Veronica:build veronica$ cmake ..
  3. -- IPO/LTO not enabled.
  4. -- CMAKE_BUILD_TYPE: Debug
  5. -- Disabling compiler -pipe option (have only 3789 mb of memory)
  6. -- Default libraries: -nodefaultlibs -lc -lm -lpthread -ldl
  7. -- Using libcxx: cxx
  8. -- Using libcxxfs:
  9. -- Using libcxxabi: cxxabi
  10. -- Tests are enabled
  11. -- Building for: Darwin-18.7.0 x86_64 ; USE_STATIC_LIBRARIES=ON MAKE_STATIC_LIBRARIES=ON SPLIT_SHARED= UNBUNDLED=OFF CCACHE=CCACHE_FOUND-NOTFOUND
  12. -- Using double-conversion: /Users/veronica/ClickHouse/contrib/double-conversion : double-conversion
  13. -- Using ssl=1: /Users/veronica/ClickHouse/contrib/openssl/include;/Users/veronica/ClickHouse/contrib/openssl-cmake/linux_x86_64/include : ssl;crypto
  14. -- Build without ICU (support for collations and charset conversion functions will be disabled)
  15. -- Using Boost: /Users/veronica/ClickHouse/contrib/boost : boost_program_options_internal,boost_system_internal,boost_filesystem_internal;boost_system_internal,boost_regex_internal
  16. -- Using zlib-ng: /Users/veronica/ClickHouse/contrib/zlib-ng;/Users/veronica/ClickHouse/build/contrib/zlib-ng : zlibstatic
  17. -- Using zstd: /Users/veronica/ClickHouse/contrib/zstd/lib : zstd
  18. -- Using termcap: /usr/lib/libncurses.dylib
  19. -- Using Poco: /Users/veronica/ClickHouse/contrib/poco/Foundation/include/;/Users/veronica/ClickHouse/contrib/poco/Util/include/;/Users/veronica/ClickHouse/contrib/zlib-ng/;/Users/veronica/ClickHouse/build/contrib/zlib-ng/ : PocoFoundation,PocoUtil,PocoNet,PocoNetSSL;ssl;crypto,PocoCrypto;ssl;crypto,PocoXML,PocoData,,,,PocoMongoDB,PocoRedis; MongoDB=1, Redis=1, DataODBC=, NetSSL=1
  20. -- Using lz4: /Users/veronica/ClickHouse/contrib/lz4/lib : lz4
  21. -- Using xxhash=1: /Users/veronica/ClickHouse/contrib/lz4/lib : lz4
  22. -- Using sparsehash: /Users/veronica/ClickHouse/contrib/sparsehash-c11
  23. -- Using rt: apple_rt
  24. -- Using re2: /Users/veronica/ClickHouse/contrib/re2 : re2; : re2_st
  25. -- Using libgsasl=: LIBGSASL_INCLUDE_DIR-NOTFOUND : LIBGSASL_LIBRARY-NOTFOUND
  26. -- Using librdkafka=: :
  27. -- Using capnp=1: capnpc
  28. -- Using h3=1: /Users/veronica/ClickHouse/contrib/h3/src/h3lib/include : h3
  29. -- Using cpuid=1: /Users/veronica/ClickHouse/contrib/libcpuid/include : cpuid
  30. -- Using libxml2: /Users/veronica/ClickHouse/contrib/libxml2/include;/Users/veronica/ClickHouse/contrib/libxml2-cmake/linux_x86_64/include : libxml2
  31. -- Using brotli=1: /Users/veronica/ClickHouse/contrib/brotli/c/include : brotli
  32. -- Using protobuf=1: /Users/veronica/ClickHouse/contrib/protobuf/src : libprotobuf : /Users/veronica/ClickHouse/build/contrib/protobuf/cmake/protoc
  33. -- Using pdqsort: /Users/veronica/ClickHouse/contrib/pdqsort
  34. -- Using hdfs3=: :
  35. -- Using aws_s3=: :
  36. -- Using consistent-hashing: : consistent-hashing
  37. -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  38. -- Could not find the Arrow library. Looked for headers in , and for libs in
  39. -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  40. -- Could not find the parquet library. Looked in system search paths.
  41. -- Using snappy: snappy
  42. -- Using Parquet: arrow_static: ; parquet_static:PARQUET_INCLUDE_DIR-NOTFOUND ; thrift_static ; flatbuffers
  43. -- Using hyperscan=1: /Users/veronica/ClickHouse/contrib/hyperscan/src : hs
  44. -- Using simdjson=ON: simdjson
  45. -- Using rapidjson=1: /Users/veronica/ClickHouse/contrib/rapidjson/include
  46. -- Using fastops=0: :
  47. -- Using snappy: snappy
  48. -- Using internal=ON orc=1: /Users/veronica/ClickHouse/contrib/orc/c++/include : orc
  49. -- Using replxx
  50. -- Using cityhash: : cityhash
  51. -- Using farmhash: : farmhash
  52. -- Using metrohash: /Users/veronica/ClickHouse/contrib/libmetrohash/src : metrohash
  53. -- Using btrie: : btrie
  54. -- Using gtest=1: /Users/veronica/ClickHouse/contrib/googletest/googletest : gtest_main;gtest :
  55. -- Using cctz: /Users/veronica/ClickHouse/contrib/cctz/include : cctz
  56. -- Build without mysqlclient (support for MYSQL dictionary source will be disabled)
  57. -- compiler C = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -fdiagnostics-color=always -gdwarf-aranges -msse4.1 -msse4.2 -mpopcnt -Wall -Wno-unused-command-line-argument -fno-omit-frame-pointer -mmacosx-version-min=10.15 -g -O0 -g3 -ggdb3 -fno-inline
  58. -- compiler CXX = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -fdiagnostics-color=always -std=c++2a -fsized-deallocation -gdwarf-aranges -msse4.1 -msse4.2 -mpopcnt -Wall -Wno-unused-command-line-argument -Wnon-virtual-dtor -fno-omit-frame-pointer -mmacosx-version-min=10.15 -g -O0 -g3 -ggdb3 -fno-inline -D_LIBCPP_DEBUG=0
  59. -- LINKER_FLAGS = -rdynamic -mmacosx-version-min=10.15
  60. -- ZSTD VERSION 1.3.17
  61. -- Using CMake version 3.16.2
  62. -- ZLIB_HEADER_VERSION: 1.2.11
  63. -- ZLIBNG_HEADER_VERSION: 1.9.9
  64. -- Arch detected: 'x86_64'
  65. -- Basearch of 'x86_64' has been detected as: 'x86'
  66. -- Architecture-specific source files: arch/x86/x86.c;arch/x86/insert_string_sse.c;arch/x86/deflate_quick.c;arch/x86/fill_window_sse.c;arch/x86/slide_sse.c;arch/x86/crc_folding.c
  67. -- The following features have been enabled:
  68.  
  69. * CMAKE_BUILD_TYPE, Build type: Debug (selected)
  70. * ZLIB_COMPAT, Provide a zlib-compatible API
  71. * WITH_OPTIM, Build with optimisation
  72. * WITH_NEW_STRATEGIES, Use new strategies
  73. * SSE42_CRC, Support CRC hash generation using the SSE4.2 instruction set, using "-msse4"
  74. * SSE42_DEFLATE_QUICK, Support SSE4.2-accelerated quick compression
  75. * PCLMUL_CRC, Support CRC hash generation using PCLMULQDQ, using "-mpclmul"
  76.  
  77. -- The following REQUIRED packages have been found:
  78.  
  79. * Threads
  80.  
  81. -- The following features have been disabled:
  82.  
  83. * WITH_GZFILEOP, Compile with support for gzFile-related functions
  84. * WITH_SANITIZERS, Build with address sanitizer and all supported sanitizers other than memory sanitizer
  85. * WITH_MSAN, Build with memory sanitizer
  86. * WITH_FUZZERS, Build test/fuzz
  87. * MAINTAINER, Build with maintainer warnings and tests enabled
  88.  
  89. -- The following OPTIONAL packages have not been found:
  90.  
  91. * Arrow
  92. * Parquet
  93.  
  94. -- FLATBUFFERS_LIBRARY: flatbuffers, FLATBUFFERS_COMPILER: /Users/veronica/ClickHouse/build/contrib/flatbuffers/flatc
  95. -- FLATBUFFERS_COMPILED_OUT_DIR: /Users/veronica/ClickHouse/build/contrib/arrow-cmake/arrow_gen_headers/arrow/ipc
  96. -- flatc: /Users/veronica/ClickHouse/build/contrib/flatbuffers/flatc -c -o /Users/veronica/ClickHouse/build/contrib/arrow-cmake/arrow_gen_headers/arrow/ipc/ /Users/veronica/ClickHouse/contrib/arrow/format/Message.fbs;/Users/veronica/ClickHouse/contrib/arrow/format/File.fbs;/Users/veronica/ClickHouse/contrib/arrow/format/Schema.fbs;/Users/veronica/ClickHouse/contrib/arrow/format/Tensor.fbs;/Users/veronica/ClickHouse/contrib/arrow/format/SparseTensor.fbs;/Users/veronica/ClickHouse/contrib/arrow/cpp/src/arrow/ipc/feather.fbs
  97. -- Using OpenSSL from /Users/veronica/ClickHouse/contrib/openssl
  98. CMake Warning at contrib/googletest/googletest/CMakeLists.txt:54 (project):
  99. VERSION keyword not followed by a value or was followed by a value that
  100. expanded to nothing.
  101.  
  102.  
  103. -- Build type DEBUG
  104. -- Boost version: 1.70.0
  105. -- Build date: 2000-01-01
  106. -- Building without AVX512 support
  107. -- Building for current host CPU:
  108. -- Doxygen not found, unable to generate API reference
  109. -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  110. -- PCRE version 8.41 or above not found
  111. -- PCRE 8.41 or above not found
  112. -- /Users/veronica/ClickHouse/utils: Have 3793 megabytes of memory. Limiting concurrent linkers jobs to 1 and compiler jobs to OFF
  113. -- /Users/veronica/ClickHouse/dbms: Have 3791 megabytes of memory. Limiting concurrent linkers jobs to 1 and compiler jobs to 2
  114. -- Will build ClickHouse 20.2.1.1 revision 54432
  115. CMake Warning at cmake/add_warning.cmake:11 (message):
  116. Flag -Wno-ctad-maybe-unsupported is unsupported
  117. Call Stack (most recent call first):
  118. cmake/add_warning.cmake:17 (add_warning)
  119. dbms/CMakeLists.txt:88 (no_warning)
  120.  
  121.  
  122. -- Target check already exists
  123. -- Configuring done
  124. -- Generating done
  125. -- Build files have been written to: /Users/veronica/ClickHouse/build
  126. MacBook-Pro-Veronica:build veronica$ ninja clickhouse-server clickhouse-client
  127. [0/2] Re-checking globbed directories...
  128. [3/1346] Building CXX object libs/libc...MakeFiles/common.dir/src/DateLUT.cpp.o
  129. FAILED: libs/libcommon/CMakeFiles/common.dir/src/DateLUT.cpp.o
  130. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DBOOST_SYSTEM_NO_DEPRECATED -DPOCO_STATIC -DPOCO_UNBUNDLED_ZLIB -DUNALIGNED_OK -DWITH_GZFILEOP -DX86_64 -DZLIB_COMPAT -I../contrib/cctz/include -I../libs/libcommon/include -Ilibs/libcommon/include -I../contrib/replxx/include -I../contrib/zlib-ng -Icontrib/zlib-ng -I../contrib/cityhash102/include -isystem ../contrib/libcxx/include -isystem ../contrib/libcxxabi/include -isystem ../contrib/poco/Util/include -isystem ../contrib/poco/Foundation/include -isystem ../contrib/poco/XML/include -isystem ../contrib/poco/JSON/include -isystem ../contrib/boost -fdiagnostics-color=always -std=c++2a -fsized-deallocation -gdwarf-aranges -msse4.1 -msse4.2 -mpopcnt -Wall -Wno-unused-command-line-argument -Wnon-virtual-dtor -fno-omit-frame-pointer -mmacosx-version-min=10.15 -Werror -g -O0 -g3 -ggdb3 -fno-inline -D_LIBCPP_DEBUG=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.14 -D OS_DARWIN -nostdinc++ -Wno-documentation -MD -MT libs/libcommon/CMakeFiles/common.dir/src/DateLUT.cpp.o -MF libs/libcommon/CMakeFiles/common.dir/src/DateLUT.cpp.o.d -o libs/libcommon/CMakeFiles/common.dir/src/DateLUT.cpp.o -c ../libs/libcommon/src/DateLUT.cpp
  131. ../libs/libcommon/src/DateLUT.cpp:32:9: error: 'path' is unavailable: introduced in macOS 10.15
  132. fs::path tz_database_path = tzdir_env_var ? tzdir_env_var : "/usr/share/zoneinfo/";
  133. ^
  134. ../contrib/libcxx/include/filesystem:738:24: note: 'path' has been explicitly marked unavailable here
  135. class _LIBCPP_TYPE_VIS path {
  136. ^
  137. ../libs/libcommon/src/DateLUT.cpp:32:14: error: 'path' is unavailable: introduced in macOS 10.15
  138. fs::path tz_database_path = tzdir_env_var ? tzdir_env_var : "/usr/share/zoneinfo/";
  139. ^
  140. ../contrib/libcxx/include/filesystem:772:3: note: 'path' has been explicitly marked unavailable here
  141. path(const _Source& __src, format = format::auto_format) {
  142. ^
  143. ../libs/libcommon/src/DateLUT.cpp:32:33: error: '~path' is unavailable: introduced in macOS 10.15
  144. fs::path tz_database_path = tzdir_env_var ? tzdir_env_var : "/usr/share/zoneinfo/";
  145. ^
  146. ../contrib/libcxx/include/filesystem:790:3: note: '~path' has been explicitly marked unavailable here
  147. ~path() = default;
  148. ^
  149. ../libs/libcommon/src/DateLUT.cpp:32:14: error: '~path' is unavailable: introduced in macOS 10.15
  150. fs::path tz_database_path = tzdir_env_var ? tzdir_env_var : "/usr/share/zoneinfo/";
  151. ^
  152. ../contrib/libcxx/include/filesystem:790:3: note: '~path' has been explicitly marked unavailable here
  153. ~path() = default;
  154. ^
  155. ../libs/libcommon/src/DateLUT.cpp:34:9: error: 'path' is unavailable: introduced in macOS 10.15
  156. fs::path tz_file_path;
  157. ^
  158. ../contrib/libcxx/include/filesystem:738:24: note: 'path' has been explicitly marked unavailable here
  159. class _LIBCPP_TYPE_VIS path {
  160. ^
  161. ../libs/libcommon/src/DateLUT.cpp:34:14: error: 'path' is unavailable: introduced in macOS 10.15
  162. fs::path tz_file_path;
  163. ^
  164. ../contrib/libcxx/include/filesystem:762:29: note: 'path' has been explicitly marked unavailable here
  165. _LIBCPP_INLINE_VISIBILITY path() noexcept {}
  166. ^
  167. ../libs/libcommon/src/DateLUT.cpp:34:14: error: '~path' is unavailable: introduced in macOS 10.15
  168. fs::path tz_file_path;
  169. ^
  170. ../contrib/libcxx/include/filesystem:790:3: note: '~path' has been explicitly marked unavailable here
  171. ~path() = default;
  172. ^
  173. ../libs/libcommon/src/DateLUT.cpp:49:22: error: 'operator=' is unavailable: introduced in macOS 10.15
  174. tz_file_path = tz_env_var;
  175. ^
  176. ../contrib/libcxx/include/filesystem:819:3: note: 'operator=' has been explicitly marked unavailable here
  177. operator=(const _Source& __src) {
  178. ^
  179. ../libs/libcommon/src/DateLUT.cpp:49:22: error: 'operator=<const char *>' is unavailable: introduced in macOS 10.15
  180. tz_file_path = tz_env_var;
  181. ^
  182. ../contrib/libcxx/include/filesystem:819:3: note: 'operator=<const char *>' has been explicitly marked unavailable here
  183. operator=(const _Source& __src) {
  184. ^
  185. ../libs/libcommon/src/DateLUT.cpp:55:22: error: 'operator=' is unavailable: introduced in macOS 10.15
  186. tz_file_path = "/etc/localtime";
  187. ^
  188. ../contrib/libcxx/include/filesystem:819:3: note: 'operator=' has been explicitly marked unavailable here
  189. operator=(const _Source& __src) {
  190. ^
  191. ../libs/libcommon/src/DateLUT.cpp:55:22: error: 'operator=<char [15]>' is unavailable: introduced in macOS 10.15
  192. tz_file_path = "/etc/localtime";
  193. ^
  194. ../contrib/libcxx/include/filesystem:819:3: note: 'operator=<char [15]>' has been explicitly marked unavailable here
  195. operator=(const _Source& __src) {
  196. ^
  197. ../libs/libcommon/src/DateLUT.cpp:58:18: error: 'exists' is unavailable: introduced in macOS 10.15
  198. if (!fs::exists(tz_file_path))
  199. ^
  200. ../contrib/libcxx/include/filesystem:1614:39: note: 'exists' has been explicitly marked unavailable here
  201. inline _LIBCPP_INLINE_VISIBILITY bool exists(const path& __p) {
  202. ^
  203. ../libs/libcommon/src/DateLUT.cpp:66:17: error: 'is_symlink' is unavailable: introduced in macOS 10.15
  204. if (fs::is_symlink(tz_file_path))
  205. ^
  206. ../contrib/libcxx/include/filesystem:1746:39: note: 'is_symlink' has been explicitly marked unavailable here
  207. inline _LIBCPP_INLINE_VISIBILITY bool is_symlink(const path& __p) {
  208. ^
  209. ../libs/libcommon/src/DateLUT.cpp:68:32: error: 'read_symlink' is unavailable: introduced in macOS 10.15
  210. tz_file_path = fs::read_symlink(tz_file_path);
  211. ^
  212. ../contrib/libcxx/include/filesystem:1830:39: note: 'read_symlink' has been explicitly marked unavailable here
  213. inline _LIBCPP_INLINE_VISIBILITY path read_symlink(const path& __p) {
  214. ^
  215. ../libs/libcommon/src/DateLUT.cpp:68:28: error: '~path' is unavailable: introduced in macOS 10.15
  216. tz_file_path = fs::read_symlink(tz_file_path);
  217. ^
  218. ../contrib/libcxx/include/filesystem:790:3: note: '~path' has been explicitly marked unavailable here
  219. ~path() = default;
  220. ^
  221. ../libs/libcommon/src/DateLUT.cpp:68:26: error: 'operator=' is unavailable: introduced in macOS 10.15
  222. tz_file_path = fs::read_symlink(tz_file_path);
  223. ^
  224. ../contrib/libcxx/include/filesystem:800:9: note: 'operator=' has been explicitly marked unavailable here
  225. path& operator=(path&& __p) noexcept {
  226. ^
  227. ../libs/libcommon/src/DateLUT.cpp:70:30: error: 'is_relative' is unavailable: introduced in macOS 10.15
  228. if (tz_file_path.is_relative())
  229. ^
  230. ../contrib/libcxx/include/filesystem:1106:34: note: 'is_relative' has been explicitly marked unavailable here
  231. _LIBCPP_INLINE_VISIBILITY bool is_relative() const { return !is_absolute(); }
  232. ^
  233. ../libs/libcommon/src/DateLUT.cpp:71:37: error: 'path' is unavailable: introduced in macOS 10.15
  234. tz_file_path = (fs::path("/etc/") / tz_file_path).lexically_normal();
  235. ^
  236. ../contrib/libcxx/include/filesystem:738:24: note: 'path' has been explicitly marked unavailable here
  237. class _LIBCPP_TYPE_VIS path {
  238. ^
  239. ../libs/libcommon/src/DateLUT.cpp:71:33: error: 'path' is unavailable: introduced in macOS 10.15
  240. tz_file_path = (fs::path("/etc/") / tz_file_path).lexically_normal();
  241. ^
  242. ../contrib/libcxx/include/filesystem:772:3: note: 'path' has been explicitly marked unavailable here
  243. path(const _Source& __src, format = format::auto_format) {
  244. ^
  245. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  246. 20 errors generated.
  247. [5/1346] Building CXX object dbms/CMak...etDictionaryConfigurationFromAST.cpp.o
  248. ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement