[C++] cmake error when building with GCS turned on

Describe the bug, including details regarding any error messages, version, and platform.
I'm trying to rebuild Arrow locally and having issues with building with the Google Cloud CPP dependencies.
I'm running:
cmake -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
      -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Debug  -DARROW_COMPUTE=ON   -DARROW_CSV=ON   -DARROW_DATASET=ON \
      -DARROW_FILESYSTEM=ON   -DARROW_JEMALLOC=ON   -DARROW_JSON=ON   -DARROW_PARQUET=ON   -DARROW_WITH_SNAPPY=ON \
      -DARROW_WITH_ZLIB=ON   -DARROW_INSTALL_NAME_RPATH=OFF   -DARROW_EXTRA_ERROR_CONTEXT=ON \
      -DARROW_INSTALL_NAME_RPATH=OFF -DARROW_DEPENDENCY_SOURCE=BUNDLED -DARROW_GCS=ON -DARROW_SUBSTRAIT=ON ..

and get the following error message
CMake Error at CMakeLists.txt:282 (message):
  If storage is enabled (e.g.  -DGOOGLE_CLOUD_CPP_ENABLE=storage), the REST
  library cannot be disabled, i.e., you cannot set
  -DGOOGLE_CLOUD_CPP_ENABLE_REST=OFF.  If you do want to use the storage
  library, then do not use -DGOOGLE_CLOUD_CPP_ENABLE_REST=OFF.  If you do not
  want to use the storage library, then provide a
  -DGOOGLE_CLOUD_CPP_ENABLE=...  list and do not include storage in that
  list.

I don't understand this as I haven't set the flags referenced in that error message? Everything builds fine (but without GCS) if I set -DARROW_GCS=OFF.
Component(s)
C++

Hmm. This works well on my environment...
Could you attach a full cmake ... output?

Ah, it appears there are other OpenSSL errors...
nic2@xps:~/arrow/cpp/build-nic-2$
    cmake -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
      -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Debug  -DARROW_COMPUTE=ON   -DARROW_CSV=ON   -DARROW_DATASET=ON \
      -DARROW_FILESYSTEM=ON   -DARROW_JEMALLOC=ON   -DARROW_JSON=ON   -DARROW_PARQUET=ON   -DARROW_WITH_SNAPPY=ON \
      -DARROW_WITH_ZLIB=ON   -DARROW_INSTALL_NAME_RPATH=OFF   -DARROW_EXTRA_ERROR_CONTEXT=ON \
      -DARROW_INSTALL_NAME_RPATH=OFF -DARROW_DEPENDENCY_SOURCE=BUNDLED -DARROW_GCS=ON -DARROW_SUBSTRAIT=ON ..
-- Building using CMake version: 3.22.1
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /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: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Arrow version: 12.0.0 (full: '12.0.0-SNAPSHOT')
-- Arrow SO version: 1200 (full: 1200.0.0)
-- clang-tidy 14 not found
-- clang-format found at /usr/bin/clang-format-14
-- Could NOT find ClangTools (missing: CLANG_TIDY_BIN)
-- infer not found
-- Found Python3: /usr/bin/python3.10 (found version "3.10.6") found components: Interpreter
-- Found cpplint executable at /home/nic2/arrow/cpp/build-support/cpplint.py
-- System processor: x86_64
-- Performing Test CXX_SUPPORTS_SSE4_2
-- Performing Test CXX_SUPPORTS_SSE4_2 - Success
-- Performing Test CXX_SUPPORTS_AVX2
-- Performing Test CXX_SUPPORTS_AVX2 - Success
-- Performing Test CXX_SUPPORTS_AVX512
-- Performing Test CXX_SUPPORTS_AVX512 - Success
-- Arrow build warning level: CHECKIN
-- Using ld linker
-- Build Type: DEBUG
-- Performing Test CXX_LINKER_SUPPORTS_VERSION_SCRIPT
-- Performing Test CXX_LINKER_SUPPORTS_VERSION_SCRIPT - Success
-- Using BUNDLED approach to find dependencies
-- 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: v1.9.4
-- ARROW_LZ4_BUILD_SHA256_CHECKSUM: 0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b
-- 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.8.1
-- ARROW_OPENTELEMETRY_BUILD_SHA256_CHECKSUM: 3d640201594b07f08dade9cd1017bd0b59674daca26223b560b9bb6bf56264c2
-- ARROW_OPENTELEMETRY_PROTO_BUILD_VERSION: v0.17.0
-- ARROW_OPENTELEMETRY_PROTO_BUILD_SHA256_CHECKSUM: f269fbcb30e17b03caa1decd231ce826e59d7651c0f71c3b28eb5140b4bb5412
-- ARROW_ORC_BUILD_VERSION: 1.8.2
-- ARROW_ORC_BUILD_SHA256_CHECKSUM: 5e14501212abcb739ab0f3bdedf230c47e5138d9bf9f0e89e9a84b18bd084052
-- 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_SUBSTRAIT_BUILD_VERSION: v0.20.0
-- ARROW_SUBSTRAIT_BUILD_SHA256_CHECKSUM: 5ceaa559ccef29a7825b5e5d4b5e7eed384830294f08bec913feecdd903a94cf
-- 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.13
-- ARROW_ZLIB_BUILD_SHA256_CHECKSUM: b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30
-- ARROW_ZSTD_BUILD_VERSION: v1.5.2
-- ARROW_ZSTD_BUILD_SHA256_CHECKSUM: f7de13462f7a82c29ab865820149e778cbfe01087b3a55b5332707abf9db4a6e
-- Looking for pthread.h
-- Looking for pthread.h - found
-- 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
-- Boost include dir: /home/nic2/arrow/cpp/build-nic-2/boost_ep-prefix/src/boost_ep
-- Building snappy from source
-- Building without OpenSSL support. Minimum OpenSSL version 1.0.2 required.
-- Building Apache Thrift from source
-- Building Protocol Buffers from source
-- Found protoc: /home/nic2/arrow/cpp/build-nic-2/protobuf_ep-install/bin/protoc
-- Building Substrait from source
-- Building jemalloc from source
-- Building RapidJSON from source
-- Building xsimd from source
-- Building ZLIB from source
-- Building RE2 from source
-- Building utf8proc from source
-- Building nlohmann-json from source
-- Found nlohmann_json headers: /home/nic2/arrow/cpp/build-nic-2/nlohmann_json_ep-install/include
-- Building google-cloud-cpp from source
-- Only building the google-cloud-cpp::storage component
-- Building Abseil-cpp from source
-- Building crc32c from source
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.81.0")
-- Found Patch: /usr/bin/patch
-- Found google-cloud-cpp::storage headers: /home/nic2/arrow/cpp/build-nic-2/google_cloud_cpp_ep-install/include
-- Found hdfs.h at: /home/nic2/arrow/cpp/thirdparty/hadoop/include/hdfs.h
-- All bundled static libraries: Snappy::snappy-static;thrift::thrift;arrow::protobuf::libprotobuf;substrait;jemalloc::jemalloc;ZLIB::ZLIB;re2::re2;utf8proc::utf8proc;google-cloud-cpp::storage;google-cloud-cpp::rest-internal;google-cloud-cpp::common;absl::bad_optional_access;absl::bad_variant_access;absl::base;absl::civil_time;absl::int128;absl::log_severity;absl::raw_logging_internal;absl::spinlock_wait;absl::strings;absl::strings_internal;absl::str_format_internal;absl::throw_delegate;absl::time;absl::time_zone;Crc32c::crc32c
-- CMAKE_C_FLAGS:   -Wall -Wno-conversion -Wno-sign-conversion -Wunused-result -fno-semantic-interposition -msse4.2
-- CMAKE_CXX_FLAGS:  -Wno-noexcept-type  -fdiagnostics-color=always  -Wall -Wno-conversion -Wno-sign-conversion -Wunused-result -fno-semantic-interposition -msse4.2
-- CMAKE_C_FLAGS_DEBUG: -g -Werror -O0 -ggdb
-- CMAKE_CXX_FLAGS_DEBUG: -g -Werror -O0 -ggdb
-- Creating bundled static library target arrow_bundled_dependencies at /home/nic2/arrow/cpp/build-nic-2/debug/libarrow_bundled_dependencies.a
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- ---------------------------------------------------------------------
-- Arrow version:                                 12.0.0-SNAPSHOT
--
-- Build configuration summary:
--   Generator: Unix Makefiles
--   Build type: DEBUG
--   Source directory: /home/nic2/arrow/cpp
--   Install prefix: /home/nic2/arrow_installed_version
--
-- Compile and link options:
--
--   ARROW_CXXFLAGS="" [default=""]
--       Compiler flags to append when compiling Arrow
--   ARROW_BUILD_STATIC=ON [default=ON]
--       Build static libraries
--   ARROW_BUILD_SHARED=ON [default=ON]
--       Build shared libraries
--   ARROW_PACKAGE_KIND="" [default=""]
--       Arbitrary string that identifies the kind of package
--       (for informational purposes)
--   ARROW_GIT_ID=36d3394c78a5a4a978f1944ff75962bae12c43a8 [default=""]
--       The Arrow git commit id (if any)
--   ARROW_GIT_DESCRIPTION=apache-arrow-12.0.0.dev-33-g36d3394c78 [default=""]
--       The Arrow git commit description (if any)
--   ARROW_NO_DEPRECATED_API=OFF [default=OFF]
--       Exclude deprecated APIs from build
--   ARROW_POSITION_INDEPENDENT_CODE=ON [default=ON]
--       Whether to create position-independent target
--   ARROW_USE_CCACHE=ON [default=ON]
--       Use ccache when compiling (if available)
--   ARROW_USE_SCCACHE=ON [default=ON]
--       Use sccache when compiling (if available),
--       takes precedence over ccache if a storage backend is configured
--   ARROW_USE_LD_GOLD=OFF [default=OFF]
--       Use ld.gold for linking on Linux (if available)
--   ARROW_USE_PRECOMPILED_HEADERS=OFF [default=OFF]
--       Use precompiled headers when compiling
--   ARROW_SIMD_LEVEL=SSE4_2 [default=NONE|SSE4_2|AVX2|AVX512|NEON|SVE|SVE128|SVE256|SVE512|DEFAULT]
--       Compile-time SIMD optimization level
--   ARROW_RUNTIME_SIMD_LEVEL=MAX [default=NONE|SSE4_2|AVX2|AVX512|MAX]
--       Max runtime SIMD optimization level
--   ARROW_ALTIVEC=ON [default=ON]
--       Build with Altivec if compiler has support
--   ARROW_RPATH_ORIGIN=OFF [default=OFF]
--       Build Arrow libraries with RATH set to $ORIGIN
--   ARROW_INSTALL_NAME_RPATH=OFF [default=ON]
--       Build Arrow libraries with install_name set to @rpath
--   ARROW_GGDB_DEBUG=ON [default=ON]
--       Pass -ggdb flag to debug builds
--   ARROW_WITH_MUSL=OFF [default=OFF]
--       Whether the system libc is musl or not
--
-- Test and benchmark options:
--
--   ARROW_BUILD_EXAMPLES=OFF [default=OFF]
--       Build the Arrow examples
--   ARROW_BUILD_TESTS=OFF [default=OFF]
--       Build the Arrow googletest unit tests
--   ARROW_ENABLE_TIMING_TESTS=ON [default=ON]
--       Enable timing-sensitive tests
--   ARROW_BUILD_INTEGRATION=OFF [default=OFF]
--       Build the Arrow integration test executables
--   ARROW_BUILD_BENCHMARKS=OFF [default=OFF]
--       Build the Arrow micro benchmarks
--   ARROW_BUILD_BENCHMARKS_REFERENCE=OFF [default=OFF]
--       Build the Arrow micro reference benchmarks
--   ARROW_BUILD_OPENMP_BENCHMARKS=OFF [default=OFF]
--       Build the Arrow benchmarks that rely on OpenMP
--   ARROW_BUILD_DETAILED_BENCHMARKS=OFF [default=OFF]
--       Build benchmarks that do a longer exploration of performance
--   ARROW_TEST_LINKAGE=shared [default=shared|static]
--       Linkage of Arrow libraries with unit tests executables.
--   ARROW_FUZZING=OFF [default=OFF]
--       Build Arrow Fuzzing executables
--   ARROW_LARGE_MEMORY_TESTS=OFF [default=OFF]
--       Enable unit tests which use large memory
--
-- Lint options:
--
--   ARROW_ONLY_LINT=OFF [default=OFF]
--       Only define the lint and check-format targets
--   ARROW_VERBOSE_LINT=OFF [default=OFF]
--       If off, 'quiet' flags will be passed to linting tools
--   ARROW_GENERATE_COVERAGE=OFF [default=OFF]
--       Build with C++ code coverage enabled
--
-- Checks options:
--
--   ARROW_TEST_MEMCHECK=OFF [default=OFF]
--       Run the test suite using valgrind --tool=memcheck
--   ARROW_USE_ASAN=OFF [default=OFF]
--       Enable Address Sanitizer checks
--   ARROW_USE_TSAN=OFF [default=OFF]
--       Enable Thread Sanitizer checks
--   ARROW_USE_UBSAN=OFF [default=OFF]
--       Enable Undefined Behavior sanitizer checks
--
-- Project component options:
--
--   ARROW_BUILD_UTILITIES=OFF [default=OFF]
--       Build Arrow commandline utilities
--   ARROW_COMPUTE=ON [default=OFF]
--       Build the Arrow Compute Modules
--   ARROW_CSV=ON [default=OFF]
--       Build the Arrow CSV Parser Module
--   ARROW_CUDA=OFF [default=OFF]
--       Build the Arrow CUDA extensions (requires CUDA toolkit)
--   ARROW_DATASET=ON [default=OFF]
--       Build the Arrow Dataset Modules
--   ARROW_FILESYSTEM=ON [default=OFF]
--       Build the Arrow Filesystem Layer
--   ARROW_FLIGHT=OFF [default=OFF]
--       Build the Arrow Flight RPC System (requires GRPC, Protocol Buffers)
--   ARROW_FLIGHT_SQL=OFF [default=OFF]
--       Build the Arrow Flight SQL extension
--   ARROW_GANDIVA=OFF [default=OFF]
--       Build the Gandiva libraries
--   ARROW_GCS=ON [default=OFF]
--       Build Arrow with GCS support (requires the GCloud SDK for C++)
--   ARROW_HDFS=OFF [default=OFF]
--       Build the Arrow HDFS bridge
--   ARROW_IPC=ON [default=ON]
--       Build the Arrow IPC extensions
--   ARROW_JEMALLOC=ON [default=ON]
--       Build the Arrow jemalloc-based allocator
--   ARROW_JSON=ON [default=OFF]
--       Build Arrow with JSON support (requires RapidJSON)
--   ARROW_MIMALLOC=OFF [default=OFF]
--       Build the Arrow mimalloc-based allocator
--   ARROW_PARQUET=ON [default=OFF]
--       Build the Parquet libraries
--   ARROW_ORC=OFF [default=OFF]
--       Build the Arrow ORC adapter
--   ARROW_PLASMA=OFF [default=OFF]
--       Build the plasma object store along with Arrow
--   ARROW_PYTHON=OFF [default=OFF]
--       Build some components needed by PyArrow.
--       (This is a deprecated option. Use CMake presets instead.)
--   ARROW_S3=OFF [default=OFF]
--       Build Arrow with S3 support (requires the AWS SDK for C++)
--   ARROW_SKYHOOK=OFF [default=OFF]
--       Build the Skyhook libraries
--   ARROW_SUBSTRAIT=ON [default=OFF]
--       Build the Arrow Substrait Consumer Module
--   ARROW_TENSORFLOW=OFF [default=OFF]
--       Build Arrow with TensorFlow support enabled
--   ARROW_TESTING=OFF [default=OFF]
--       Build the Arrow testing libraries
--
-- Thirdparty toolchain options:
--
--   ARROW_DEPENDENCY_SOURCE=BUNDLED [default=AUTO|BUNDLED|SYSTEM|CONDA|VCPKG|BREW]
--       Method to use for acquiring arrow's build dependencies
--   ARROW_VERBOSE_THIRDPARTY_BUILD=OFF [default=OFF]
--       Show output from ExternalProjects rather than just logging to files
--   ARROW_DEPENDENCY_USE_SHARED=ON [default=ON]
--       Link to shared libraries
--   ARROW_BOOST_USE_SHARED=ON [default=ON]
--       Rely on Boost shared libraries where relevant
--   ARROW_BROTLI_USE_SHARED=ON [default=ON]
--       Rely on Brotli shared libraries where relevant
--   ARROW_BZ2_USE_SHARED=ON [default=ON]
--       Rely on Bz2 shared libraries where relevant
--   ARROW_GFLAGS_USE_SHARED=ON [default=ON]
--       Rely on GFlags shared libraries where relevant
--   ARROW_GRPC_USE_SHARED=ON [default=ON]
--       Rely on gRPC shared libraries where relevant
--   ARROW_JEMALLOC_USE_SHARED=OFF [default=ON]
--       Rely on jemalloc shared libraries where relevant
--   ARROW_LZ4_USE_SHARED=ON [default=ON]
--       Rely on lz4 shared libraries where relevant
--   ARROW_OPENSSL_USE_SHARED=ON [default=ON]
--       Rely on OpenSSL shared libraries where relevant
--   ARROW_PROTOBUF_USE_SHARED=ON [default=ON]
--       Rely on Protocol Buffers shared libraries where relevant
--   ARROW_SNAPPY_USE_SHARED=ON [default=ON]
--       Rely on snappy shared libraries where relevant
--   ARROW_THRIFT_USE_SHARED=ON [default=ON]
--       Rely on thrift shared libraries where relevant
--   ARROW_UTF8PROC_USE_SHARED=ON [default=ON]
--       Rely on utf8proc shared libraries where relevant
--   ARROW_ZSTD_USE_SHARED=ON [default=ON]
--       Rely on zstd shared libraries where relevant
--   ARROW_USE_GLOG=OFF [default=OFF]
--       Build libraries with glog support for pluggable logging
--   ARROW_WITH_BACKTRACE=ON [default=ON]
--       Build with backtrace support
--   ARROW_WITH_OPENTELEMETRY=OFF [default=OFF]
--       Build libraries with OpenTelemetry support for distributed tracing
--   ARROW_WITH_BROTLI=OFF [default=OFF]
--       Build with Brotli compression
--   ARROW_WITH_BZ2=OFF [default=OFF]
--       Build with BZ2 compression
--   ARROW_WITH_LZ4=OFF [default=OFF]
--       Build with lz4 compression
--   ARROW_WITH_SNAPPY=ON [default=OFF]
--       Build with Snappy compression
--   ARROW_WITH_ZLIB=ON [default=OFF]
--       Build with zlib compression
--   ARROW_WITH_ZSTD=OFF [default=OFF]
--       Build with zstd compression
--   ARROW_WITH_UCX=OFF [default=OFF]
--       Build with UCX transport for Arrow Flight
--       (only used if ARROW_FLIGHT is ON)
--   ARROW_WITH_UTF8PROC=ON [default=ON]
--       Build with support for Unicode properties using the utf8proc library
--       (only used if ARROW_COMPUTE is ON or ARROW_GANDIVA is ON)
--   ARROW_WITH_RE2=ON [default=ON]
--       Build with support for regular expressions using the re2 library
--       (only used if ARROW_COMPUTE or ARROW_GANDIVA is ON)
--
-- Parquet options:
--
--   PARQUET_MINIMAL_DEPENDENCY=OFF [default=OFF]
--       Depend only on Thirdparty headers to build libparquet.
--       Always OFF if building binaries
--   PARQUET_BUILD_EXECUTABLES=OFF [default=OFF]
--       Build the Parquet executable CLI tools. Requires static libraries to be built.
--   PARQUET_BUILD_EXAMPLES=OFF [default=OFF]
--       Build the Parquet examples. Requires static libraries to be built.
--   PARQUET_REQUIRE_ENCRYPTION=OFF [default=OFF]
--       Build support for encryption. Fail if OpenSSL is not found
--
-- Gandiva options:
--
--   ARROW_GANDIVA_STATIC_LIBSTDCPP=OFF [default=OFF]
--       Include -static-libstdc++ -static-libgcc when linking with
--       Gandiva static libraries
--   ARROW_GANDIVA_PC_CXX_FLAGS="" [default=""]
--       Compiler flags to append when pre-compiling Gandiva operations
--
-- Advanced developer options:
--
--   ARROW_EXTRA_ERROR_CONTEXT=ON [default=OFF]
--       Compile with extra error context (line numbers, code)
--   ARROW_OPTIONAL_INSTALL=OFF [default=OFF]
--       If enabled install ONLY targets that have already been built. Please be
--       advised that if this is enabled 'install' will fail silently on components
--       that have not been built
--   Outputting build configuration summary to /home/nic2/arrow/cpp/build-nic-2/cmake_summary.json
-- Configuring done
CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_shared" links to target "OpenSSL::Crypto" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_shared" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_shared" links to target "OpenSSL::Crypto" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_shared" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_shared" links to target "OpenSSL::Crypto" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_static" links to target "OpenSSL::Crypto" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_static" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_static" links to target "OpenSSL::Crypto" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_static" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_static" links to target "OpenSSL::Crypto" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_substrait_shared" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_substrait_shared" links to target "OpenSSL::SSL" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_substrait_shared" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_substrait_shared" links to target "OpenSSL::SSL" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_substrait_shared" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_substrait_static" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_substrait_static" links to target "OpenSSL::SSL" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_substrait_static" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_substrait_static" links to target "OpenSSL::SSL" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_substrait_static" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_dataset_shared" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_dataset_shared" links to target "OpenSSL::SSL" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_dataset_shared" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_dataset_shared" links to target "OpenSSL::SSL" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "arrow_dataset_shared" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_dataset_static" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_dataset_static" links to target "OpenSSL::SSL" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_dataset_static" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_dataset_static" links to target "OpenSSL::SSL" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "arrow_dataset_static" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "parquet_shared" links to target "OpenSSL::Crypto" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "parquet_shared" links to target "OpenSSL::SSL" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "parquet_shared" links to target "OpenSSL::Crypto" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "parquet_shared" links to target "OpenSSL::SSL" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:317 (add_library):
  Target "parquet_shared" links to target "OpenSSL::Crypto" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "parquet_static" links to target "OpenSSL::Crypto" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "parquet_static" links to target "OpenSSL::SSL" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "parquet_static" links to target "OpenSSL::Crypto" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "parquet_static" links to target "OpenSSL::SSL" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:411 (add_library):
  Target "parquet_static" links to target "OpenSSL::Crypto" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_objlib" links to target "OpenSSL::Crypto" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_objlib" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_objlib" links to target "OpenSSL::Crypto" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_objlib" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_objlib" links to target "OpenSSL::Crypto" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:607 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_substrait_objlib" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_substrait_objlib" links to target "OpenSSL::SSL" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_substrait_objlib" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_substrait_objlib" links to target "OpenSSL::SSL" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_substrait_objlib" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/engine/CMakeLists.txt:35 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_dataset_objlib" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_dataset_objlib" links to target "OpenSSL::SSL" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_dataset_objlib" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_dataset_objlib" links to target "OpenSSL::SSL" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "arrow_dataset_objlib" links to target "OpenSSL::Crypto" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/arrow/dataset/CMakeLists.txt:68 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "parquet_objlib" links to target "OpenSSL::Crypto" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "parquet_objlib" links to target "OpenSSL::SSL" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "parquet_objlib" links to target "OpenSSL::Crypto" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "parquet_objlib" links to target "OpenSSL::SSL" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

CMake Error at cmake_modules/BuildUtils.cmake:248 (add_library):
  Target "parquet_objlib" links to target "OpenSSL::Crypto" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/parquet/CMakeLists.txt:257 (add_arrow_lib)

-- Building without OpenSSL support. Minimum OpenSSL version 1.0.2 required.

Are you using Ubuntu? If so, could you install libssl-dev?

I am, yep.  libssl-dev is already installed.

Could you try this patch?
diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake
index 57defe0b3..0b7eed437 100644
--- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
@@ -1365,8 +1365,9 @@ set(ARROW_OPENSSL_REQUIRED_VERSION "1.0.2")
 set(ARROW_USE_OPENSSL OFF)
 if(PARQUET_REQUIRE_ENCRYPTION
    OR ARROW_FLIGHT
-   OR ARROW_S3
-   OR ARROW_GANDIVA)
+   OR ARROW_GANDIVA
+   OR ARROW_GCS
+   OR ARROW_S3)
   set(OpenSSL_SOURCE "SYSTEM")
   resolve_dependency(OpenSSL
                      HAVE_ALT
@@ -4103,10 +4104,6 @@ macro(build_google_cloud_cpp_storage)
   # Curl is required on all platforms, but building it internally might also trip over S3's copy.
   # For now, force its inclusion from the underlying system or fail.
   find_curl()
-  if(NOT OpenSSL_FOUND)
-    resolve_dependency(OpenSSL HAVE_ALT REQUIRED_VERSION
-                       ${ARROW_OPENSSL_REQUIRED_VERSION})
-  endif()

   # Build google-cloud-cpp, with only storage_client


[@azure/monitor-opentelemetry-exporter][@azure/monitor-opentelemetry] Skipped Test Cases

Package Name: @azure/monitor-opentelemetry-exporter & @azure/monitor-opentelemetry
Package Version:  1.0.0-beta.24 & 1.6.1
Operating system:
[X] nodejs

version:

[X] browser

name/version:

[X] typescript

version:

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
An issue https://github.com/Azure/azure-sdk-for-js/issues/29699 has been created to migrate the tests to start using the new createTestCredential method. This issue is related to a security issue. As part of this issue, I have opened a PR https://github.com/Azure/azure-sdk-for-js/pull/30209 to remove the references to Client secrets in test-resources.json. There is no changes related to @azure/monitor-opentelemetry-exporter & @azure/monitor-opentelemetry. But, the tests are failing. On analysis, I found the test failures are not related to secrets. Instead, they are some other changes related to those SDKs.
So, I discussed it with @JacksonWeber (owner of those SDKs). We discussed about this and he has also found these errors and working on them seperately. So, I am skipping the failed test cases in my PR and opening a new issue (this one) for @JacksonWeber to track the skipped test cases and enable them back. Discussed with @JacksonWeber and he is in agreement.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

@sarangan12 PR to fix the failing tests is open here: https://github.com/Azure/azure-sdk-for-js/pull/30331

@JacksonWeber These changes fix almost all the failing test cases. But, I can still see one test case failing:
[node-tests]   1) #StandardMetricsHandler
[node-tests]        should not collect when disabled:
[node-tests]
[node-tests]       AssertionError [ERR_ASSERTION]: false == true
[node-tests]       + expected - actual
[node-tests]
[node-tests]       -false
[node-tests]       +true
[node-tests]
[node-tests]       at Context.<anonymous> (/mnt/vss/_work/1/s/sdk/monitor/monitor-opentelemetry/test/internal/unit/metrics/standardMetrics.test.ts:299:12)

Also the following error is reported in the same test case:
[node-tests] Error: @opentelemetry/api: Attempted duplicate registration of API: propagation
[node-tests]     at registerGlobal (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/src/internal/global-utils.ts:47:17)
[node-tests]     at PropagationAPI.setGlobalPropagator (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/src/api/propagation.ts:67:26)
[node-tests]     at NodeTracerProvider.register (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/@opentelemetry+sdk-trace-base@1.25.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/sdk-trace-base/src/BasicTracerProvider.ts:163:19)
[node-tests]     at NodeTracerProvider.register (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/@opentelemetry+sdk-trace-node@1.25.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/sdk-trace-node/src/NodeTracerProvider.ts:68:11)
[node-tests]     at NodeSDK.start (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/@opentelemetry+sdk-node@0.52.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/sdk-node/src/sdk.ts:249:20)
[node-tests]     at useAzureMonitor (/mnt/vss/_work/1/s/sdk/monitor/monitor-opentelemetry/src/index.ts:89:7)
[node-tests]     at Context.<anonymous> (/mnt/vss/_work/1/s/sdk/monitor/monitor-opentelemetry/test/internal/unit/main.test.ts:309:5)
[node-tests]     at callFn (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runnable.js:366:21)
[node-tests]     at Runnable.run (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runnable.js:354:5)
[node-tests]     at Runner.runTest (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runner.js:677:10)
[node-tests]     at /mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runner.js:800:12
[node-tests]     at next (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runner.js:592:14)
[node-tests]     at /mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runner.js:602:7
[node-tests]     at next (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runner.js:485:14)
[node-tests]     at cbHookRun (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runner.js:550:7)
[node-tests]     at done (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runnable.js:310:5)
[node-tests]     at callFn (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runnable.js:389:7)
[node-tests]     at Runnable.run (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runnable.js:354:5)
[node-tests]     at next (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runner.js:509:10)
[node-tests]     at Immediate._onImmediate (/mnt/vss/_work/1/s/common/temp/node_modules/.pnpm/mocha@10.6.0/node_modules/mocha/lib/runner.js:570:5)
[node-tests]     at process.processImmediate (node:internal/timers:478:21)
[node-tests]     at process.callbackTrampoline (node:internal/async_hooks:130:17) []

Can you take a look? Link: https://dev.azure.com/azure-sdk/public/_build/results?buildId=3945441&view=logs&jobId=f3d84248-526b-5c53-c1d9-c908a2c076cb&j=f3d84248-526b-5c53-c1d9-c908a2c076cb&t=a08660e7-0c74-50b6-45ab-0cb70a5776f5

Closing this as test cases are now all passing.


[push_to_hub] Add data_files in yaml

Introducing
builder_config:
  data_files:
  - split: train
    pattern: data/train-*

when pushing a dataset in the README.md.
I also updated sanitize_patterns to support this structure as input before passing it to DataFilesDict.from_*
When pushing a new config to a dataset that was pushed using an old push_to_hub, the YAML is also created automatically for the old config.
If it looks good for you I can add some tests

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Build arm64 container images in release

Currently there is only one amd64 image inside the release. It would be nice to have arm64 image as well and even better if there is an extra container manifest list for each release to include both two architecture images.

This has been addressed in this PR: https://github.com/atlassian/escalator/pull/205


Update Package-restore-troubleshooting.md

Add missing word.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/consume-packages/Package-restore-troubleshooting.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@IvenBach thanks for catching that!


pythonPackages.bsddb3,pythonPackages.berkeleydb, gramps, exaile: mark broken from Pyt…

…hon36, init 18.1.8, add berkeleydb dependency, add berkeleydb dependency
Description of changes
Deprecate the use of bsddb3 from Python 3.6 and newer, it was replaced upstream by berkeleydb, see : https://www.jcea.es/programacion/pybsddb.htm
Berkeleydb was thus packaged and all occurences of bsddb3 were replaced by berkeleydb.

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 311198 run on x86_64-linux 1

8 packages failed to build:

python311Packages.pymilter
python311Packages.pymilter.dist
python312Packages.bsddb3
python312Packages.bsddb3.dist
python312Packages.pymilter
python312Packages.pymilter.dist
spf-engine
spf-engine.dist

13 packages built:

exaile
gramps
gramps.dist
python311Packages.berkeleydb
python311Packages.berkeleydb.dist
python311Packages.bsddb3
python311Packages.bsddb3.dist
python311Packages.scrapy-deltafetch
python311Packages.scrapy-deltafetch.dist
python312Packages.berkeleydb
python312Packages.berkeleydb.dist
python312Packages.scrapy-deltafetch
python312Packages.scrapy-deltafetch.dist

Result of nixpkgs-review pr 311198 run on x86_64-linux 1

6 packages failed to build:

python311Packages.pymilter
python311Packages.pymilter.dist
python312Packages.pymilter
python312Packages.pymilter.dist
spf-engine
spf-engine.dist

15 packages built:

exaile
gramps
gramps.dist
python311Packages.berkeleydb
python311Packages.berkeleydb.dist
python311Packages.bsddb3
python311Packages.bsddb3.dist
python311Packages.scrapy-deltafetch
python311Packages.scrapy-deltafetch.dist
python312Packages.berkeleydb
python312Packages.berkeleydb.dist
python312Packages.bsddb3
python312Packages.bsddb3.dist
python312Packages.scrapy-deltafetch
python312Packages.scrapy-deltafetch.dist

Result of nixpkgs-review pr 311198 run on x86_64-linux 1
6 packages failed to build:
15 packages built:

Pymilter will be fixed once this issue is fixed upstream : https://github.com/sdgathman/pymilter/issues/61

Result of nixpkgs-review pr 311198 run on x86_64-linux 1

6 packages failed to build:

python311Packages.pymilter
python311Packages.pymilter.dist
python312Packages.pymilter
python312Packages.pymilter.dist
spf-engine
spf-engine.dist

15 packages built:

exaile
gramps
gramps.dist
python311Packages.berkeleydb
python311Packages.berkeleydb.dist
python311Packages.bsddb3
python311Packages.bsddb3.dist
python311Packages.scrapy-deltafetch
python311Packages.scrapy-deltafetch.dist
python312Packages.berkeleydb
python312Packages.berkeleydb.dist
python312Packages.bsddb3
python312Packages.bsddb3.dist
python312Packages.scrapy-deltafetch
python312Packages.scrapy-deltafetch.dist

The package I maintain -- exaile -- has supported berkeleydb for a long time now so this change is good. However, for others which don't yet support berkeleydb, wouldn't it be better to lock the input to python39 than to change to an input which will likely break them?

Totally agree @ryneeverett

Do you have any idea how I can lock maybe overriding ?

I believe it should just be a matter of changing the input from python to python39.

@TomaSajt do you have any idea if gramps can be used with berkeleydb or we should keep the old bsddb3, meaning we would probably mark as broken gramps for PythonAtLeast 3.12

@ryneeverett I don't see much package using bsddb3 beside gramps and your package right now, I'm not sure locking it might be necessary for just 2 packages, but we can keep using it in case berkeleydb breaks gramps I guess.

Also locking the input in the 2 pkgs to Python 3.9 would probably be an issue as if you would build other packages (with Python312), then I don't know if that would still work.
The best would be to use berkeleydb if Python >=3.9 else use bsddb3 but if we can ditch bsddb3 fully, then this might be better and less overhead for maintaining pkgs.

I don't want you to lock my package because exaile already does support berkeleydb.
My suggestion was to change the input for each individual package. For example, I think you could change the gramps input from pythonPackages to python39Packages.

@ryneeverett it was not confirmed that gramps does not support berkeleydb, I will not lock your package if you wish to keep using bsddb3, you surely can, I can remove the new package introduced, but the package will never build on Python 3.12, I don't know if it's a problem or could become a future problem later.

@ryneeverett I'll let you handle the update on your package as to keep both bsddb3 on pythonOlder 3.9 and replace it with berkeleydb on Python 3.12, it will take more code to have this logic.
I'm undoing the change for the exaile pkg.

I'm not sure what's going wrong with the communication here. We seem to have a different understanding of "locking" a dependency and perhaps that terminology isn't helpful.
Exaile does support berkeleydb. Your initial change was unproblematic for exaile. It was the other packages I was expressing concern for.

@ryneeverett it was not confirmed that gramps does not support berkeleydb

I think you should err on the side of not breaking things. However, there are few enough packages here that it's easy enough to check each one. A quick search indicates that gramps supports both bsdd3 and berkeleydb: https://github.com/search?q=repo%3Agramps-project%2Fgramps berkeleydb&type=code

Thanks, but yeah we need to be sure what locking means, so far I've understood that we want to keep using bsdbb3 if we're using Python 3.9 or older.
And if we're using much recent Python versions, we should prefer berkeleydb if supported, else if the package doesn't support berkeleydb, we probably mark it as broken for recent Python version (3.10+)

@ryneeverett do you agree with the latest changes ?
I'm sorry also that there was a misunderstanding, I hope this is cleared up.
Basically, I believe that if an old release of exaile or gramps is overriden by some other, they could need bsddb3, this should help be to err on the safe side.

Result of nixpkgs-review pr 311198 run on x86_64-linux 1

14 packages failed to build:

python311Packages.bsddb3
python311Packages.bsddb3.dist
python311Packages.pymilter
python311Packages.pymilter.dist
python311Packages.scrapy-deltafetch
python311Packages.scrapy-deltafetch.dist
python312Packages.bsddb3
python312Packages.bsddb3.dist
python312Packages.pymilter
python312Packages.pymilter.dist
python312Packages.scrapy-deltafetch
python312Packages.scrapy-deltafetch.dist
spf-engine
spf-engine.dist

7 packages built:

exaile
gramps
gramps.dist
python311Packages.berkeleydb
python311Packages.berkeleydb.dist
python312Packages.berkeleydb
python312Packages.berkeleydb.dist

Result of nixpkgs-review pr 311198 run on x86_64-linux 1

14 packages failed to build:

python311Packages.bsddb3
python311Packages.bsddb3.dist
python311Packages.pymilter
python311Packages.pymilter.dist
python311Packages.scrapy-deltafetch
python311Packages.scrapy-deltafetch.dist
python312Packages.bsddb3
python312Packages.bsddb3.dist
python312Packages.pymilter
python312Packages.pymilter.dist
python312Packages.scrapy-deltafetch
python312Packages.scrapy-deltafetch.dist
spf-engine
spf-engine.dist

7 packages built:

exaile
gramps
gramps.dist
python311Packages.berkeleydb
python311Packages.berkeleydb.dist
python312Packages.berkeleydb
python312Packages.berkeleydb.dist

Result of nixpkgs-review pr 311198 run on x86_64-linux 1

21 packages built:

exaile
gramps
gramps.dist
python311Packages.berkeleydb
python311Packages.berkeleydb.dist
python311Packages.bsddb3
python311Packages.bsddb3.dist
python311Packages.pymilter
python311Packages.pymilter.dist
python311Packages.scrapy-deltafetch
python311Packages.scrapy-deltafetch.dist
python312Packages.berkeleydb
python312Packages.berkeleydb.dist
python312Packages.bsddb3
python312Packages.bsddb3.dist
python312Packages.pymilter
python312Packages.pymilter.dist
python312Packages.scrapy-deltafetch
python312Packages.scrapy-deltafetch.dist
spf-engine
spf-engine.dist

@TomaSajt if you can review again one last time this PR ?

@ryneeverett I thought it'd be useful to keep bsddb3 if anyone would build an older release of gramps or exaile that doesn't support berkeleydb (exaile support it since the 6 December 2021) but I'm not sure if anyone would want to do that or if that would make
I think you're probably right, it would be better to remove bsddb3, I can't really find a use case for building a very very old release for those packages.

Result of nixpkgs-review pr 311198 run on x86_64-linux 1

21 packages built:

exaile
gramps
gramps.dist
python311Packages.berkeleydb
python311Packages.berkeleydb.dist
python311Packages.bsddb3
python311Packages.bsddb3.dist
python311Packages.pymilter
python311Packages.pymilter.dist
python311Packages.scrapy-deltafetch
python311Packages.scrapy-deltafetch.dist
python312Packages.berkeleydb
python312Packages.berkeleydb.dist
python312Packages.bsddb3
python312Packages.bsddb3.dist
python312Packages.pymilter
python312Packages.pymilter.dist
python312Packages.scrapy-deltafetch
python312Packages.scrapy-deltafetch.dist
spf-engine
spf-engine.dist

@SuperSandro2000 @TomaSajt could you please review one more time, sorry I left the PR in a broken state last time

@AkechiShiro
Before we continue this PR, could you please run git rebase --interactive HEAD~8 and squash the related commits together? (8 is the number of commits we're working with)
pick 8249698c6459 python3Packages.berkeleydb: init at 18.1.8
fixup 75fd18b275d1 python3Packages.berkeleydb: nixformat
pick a3b54f874865 exaile: replace bsddb3 by berkeleydb
pick eae86203b227 gramps: remove bsddb3, replace by berkeleydb
fixup 60192f6a43b9 python3Packages.gramps: remove unused import
drop 2304365f89e3 gramps: better format for imports
pick 1d5c4f87e413 python3Packages.bsddb3: fix test failure for Python 3.12+
fixup d8fedfbcf056 python3Packages.bsddb3: mark disabled for Python 3.10+

(Notice the first words are changed from pick to fixup in some cases. In those cases the changes of the commit marked as fixup will be squashed together with the commit above)
(I also marked the gramps formatting commit as drop, since it's not needed)
I also recommend changing pick to reword so that you can change the commit messages for the squashed commits, if you want to.

I've done a mistake on the rebase, will fix it as soon as possible

Please change the commit messages (and the PR title also) to use python39Packages.bsddb3 and python312Packages.berkeleydb.
Not sure why the CI was failing...

It was also failing locally on my side.
Will change the commits yes

It was also failing locally on my side.

I guess I just wasn't clear enough on my previous change request, since I couldn't use GitHub's builtin tool to request two line changes.
This is what I meant:
diff --git a/pkgs/development/python-modules/bsddb3/default.nix b/pkgs/development/python-modules/bsddb3/default.nix
index bb911e28951d..d91836bd9dea 100644
--- a/pkgs/development/python-modules/bsddb3/default.nix
+++ b/pkgs/development/python-modules/bsddb3/default.nix
@@ -2,13 +2,13 @@
   lib,
   pythonAtLeast,
   python,
-  pythonPackages,
+  buildPythonPackage,
   fetchPypi,
   setuptools,
   pkgs,
 }:

-pythonPackages.buildPythonPackage rec {
+buildPythonPackage rec {
   pname = "bsddb3";
   version = "6.2.9";
   pyproject = true;

I think the PR is ready for review @TomaSajt
Not sure if there is still stuff to fix for the merge

Result of nixpkgs-review pr 311198 run on x86_64-linux 1

7 packages built:

exaile
gramps
gramps.dist
python311Packages.berkeleydb
python311Packages.berkeleydb.dist
python312Packages.berkeleydb
python312Packages.berkeleydb.dist


InvalidXmlError when reading image in powerpoint

I'm using python-pptx to read in data from powerpoint decks. One piece of data I need is the embedded pictures.  For the most part this has worked well, but never underestimate what humans will do to mess up powerpoint, as when I ran it most recently on a slide deck I encountered this error:
~\PowerPoint_Searching\JPR.py in get_slides(self)
    322     def get_slides(self):
    323         logging.info("Attempting to call slide handler")
--> 324         self.slidehandler = SlideHandler(self.prs)
    325         logging.info("Attempting to retrieve the slide dictionary")
    326         self.slides_dict = self.slidehandler.slides_dict

~\PowerPoint_Searching\JPR.py in __init__(self, prs)
    252         self.slides = prs.slides
    253         logging.debug("Attempting to create the slide dictionary.")
--> 254         self.slides_dict = self.create_slide_dictionary()
    255
    256 class JPR:

~\PowerPoint_Searching\JPR.py in create_slide_dictionary(self)
    243         for num, slide in enumerate(self.slides):
    244             logging.info("Beginning work on slide %d", num)
--> 245             slide_dict[num] = self.get_text(slide)
    246         logging.info("Finished selecting from all slides.")
    247         return slide_dict

~\PowerPoint_Searching\JPR.py in get_text(self, sample)
    212             elif shape.shape_type == 13: #13 is a picture
    213                 logging.info("Getting data from picture.")
--> 214                 shape_dict[i] = ['picture', shape.image, shape.left, shape.top, shape.width, shape.height]
    215                 i = i+1
    216             elif shape.shape_type == None:

~\AppData\Local\Continuum\anaconda3\envs\pao\lib\site-packages\pptx\shapes\picture.py in image(self)
    192         image in this picture shape.
    193         """
--> 194         slide_part, rId = self.part, self._element.blip_rId
    195         if rId is None:
    196             raise ValueError('no embedded image')

~\AppData\Local\Continuum\anaconda3\envs\pao\lib\site-packages\pptx\oxml\shapes\picture.py in blip_rId(self)
     28         Returns |None| if not present.
     29         """
---> 30         blip = self.blipFill.blip
     31         if blip is not None and blip.rEmbed is not None:
     32             return blip.rEmbed

~\AppData\Local\Continuum\anaconda3\envs\pao\lib\site-packages\pptx\oxml\xmlchemy.py in get_child_element(obj)
    501                 raise InvalidXmlError(
    502                     "required ``<%s>`` child element not present" %
--> 503                     self._nsptagname
    504                 )
    505             return child

InvalidXmlError: required ``<p:blipFill>`` child element not present

It looks like my powerpoint xml is missing essential data. For the time being, I'll manually handle that powerpoint, but a google search led me nowhere, so I figure I'm the lucky first to find this bug.
Here's what I ascertained the raw XML to look like.
NOTE: I checked the powerpoint manually and saw that the slide in question had pictures that were rotated. In the xml this looks like:
<p:pic>
  <p:nvPicPr>
    <p:cNvPr id="12" name="Picture 11"/>
    <p:cNvPicPr>
      <a:picLocks noChangeAspect="1"/>
    </p:cNvPicPr>
    <p:nvPr/>
  </p:nvPicPr>
  <p:blipFill rotWithShape="1">
    <a:blip r:embed="rId5"/>
    <a:srcRect t="2088"/>
    <a:stretch/>
  </p:blipFill>
  <p:spPr>
    <a:xfrm rot="20710506">
      <a:off y="3055939" x="3041911"/>
      <a:ext cy="1301727" cx="1383076"/>
    </a:xfrm>
    <a:prstGeom prst="rect">
      <a:avLst/>
    </a:prstGeom>
  </p:spPr>
</p:pic>

Hope that helps. Let me know if there's any more information I can help supply.

Hi Jo, please format your XML indented next time. No worries this time, happy to do it, but XML especially is pretty inscrutable when it's missing its shape :)
I don't think this has to do with the rotWithShape attribute. The code doesn't consider attributes when identifying elements. Any element with the tag p:blipFill is a p:blipFill, even <p:blipFill foo="bar"/>.
I believe the error is arising from a p:pic element (self in your example) not having a (required) p:blipFill child, so at the self.blipFill rather than the blipFill.blip lookup.
~\AppData\Local\Continuum\anaconda3\envs\pao\lib\site-packages\pptx\oxml\shapes\picture.py in blip_rId(self)
     28         Returns |None| if not present.
     29         """
---> 30         blip = self.blipFill.blip
     31         if blip is not None and blip.rEmbed is not None:
     32             return blip.rEmbed

The XML you provided clearly has just such an element, so I would suspect a different p:pic element.
If you can get it down to a single-slide presentation with a slide only containing the offending picture shape, I'll take a closer look. What I expect is that process of narrowing it down will yield a different hypothesis.
Just so you know, the score on suspected bugs in this package is python-pptx 999, bug-suspectors 1, with each point assigned for who got it right. So the smart money is on something odd happening either in your code or your slides. This isn't just good luck, it's from careful engineering, mostly solid unit-test coverage. In any case, the next step is to narrow down a repeatable demonstration of unexpected behavior.
Another approach that might be faster is to place a try-except block around line 214 in JPR.py like this:
from pptx.exc import InvalidXmlError

try:
    shape_dict[i] = ...
except InvalidXmlError:
    print(shape._element.xml)
    raise

This will print out the XML of the offending shape, much like your excerpt above, without you having to dig through the slide XML to find it. I'm betting it shows a p:pic without a p:blipFill child.


Refactored deliverables to component cards

Refactored out deliverable views so that application portal can use cards and inject different buttons and navbar accordingly.
This is in preparation for implementing application deliverable screen down the line.
Some design notes:

Crumbs, navigation are injected on the router, in this case DeliverablePage. This is so when Application portal implements deliverable views, it can look different.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2897  👈
#2895
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite

Merge activity

Jul 25, 6:52 PM EDT: @tommylau523 merged this pull request with Graphite.


fix: alchemy package.json was incorrectly pointing to files

Pull Request Checklist

[ ] Did you add new tests and confirm existing tests pass? (yarn test)
[ ] Did you update relevant docs? (docs are found in the site folder, and guidelines for updating/adding docs can be found in the contribution guide)
[ ] Do your commits follow the Conventional Commits standard?
[ ] Does your PR title also follow the Conventional Commits standard?
[ ] If you have a breaking change, is it correctly reflected in your commit message? (e.g. feat!: breaking change)
[ ] Did you run lint (yarn lint:check) and fix any issues? (yarn lint:write)
[ ] Did you follow the contribution guidelines?

PR-Codex overview
This PR focuses on updating the import paths in the package.json files and removing the typesVersions configuration.
Detailed summary

Updated import paths in package.json files.
Removed typesVersions configuration.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Seems weird it's only alchemy. Maybe some conflict with alchemy-sdk pkg

ah @dphilipson figured it out. I added a reference to ../package.json at somepoint. I need to update that to use a version.ts file similar to how core does it


New Relic provider doesn't recognise NEWRELIC_API_KEY

I have the New Relic provider installed but I get the following error
~/Documents/workspace/newrelic-terraform$ NEWRELIC_API_KEY=XXXXXXXXXX && terraformer import newrelic -r dashboard
2019/09/30 14:59:45 newrelic importing... dashboard
2019/09/30 14:59:45 No NEWRELIC_API_KEY environment set

NEWRELIC_API_KEY definitely exists but it complains that it cannot be found in the environment.

Try
~/Documents/workspace/newrelic-terraform$ NEWRELIC_API_KEY=XXXXXXXXXX  terraformer import newrelic -r dashboard
Without &&

@sergeylanzman thanks it works! that's great! Any idea why it only imports one dashboard? Is there any way to specify resource ID's i.e. the ID of the dashboard?

By default without filter terraformer get all dashboards.
Here code
https://github.com/GoogleCloudPlatform/terraformer/blob/master/providers/newrelic/dashboard.go#L28

I've run it a few times and the result seems to be different each time, some times a few of the dashboards get imported into dashboard.tf, another time there was no dashboard.tf at all, here's the output from a run:
2019/09/30 16:51:59 newrelic importing... dashboard
2019/09/30 16:52:01 [TRACE] GRPCProvider: GetSchema
2019/09/30 16:52:01 [TRACE] GRPCProvider: Configure
2019/09/30 16:52:01 [TRACE] GRPCProvider: GetSchema
2019/09/30 16:52:01 [TRACE] GRPCProvider: GetSchema
2019/09/30 16:52:01 [TRACE] GRPCProvider: Configure
2019/09/30 16:52:01 Refreshing state... newrelic_dashboard.golden-signals-dashboard-996441
2019/09/30 16:52:01 Refreshing state... newrelic_dashboard.nrql-chalenge-2-789413
2019/09/30 16:52:01 Refreshing state... newrelic_dashboard.ocado-spa-spedindex--first-paint-906391
2019/09/30 16:52:01 [TRACE] GRPCProvider: GetSchema
2019/09/30 16:52:01 [TRACE] GRPCProvider: GetSchema
2019/09/30 16:52:01 [TRACE] GRPCProvider: GetSchema
2019/09/30 16:52:01 Refreshing state... newrelic_dashboard.nrql-chalenge-1-789410
2019/09/30 16:52:01 [TRACE] GRPCProvider: GetSchema
2019/09/30 16:52:01 Refreshing state... newrelic_dashboard.website-inteligence-779063
2019/09/30 16:52:01 [TRACE] GRPCProvider: GetSchema
2019/09/30 16:52:01 Refreshing state... newrelic_dashboard.my-infra-dashboard-788485
2019/09/30 16:52:01 [TRACE] GRPCProvider: GetSchema
2019/09/30 16:52:01 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:01 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:01 Refreshing state... newrelic_dashboard.nrql-chalenge-3-789434
2019/09/30 16:52:01 [TRACE] GRPCProvider: GetSchema
2019/09/30 16:52:01 Refreshing state... newrelic_dashboard.fmcg-haircare-comparative-dashboard-903101
2019/09/30 16:52:01 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:01 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:01 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:01 [TRACE] GRPCProvider: GetSchema
2019/09/30 16:52:01 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:01 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:01 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:01 Refreshing state... newrelic_dashboard.first-paint-metrics-897575
2019/09/30 16:52:01 [TRACE] GRPCProvider: GetSchema
2019/09/30 16:52:01 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:02 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:02 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:02 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:02 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:02 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:02 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:02 [TRACE] GRPCProvider: ReadResource
2019/09/30 16:52:02 rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: error while dialing: dial unix /var/folders/df/px7chzy954lgt9vs_l34n_ym0000gn/T/plugin982696807: connect: connection refused"
2019/09/30 16:52:02 rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: error while dialing: dial unix /var/folders/df/px7chzy954lgt9vs_l34n_ym0000gn/T/plugin982696807: connect: connection refused"
2019/09/30 16:52:02 rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: error while dialing: dial unix /var/folders/df/px7chzy954lgt9vs_l34n_ym0000gn/T/plugin982696807: connect: connection refused"
2019/09/30 16:52:02 rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: error while dialing: dial unix /var/folders/df/px7chzy954lgt9vs_l34n_ym0000gn/T/plugin982696807: connect: connection refused"
2019/09/30 16:52:02 rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: error while dialing: dial unix /var/folders/df/px7chzy954lgt9vs_l34n_ym0000gn/T/plugin982696807: connect: connection refused"
2019/09/30 16:52:02 rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: error while dialing: dial unix /var/folders/df/px7chzy954lgt9vs_l34n_ym0000gn/T/plugin982696807: connect: connection refused"
2019/09/30 16:52:02 rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: error while dialing: dial unix /var/folders/df/px7chzy954lgt9vs_l34n_ym0000gn/T/plugin982696807: connect: connection refused"
2019/09/30 16:52:02 newrelic save dashboard
2019/09/30 16:52:02 [DEBUG] New state was assigned lineage "f736a4d3-1f9c-5f04-3150-eb5cc27718bb"
2019/09/30 16:52:02 newrelic save tfstate for dashboard


Julia 0.7

Besides the obvious things there is some room for improvement:

[ ] Use the new iterator interface https://github.com/JuliaLang/julia/pull/25261 everywhere
[ ] Use new logging goodies
[ ] ...

Close issue?


没轮播组件 swiper吗？

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@marlti7 https://github.com/3lang3/react-vant试试这个

@marlti7 暂时没有，之前有一个pr有提swiper，但是bug太多关掉了，你可以自己提一个PR


Dump the Bloch sphere coordinates of a Qubit (from the simulator)

Please describe what you would like the feature to accomplish.
I'd like to dump a QuBit from the simulator in the form of Bloch sphere coordinates
Describe the solution you'd like
use qb1 = Qubit();
DumpRegisterAsBlochSphereCoordinates((),[qb1])

Describe alternatives you've considered
I was thinking about dumping the state from the simulator into a text file, parse the text file and calculate the Bloch sphere coordinates.
Additional context
You could use https://docs.microsoft.com/en-us/qsharp/api/qsharp/microsoft.quantum.preparation.blochspherecoordinates

If you're using Q# from Python,

I'm intending to using q# directly. If this is not working, I'd prefer to use c# over Python. Would you have an example in c#?


IS TELEGRAM S DEAD?

I've followed the development of Telegram N (Official client) and Telegram S (this one) since early this year, and I thought both projects got abandoned by their respective developers, but some weeks ago @DrKLO updated Telegram N's dev branch and now we have the new update (version 1.5.4) ready to use in the Market.
I thought @ex3ndr will do the same and users of Telegram S (me included) would get some update, but I really don't see any movement here since April, in none of the different branches.
So, my question is: Is Telegram S' development dead? Or is @ex3ndr taking his time to release a big update? Is it gonna be continued?
I think everyone here involved with this project is asking himself that question as well. So, what's gonna be?
The possible answers leads me to some new questions:

If Telegram S is not gonna be developed, is there any chance that community here takes the lead left by ex3ndr?
If Telegram S is going to receive updates, is there any way we can help in order to release the developers from some loads of work?

Thank you.

I Create new project forked of this and update some features, https://github.com/mokhtarabadi/telegram-s

Great news!

Hello, we are using your telegram-api, the calls will continue working?
Thanks !

You should get your own API ID number. See more here: https://github.com/DrKLO/Telegram#creating-your-telegram-application

Ok, I already have my id. The calls with the api will continue working, true?
Thanks for your answer, and more important for sharing the api :)
Have a nice day

I don't understand what you mean with "the calls with the api"... Do  you refer to voice calls inside Telegram? That's not implemented in Telegram's API afaik...

Hello Ecron, sorry for taking so long to reply. With calls I mean continue using the api, doing doRpcCall with TLRequestUsersGetFullUser, TLRequestMessagesGetDialogs, etc. for example :)
Thank you

Zaebali gde russkie


Failed to build with latest commit

I got a build error when using the latest commit:
capability.c: In function 'capability_read_public':
capability.c:53:9: error: 'TPM2_PT_HR_PERSISTENT' undeclared (first use in this function); did you mean 'TPM2_HR_PERSISTENT'?
53 |         TPM2_PT_HR_PERSISTENT, &more_data,
|         ^~~~~~~~~~~~~~~~~~~~~
|         TPM2_HR_PERSISTENT
capability.c:53:9: note: each undeclared identifier is reported only once for each function it appears in
: recipe for target 'capability.o' failed
make[2]: *** [capability.o] Error 1
Seems it related with commit 888c46c8279a390f2fca7284443ce5fbe35d18db

Fixed by https://github.com/jiazhang0/cryptfs-tpm2/commit/684b868e68afef9bcbfecd20ea4da2f220445d03


errors with REST

File ".../lib/python3.8/site-packages/trading_ig/rest.py", line 295, in fetch_accounts
data = self.parse_response(response.text)
File ".../lib/python3.8/site-packages/trading_ig/rest.py", line 247, in parse_response_with_exception
response = json.loads(*args, **kwargs)
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I keep getting this error at least once a day. I run my code for a few hours and then when there is a spike in volume very often I get kicked out and receive this error message. Anyone knows what I might change to improve the situation?

solved myself

Would you mind sharing your solution? It may help others with a similar problem

Sure, sorry I was about to do it the first time but I wanted to test my brilliant (you will see in a minute) solution:
The problem I had was that I made a mistake with quoting a dictionary element (historical prices)
before:
response = ig_service.fetch_historical_prices_by_epic_and_num_points(epic, resolution, num_points)
bid_prices = response**['prices']**['bid']
instead of using double quotation marks
now:
response = ig_service.fetch_historical_prices_by_epic_and_num_points(epic, resolution, num_points)
bid_prices = response**["prices"]**['bid']
I told you, it took a genius to solve it.


[Wait for #2568][Mixed] Mixed Precision Layer update

This PR is to update the mixed precision layer.

integrate #2568 & #2455
will update more test

Self evaluation:

Build test:   [X]Passed [ ]Failed [ ]Skipped
Run test:     [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Donghak PARK<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2579. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

:octocat: cibot: @DonghakPark, The last line of a text file must have a newline character. Please append a new line at the end of the line in nntrainer/layers/loss/mse_loss_layer.cpp.

:octocat: cibot: @DonghakPark, The last line of a text file must have a newline character. Please append a new line at the end of the line in nntrainer/layers/loss/mse_loss_layer.cpp.

will update layers with new PR.
so, close this PR


Remove Apifox.Apifox 2.5.7 to Ruihu.Apifox 2.5.7

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

URL: http://cdn.apifox.com/download/2.5.7/Apifox-2.5.7.exe
Status Code: 200
(Automated message - build 869)


[stable/grafana] Now using correct variable in job and deployment template

Any update on this PR?

@k8s-bot ok to test

@seanknox Thanks so much for this. Is this ready to be merged? It's a very small PR. 😄

Closing in favor of #806 which includes this change as well

oops i meant #941


CALL LIST: Add calls completed partial to main dashboard view

After a CM makes a call, we're going to want to move that call to a Calls Completed section, so a CM can keep track.
To that end, let's add a new partial similar to call_list to the main dashboard view.

Until #241 is ready for prime time, go ahead and populate the table_content partial with current_user.pregnancies.

taking a look at this

Resolved in #250 !


Autoprefixer (cssnext) not working properly

Hello everyone ! I'm currently facing issues regarding the autoprefixer (used from cssnext module).
Using a clean project based on react-boilerplate, if I try something like this:
transform: translate(-50%,-50%); // -> no prefixes added
display: flex // -> only -ms- prefix is added but no -webkit- prefix
Is it an expected behaviour?
Best,

From autoprefixer npm page:

PostCSS plugin to parse CSS and add vendor prefixes to CSS rules using values from Can I Use

I actually don't know. What does Can I Use say about those properties?

If you try https://autoprefixer.github.io, you will see that it's correctly prefixing those attributes
// display flex using autoprefix.github.io
display: -webkit-box;
display: -ms-flexbox;
display: flex;
// display flex using react-boilerplate
display: -ms-flexbox;
display: flex;
Missing -webkit-box when I use this boilerplate

@billyshena If you look at the webpack config files in the boilerplate, you will see the postcss settings are set to:
cssnext({ browsers: ['last 2 versions', 'IE > 10'], })
If you use these settings on https://autoprefixer.github.io, you will see that the -webkit-box prefix will not appear. It would look like this is the expected behavior for these settings, you can adjust those settings in the webpack config files to your needs. (For example, if you need to support older browsers or older versions of IE).
The config files are currently under /internals/webpack
I hope that helps clear things up

@elswenson Indeed, works fine now if I change those settings in my webpack config 👍
Thanks !

why i did find the config file? how can i config it?


[SENTRY FATAL ERROR]: SIGABRT - [SCPTerminal validateInfoPlistForDiscoveryConfiguration:].cold.1

Hello everyone, my sentinel detected this error, and after this error, it crashes

"dependencies": {
     "expo": "^50.0.14",
     "@sentry/react-native": "5.19.1",
     "@stripe/stripe-terminal-react-native": "^0.0.1-beta.17",
}

the error occurs when testing on the ios simulator

Hey Phill, I installed it using the expo plugin.
[
  "@stripe/stripe-terminal-react-native",
  {
    "bluetoothBackgroundMode": true,
    "locationWhenInUsePermission": "Location access is required in order to accept payments.",
    "bluetoothPeripheralPermission": "Bluetooth access is required in order to connect to supported bluetooth card readers.",
    "bluetoothAlwaysUsagePermission": "This app uses Bluetooth to connect to supported card readers."
  }
],

The problem is after I enabled sentry it gave this error, before enabling it it was working perfectly in the iOS simulator.

I managed to resolve this error.
Somehow the app.json plugins weren't being added correctly...
so I passed them to app.config.ts and I left the sentry plugin for last.


orders: Omit empty size field

For market orders, it is valid to omit size and only supply funds:
https://docs.gdax.com/#place-a-new-order
This is how market orders should be placed when, for instance, buying BTC using a fixed amount of USD (e.g. buy $100 worth of BTC at market price).
Size the size field was being serialized no matter what, the GDAX API was rejecting those requests with size must be greater than zero (0).

added in a previous pr