Skip to content

Instantly share code, notes, and snippets.

@AlenkaF
Last active September 27, 2022 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlenkaF/f60e24549529cd096bc9c975bcb71179 to your computer and use it in GitHub Desktop.
Save AlenkaF/f60e24549529cd096bc9c975bcb71179 to your computer and use it in GitHub Desktop.
(pyarrow-dev-9) (base) alenkafrim@Alenkas-MacBook-Pro arrow % archery lint --clang-format
INFO:archery:Running C++ linters
-- Building using CMake version: 3.24.2
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Arrow version: 10.0.0 (full: '10.0.0-SNAPSHOT')
-- Arrow SO version: 1000 (full: 1000.0.0)
-- clang-tidy found at /opt/homebrew/opt/llvm@12/bin/clang-tidy
-- clang-format found, but version did not match "^clang-format version 12"
-- clang-format 12 not found
-- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN)
-- infer not found
-- Found Python3: /Users/alenkafrim/repos/pyarrow-dev-9/bin/python3.9 (found version "3.9.14") found components: Interpreter
-- Using ccache: /opt/homebrew/bin/ccache
-- Found cpplint executable at /Users/alenkafrim/repos/arrow/cpp/build-support/cpplint.py
ARROW_LINT_ONLY was specified, this is only a partial build directory
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_UNITY_BUILD
-- Build files have been written to: /private/var/folders/gw/q7wqd4tx18n_9t4kbkd0bj1m0000gn/T/arrow-lint-g7drna9_/cpp-build
ninja: error: unknown target 'check-format'
(pyarrow-dev-9) (base) alenkafrim@Alenkas-MacBook-Pro arrow % archery lint --clang-tidy
INFO:archery:Running C++ linters
-- Building using CMake version: 3.24.2
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Arrow version: 10.0.0 (full: '10.0.0-SNAPSHOT')
-- Arrow SO version: 1000 (full: 1000.0.0)
-- clang-tidy found at /opt/homebrew/opt/llvm@12/bin/clang-tidy
-- clang-format found, but version did not match "^clang-format version 12"
-- clang-format 12 not found
-- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN)
-- infer not found
-- Found Python3: /Users/alenkafrim/repos/pyarrow-dev-9/bin/python3.9 (found version "3.9.14") found components: Interpreter
-- Using ccache: /opt/homebrew/bin/ccache
-- Found cpplint executable at /Users/alenkafrim/repos/arrow/cpp/build-support/cpplint.py
-- System processor: arm64
-- Performing Test CXX_SUPPORTS_ARMV8_ARCH
-- Performing Test CXX_SUPPORTS_ARMV8_ARCH - Success
-- Arrow build warning level: PRODUCTION
-- Configured for RELEASE build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...})
-- Build Type: RELEASE
-- Performing Test CXX_LINKER_SUPPORTS_VERSION_SCRIPT
-- Performing Test CXX_LINKER_SUPPORTS_VERSION_SCRIPT - Failed
-- Using CONDA approach to find dependencies
-- Using CONDA_PREFIX for ARROW_PACKAGE_PREFIX: /opt/anaconda3
-- Setting (unset) dependency *_ROOT variables: /opt/anaconda3
-- ARROW_ABSL_BUILD_VERSION: 20211102.0
-- ARROW_ABSL_BUILD_SHA256_CHECKSUM: dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4
-- ARROW_AWSSDK_BUILD_VERSION: 1.8.133
-- ARROW_AWSSDK_BUILD_SHA256_CHECKSUM: d6c495bc06be5e21dac716571305d77437e7cfd62a2226b8fe48d9ab5785a8d6
-- ARROW_AWS_CHECKSUMS_BUILD_VERSION: v0.1.12
-- ARROW_AWS_CHECKSUMS_BUILD_SHA256_CHECKSUM: 394723034b81cc7cd528401775bc7aca2b12c7471c92350c80a0e2fb9d2909fe
-- ARROW_AWS_C_COMMON_BUILD_VERSION: v0.6.9
-- ARROW_AWS_C_COMMON_BUILD_SHA256_CHECKSUM: 928a3e36f24d1ee46f9eec360ec5cebfe8b9b8994fe39d4fa74ff51aebb12717
-- ARROW_AWS_C_EVENT_STREAM_BUILD_VERSION: v0.1.5
-- ARROW_AWS_C_EVENT_STREAM_BUILD_SHA256_CHECKSUM: f1b423a487b5d6dca118bfc0d0c6cc596dc476b282258a3228e73a8f730422d4
-- ARROW_BOOST_BUILD_VERSION: 1.75.0
-- ARROW_BOOST_BUILD_SHA256_CHECKSUM: 267e04a7c0bfe85daf796dedc789c3a27a76707e1c968f0a2a87bb96331e2b61
-- ARROW_BROTLI_BUILD_VERSION: v1.0.9
-- ARROW_BROTLI_BUILD_SHA256_CHECKSUM: f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46
-- ARROW_BZIP2_BUILD_VERSION: 1.0.8
-- ARROW_BZIP2_BUILD_SHA256_CHECKSUM: ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269
-- ARROW_CARES_BUILD_VERSION: 1.17.2
-- ARROW_CARES_BUILD_SHA256_CHECKSUM: 4803c844ce20ce510ef0eb83f8ea41fa24ecaae9d280c468c582d2bb25b3913d
-- ARROW_CRC32C_BUILD_VERSION: 1.1.2
-- ARROW_CRC32C_BUILD_SHA256_CHECKSUM: ac07840513072b7fcebda6e821068aa04889018f24e10e46181068fb214d7e56
-- ARROW_GBENCHMARK_BUILD_VERSION: v1.6.0
-- ARROW_GBENCHMARK_BUILD_SHA256_CHECKSUM: 1f71c72ce08d2c1310011ea6436b31e39ccab8c2db94186d26657d41747c85d6
-- ARROW_GFLAGS_BUILD_VERSION: v2.2.2
-- ARROW_GFLAGS_BUILD_SHA256_CHECKSUM: 34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf
-- ARROW_GLOG_BUILD_VERSION: v0.5.0
-- ARROW_GLOG_BUILD_SHA256_CHECKSUM: eede71f28371bf39aa69b45de23b329d37214016e2055269b3b5e7cfd40b59f5
-- ARROW_GOOGLE_CLOUD_CPP_BUILD_VERSION: v1.42.0
-- ARROW_GOOGLE_CLOUD_CPP_BUILD_SHA256_CHECKSUM: c06ae9aededbb8aa217a6d2453754daa40b815f9a4004bc4f2d2d215c79828aa
-- ARROW_GRPC_BUILD_VERSION: v1.46.3
-- ARROW_GRPC_BUILD_SHA256_CHECKSUM: d6cbf22cb5007af71b61c6be316a79397469c58c82a942552a62e708bce60964
-- ARROW_GTEST_BUILD_VERSION: 1.11.0
-- ARROW_GTEST_BUILD_SHA256_CHECKSUM: b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5
-- ARROW_JEMALLOC_BUILD_VERSION: 5.3.0
-- ARROW_JEMALLOC_BUILD_SHA256_CHECKSUM: 2db82d1e7119df3e71b7640219b6dfe84789bc0537983c3b7ac4f7189aecfeaa
-- ARROW_LZ4_BUILD_VERSION: 8f61d8eb7c6979769a484cde8df61ff7c4c77765
-- ARROW_LZ4_BUILD_SHA256_CHECKSUM: 5b072d848f2f93fddb97e1143e22c1bd7fa19fc8431ee69e21758190a88125b4
-- ARROW_MIMALLOC_BUILD_VERSION: v2.0.6
-- ARROW_MIMALLOC_BUILD_SHA256_CHECKSUM: 9f05c94cc2b017ed13698834ac2a3567b6339a8bde27640df5a1581d49d05ce5
-- ARROW_NLOHMANN_JSON_BUILD_VERSION: v3.10.5
-- ARROW_NLOHMANN_JSON_BUILD_SHA256_CHECKSUM: 5daca6ca216495edf89d167f808d1d03c4a4d929cef7da5e10f135ae1540c7e4
-- ARROW_OPENTELEMETRY_BUILD_VERSION: v1.4.1
-- ARROW_OPENTELEMETRY_BUILD_SHA256_CHECKSUM: 301b1ab74a664723560f46c29f228360aff1e2d63e930b963755ea077ae67524
-- ARROW_OPENTELEMETRY_PROTO_BUILD_VERSION: v0.17.0
-- ARROW_OPENTELEMETRY_PROTO_BUILD_SHA256_CHECKSUM: f269fbcb30e17b03caa1decd231ce826e59d7651c0f71c3b28eb5140b4bb5412
-- ARROW_ORC_BUILD_VERSION: 1.7.6
-- ARROW_ORC_BUILD_SHA256_CHECKSUM: a75e0cccaaf5e03f1699bb804f640246bec4d134cb57957125707b0b2822160d
-- ARROW_PROTOBUF_BUILD_VERSION: v21.3
-- ARROW_PROTOBUF_BUILD_SHA256_CHECKSUM: 2f723218f6cb709ae4cdc4fb5ed56a5951fc5d466f0128ce4c946b8c78c8c49f
-- ARROW_RAPIDJSON_BUILD_VERSION: 232389d4f1012dddec4ef84861face2d2ba85709
-- ARROW_RAPIDJSON_BUILD_SHA256_CHECKSUM: b9290a9a6d444c8e049bd589ab804e0ccf2b05dc5984a19ed5ae75d090064806
-- ARROW_RE2_BUILD_VERSION: 2022-06-01
-- ARROW_RE2_BUILD_SHA256_CHECKSUM: f89c61410a072e5cbcf8c27e3a778da7d6fd2f2b5b1445cd4f4508bee946ab0f
-- ARROW_SNAPPY_BUILD_VERSION: 1.1.9
-- ARROW_SNAPPY_BUILD_SHA256_CHECKSUM: 75c1fbb3d618dd3a0483bff0e26d0a92b495bbe5059c8b4f1c962b478b6e06e7
-- ARROW_SNAPPY_OLD_BUILD_VERSION: 1.1.8
-- ARROW_SNAPPY_OLD_BUILD_SHA256_CHECKSUM: 16b677f07832a612b0836178db7f374e414f94657c138e6993cbfc5dcc58651f
-- ARROW_SUBSTRAIT_BUILD_VERSION: v0.6.0
-- ARROW_SUBSTRAIT_BUILD_SHA256_CHECKSUM: 7b8583b9684477e9027f417bbfb4febb8acfeb01923dcaa7cf0fd3f921d69c88
-- ARROW_THRIFT_BUILD_VERSION: 0.16.0
-- ARROW_THRIFT_BUILD_SHA256_CHECKSUM: f460b5c1ca30d8918ff95ea3eb6291b3951cf518553566088f3f2be8981f6209
-- ARROW_UCX_BUILD_VERSION: 1.12.1
-- ARROW_UCX_BUILD_SHA256_CHECKSUM: 9bef31aed0e28bf1973d28d74d9ac4f8926c43ca3b7010bd22a084e164e31b71
-- ARROW_UTF8PROC_BUILD_VERSION: v2.7.0
-- ARROW_UTF8PROC_BUILD_SHA256_CHECKSUM: 4bb121e297293c0fd55f08f83afab6d35d48f0af4ecc07523ad8ec99aa2b12a1
-- ARROW_XSIMD_BUILD_VERSION: 9.0.1
-- ARROW_XSIMD_BUILD_SHA256_CHECKSUM: b1bb5f92167fd3a4f25749db0be7e61ed37e0a5d943490f3accdcd2cd2918cc0
-- ARROW_ZLIB_BUILD_VERSION: 1.2.12
-- ARROW_ZLIB_BUILD_SHA256_CHECKSUM: 91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9
-- ARROW_ZSTD_BUILD_VERSION: v1.5.2
-- ARROW_ZSTD_BUILD_SHA256_CHECKSUM: f7de13462f7a82c29ab865820149e778cbfe01087b3a55b5332707abf9db4a6e
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for _M_ARM64
-- Looking for _M_ARM64 - not found
-- Looking for __SIZEOF_INT128__
-- Looking for __SIZEOF_INT128__ - found
-- Building without OpenSSL support. Minimum OpenSSL version 1.0.2 required.
CMake Error at cmake_modules/ThirdpartyToolchain.cmake:280 (find_package):
By not providing "Findxsimd.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "xsimd", but
CMake did not find one.
Could not find a package configuration file provided by "xsimd" with any of
the following names:
xsimdConfig.cmake
xsimd-config.cmake
Add the installation prefix of "xsimd" to CMAKE_PREFIX_PATH or set
"xsimd_DIR" to a directory containing one of the above files. If "xsimd"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
cmake_modules/ThirdpartyToolchain.cmake:2245 (resolve_dependency)
CMakeLists.txt:585 (include)
-- Configuring incomplete, errors occurred!
See also "/private/var/folders/gw/q7wqd4tx18n_9t4kbkd0bj1m0000gn/T/arrow-lint-mtc1z0p_/cpp-build/CMakeFiles/CMakeOutput.log".
See also "/private/var/folders/gw/q7wqd4tx18n_9t4kbkd0bj1m0000gn/T/arrow-lint-mtc1z0p_/cpp-build/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "/Users/alenkafrim/repos/pyarrow-dev-9/bin/archery", line 33, in <module>
sys.exit(load_entry_point('archery', 'console_scripts', 'archery')())
File "/Users/alenkafrim/repos/pyarrow-dev-9/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/Users/alenkafrim/repos/pyarrow-dev-9/lib/python3.9/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/Users/alenkafrim/repos/pyarrow-dev-9/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/alenkafrim/repos/pyarrow-dev-9/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/alenkafrim/repos/pyarrow-dev-9/lib/python3.9/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/Users/alenkafrim/repos/pyarrow-dev-9/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/alenkafrim/repos/arrow/dev/archery/archery/cli.py", line 303, in lint
linter(src, fix, iwyu_all=iwyu_all, **checks)
File "/Users/alenkafrim/repos/arrow/dev/archery/archery/utils/lint.py", line 401, in linter
results.extend(cpp_linter(src, build_dir,
File "/Users/alenkafrim/repos/arrow/dev/archery/archery/utils/lint.py", line 79, in cpp_linter
build = cmake_def.build(build_dir)
File "/Users/alenkafrim/repos/arrow/dev/archery/archery/utils/cmake.py", line 114, in build
cmake(*self.arguments, cwd=build_dir, env=self.env, **cmd_kwargs)
File "/Users/alenkafrim/repos/arrow/dev/archery/archery/utils/command.py", line 89, in __call__
return self.run(*argv, **kwargs)
File "/Users/alenkafrim/repos/arrow/dev/archery/archery/utils/command.py", line 78, in run
return subprocess.run(invocation, **kwargs)
File "/opt/homebrew/Cellar/python@3.9/3.9.14/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmake', '-GNinja', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DCMAKE_BUILD_TYPE=release', '-DBUILD_WARNING_LEVEL=production', '-DCMAKE_INSTALL_PREFIX=/opt/anaconda3', '-DARROW_BUILD_STATIC=ON', '-DARROW_BUILD_SHARED=ON', '-DCMAKE_UNITY_BUILD=ON', '-DARROW_BUILD_TESTS=OFF', '-DARROW_BUILD_BENCHMARKS=OFF', '-DARROW_BUILD_EXAMPLES=OFF', '-DARROW_BUILD_INTEGRATION=OFF', '-DARROW_USE_ASAN=OFF', '-DARROW_USE_TSAN=OFF', '-DARROW_USE_UBSAN=OFF', '-DARROW_FUZZING=OFF', '-DARROW_COMPUTE=OFF', '-DARROW_CSV=OFF', '-DARROW_CUDA=OFF', '-DARROW_DATASET=OFF', '-DARROW_FILESYSTEM=OFF', '-DARROW_FLIGHT=OFF', '-DARROW_GANDIVA=OFF', '-DARROW_GCS=OFF', '-DARROW_HDFS=OFF', '-DARROW_IPC=ON', '-DARROW_JSON=OFF', '-DARROW_JNI=OFF', '-DARROW_MIMALLOC=OFF', '-DARROW_JEMALLOC=OFF', '-DARROW_PARQUET=OFF', '-DARROW_PLASMA=OFF', '-DARROW_PYTHON=OFF', '-DARROW_S3=OFF', '-DARROW_WITH_BROTLI=OFF', '-DARROW_WITH_BZ2=OFF', '-DARROW_WITH_LZ4=OFF', '-DARROW_WITH_SNAPPY=OFF', '-DARROW_WITH_ZLIB=OFF', '-DARROW_WITH_ZSTD=OFF', '-DARROW_LINT_ONLY=OFF', '-DARROW_USE_LD_GOLD=ON', '-DARROW_SIMD_LEVEL=DEFAULT', '/Users/alenkafrim/repos/arrow/cpp']' returned non-zero exit status 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment