You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "nealrichardson (via GitHub)" <gi...@apache.org> on 2024/01/19 03:27:21 UTC

[PR] GH-39697: [R] Source build should check if offline [arrow]

nealrichardson opened a new pull request, #39699:
URL: https://github.com/apache/arrow/pull/39699

   ### Rationale for this change
   
   CRAN.
   
   ### What changes are included in this PR?
   
   See the commit messages
   
   ### Are these changes tested?
   
   Existing CI should pass and not be affected. We should confirm that source builds get all features enabled. We should test on macbuilder with this package and with one where we've inserted `download.file <- function(...) stop()` at the top of nixlibs.R to simulate offline behavior.
   
   ### Are there any user-facing changes?
   
   I hope there is only one user affected. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "jonkeane (via GitHub)" <gi...@apache.org>.
jonkeane commented on PR #39699:
URL: https://github.com/apache/arrow/pull/39699#issuecomment-1899644332

   Macbuilder with just these changes: https://mac.r-project.org/macbuilder/results/1705635740-c74d4358db0b3bdb/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "nealrichardson (via GitHub)" <gi...@apache.org>.
nealrichardson commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1459737589


##########
r/tools/nixlibs.R:
##########
@@ -906,28 +906,13 @@ on_windows <- tolower(Sys.info()[["sysname"]]) == "windows"
 # For local debugging, set ARROW_R_DEV=TRUE to make this script print more
 quietly <- !env_is("ARROW_R_DEV", "true")
 
-not_cran <- env_is("NOT_CRAN", "true")
-
-if (is_release) {
-  VERSION <- VERSION[1, 1:3]
-  arrow_repo <- paste0(getOption("arrow.repo", sprintf("https://apache.jfrog.io/artifactory/arrow/r/%s", VERSION)), "/libarrow/")
-} else {
-  # Don't override explictily set NOT_CRAN env var, as it is used in CI.
-  not_cran <- !env_is("NOT_CRAN", "false")
-  arrow_repo <- paste0(getOption("arrow.dev_repo", "https://nightlies.apache.org/arrow/r"), "/libarrow/")
-}
-
-if (!is_release && !test_mode) {
-  VERSION <- find_latest_nightly(VERSION)
-}
-
 # To collect dirs to rm on exit, use cleanup() to add dirs
 # we reset it to avoid errors on reruns in the same session.
 options(.arrow.cleanup = character())
 on.exit(unlink(getOption(".arrow.cleanup"), recursive = TRUE), add = TRUE)
 
-# enable full featured builds for macOS in case of CRAN source builds.
-if (not_cran || on_macos) {

Review Comment:
   It should still default to downloading the binary, which has everything. Right? (It seemed to locally, but you should confirm on macbuilder on a release version.)
   
   Since it seems that we're being required to build successfully even if offline, we can't build with any thirdparty dependencies in that case unless we vendor their source. IIUC we won't get past BDR today unless we delete this flag and detect whether we're offline.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1459740963


##########
r/tools/nixlibs.R:
##########
@@ -906,28 +906,13 @@ on_windows <- tolower(Sys.info()[["sysname"]]) == "windows"
 # For local debugging, set ARROW_R_DEV=TRUE to make this script print more
 quietly <- !env_is("ARROW_R_DEV", "true")
 
-not_cran <- env_is("NOT_CRAN", "true")
-
-if (is_release) {
-  VERSION <- VERSION[1, 1:3]
-  arrow_repo <- paste0(getOption("arrow.repo", sprintf("https://apache.jfrog.io/artifactory/arrow/r/%s", VERSION)), "/libarrow/")
-} else {
-  # Don't override explictily set NOT_CRAN env var, as it is used in CI.
-  not_cran <- !env_is("NOT_CRAN", "false")
-  arrow_repo <- paste0(getOption("arrow.dev_repo", "https://nightlies.apache.org/arrow/r"), "/libarrow/")
-}
-
-if (!is_release && !test_mode) {
-  VERSION <- find_latest_nightly(VERSION)
-}
-
 # To collect dirs to rm on exit, use cleanup() to add dirs
 # we reset it to avoid errors on reruns in the same session.
 options(.arrow.cleanup = character())
 on.exit(unlink(getOption(".arrow.cleanup"), recursive = TRUE), add = TRUE)
 
-# enable full featured builds for macOS in case of CRAN source builds.
-if (not_cran || on_macos) {

Review Comment:
   ```
   acero      TRUE
   dataset    TRUE
   substrait FALSE
   parquet    TRUE
   json       TRUE
   s3        FALSE
   gcs       FALSE
   utf8proc   TRUE
   re2        TRUE
   snappy     TRUE
   gzip      FALSE
   brotli    FALSE
   zstd      FALSE
   lz4        TRUE
   lz4_frame  TRUE
   lzo       FALSE
   bz2       FALSE
   jemalloc  FALSE
   mimalloc   TRUE
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "jonkeane (via GitHub)" <gi...@apache.org>.
jonkeane commented on PR #39699:
URL: https://github.com/apache/arrow/pull/39699#issuecomment-1899747803

   The "and a release number" is needed because https://github.com/apache/arrow/blob/55afcf0450aa2b611e78335bdbfd77e55ae3bc9f/r/tools/nixlibs.R#L916 will always override that variable with version that have .9000. This is super confusing, of course, but it's how it's set now. I've sent a new build with a release-like number to ensure we hit that log message.
   
   But also I think we need to add `LIBARROW_MINIMAL = TRUE` inside that main if clause here


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1459774545


##########
r/tools/nixlibs.R:
##########
@@ -906,28 +906,13 @@ on_windows <- tolower(Sys.info()[["sysname"]]) == "windows"
 # For local debugging, set ARROW_R_DEV=TRUE to make this script print more
 quietly <- !env_is("ARROW_R_DEV", "true")
 
-not_cran <- env_is("NOT_CRAN", "true")
-
-if (is_release) {
-  VERSION <- VERSION[1, 1:3]
-  arrow_repo <- paste0(getOption("arrow.repo", sprintf("https://apache.jfrog.io/artifactory/arrow/r/%s", VERSION)), "/libarrow/")
-} else {
-  # Don't override explictily set NOT_CRAN env var, as it is used in CI.
-  not_cran <- !env_is("NOT_CRAN", "false")
-  arrow_repo <- paste0(getOption("arrow.dev_repo", "https://nightlies.apache.org/arrow/r"), "/libarrow/")
-}
-
-if (!is_release && !test_mode) {
-  VERSION <- find_latest_nightly(VERSION)
-}
-
 # To collect dirs to rm on exit, use cleanup() to add dirs
 # we reset it to avoid errors on reruns in the same session.
 options(.arrow.cleanup = character())
 on.exit(unlink(getOption(".arrow.cleanup"), recursive = TRUE), add = TRUE)
 
-# enable full featured builds for macOS in case of CRAN source builds.
-if (not_cran || on_macos) {

Review Comment:
   (see zulip)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser commented on PR #39699:
URL: https://github.com/apache/arrow/pull/39699#issuecomment-1901059588

   @github-actions crossbow submit r-binary-packages


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1459787811


##########
r/tools/nixlibs.R:
##########
@@ -912,8 +912,6 @@ if (is_release) {
   VERSION <- VERSION[1, 1:3]
   arrow_repo <- paste0(getOption("arrow.repo", sprintf("https://apache.jfrog.io/artifactory/arrow/r/%s", VERSION)), "/libarrow/")
 } else {
-  # Don't override explictily set NOT_CRAN env var, as it is used in CI.
-  not_cran <- !env_is("NOT_CRAN", "false")

Review Comment:
   ```r
     # Don't override explictily set NOT_CRAN env var, as it is used in CI.
     not_cran <- !env_is("NOT_CRAN", "false")
   ``` 
   Even if it adds a step (changing version) to testing dev checkouts on macbuilder I think it is still save (dev versions will never be on CRAN after all) and provides DX, especially for new contributors on not allow listed linux distros. But if you disagree then :shrug: 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "nealrichardson (via GitHub)" <gi...@apache.org>.
nealrichardson commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1458252320


##########
r/tools/nixlibs.R:
##########
@@ -943,7 +942,16 @@ if (not_cran || on_macos) {
 build_ok <- !env_is("LIBARROW_BUILD", "false")
 
 # Check if we're authorized to download
-download_ok <- !test_mode && !env_is("TEST_OFFLINE_BUILD", "true")
+download_ok <- !test_mode && !env_is("ARROW_OFFLINE_BUILD", "true")
+# If not forbidden from downloading, check if we are offline and turn off downloading.
+# The default libarrow source build will download its source dependencies and fail
+# if they can't be retrieved.
+# But, don't do this if the user has requested a binary or a non-minimal build:
+# we should error rather than silently succeeding with a minimal build.
+if (Sys.getenv("LIBARROW_BINARY") %in% c("false", "") && !env_is("LIBARROW_MINIMAL", "false")) {
+  download_ok <- download_ok && try_download("https://apache.jfrog.io/artifactory/arrow/r/")
+}
+

Review Comment:
   There should probably be a `lg()` message inserted here if `!download_ok`, just for our own visibility/sanity.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "jonkeane (via GitHub)" <gi...@apache.org>.
jonkeane commented on PR #39699:
URL: https://github.com/apache/arrow/pull/39699#issuecomment-1899773272

   Ok, https://github.com/apache/arrow/pull/39699#issuecomment-1899644332 is updated
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "jonkeane (via GitHub)" <gi...@apache.org>.
jonkeane commented on PR #39699:
URL: https://github.com/apache/arrow/pull/39699#issuecomment-1899754810

   And running this locally (with a malignant `download.file()`), I get the following build output, with lots turned off:
   
   ```
   *** Download is not ok, so reverting to a minimal build.
   *** Found local C++ source: 'tools/cpp'
   *** Building libarrow from source
       For build options and troubleshooting, see the install guide:
       https://arrow.apache.org/docs/r/articles/install.html
   **** cmake 3.28.1: /usr/local/bin/cmake
   **** arrow 
   **** Error building Arrow C++.
   **** Printing contents of build log because the build failed while ARROW_R_DEV was set to FALSE
   ++ pwd
   + : /Users/jkeane/repos/arrow/r/arrow.Rcheck/00_pkg_src/arrow
   + : tools/cpp
   + : /var/folders/b2/8w36qffn5rgbkzd2bf8tcgbh0000gn/T//RtmpAqfSkA/file39ca4ab31ae4
   + : libarrow/arrow-14.0.2
   + : /usr/local/bin/cmake
   ++ cd tools/cpp
   ++ pwd
   + SOURCE_DIR=/Users/jkeane/repos/arrow/r/arrow.Rcheck/00_pkg_src/arrow/tools/cpp
   ++ mkdir -p libarrow/arrow-14.0.2
   ++ cd libarrow/arrow-14.0.2
   ++ pwd
   + DEST_DIR=/Users/jkeane/repos/arrow/r/arrow.Rcheck/00_pkg_src/arrow/libarrow/arrow-14.0.2
   + '[' 2 = '' ']'
   + '[' true '!=' '' ']'
   ++ echo true
   ++ tr '[:upper:]' '[:lower:]'
   + LIBARROW_MINIMAL=true
   + '[' true = false ']'
   + ARROW_DEFAULT_PARAM=OFF
   + case "$CXX" in
   + mkdir -p /var/folders/b2/8w36qffn5rgbkzd2bf8tcgbh0000gn/T//RtmpAqfSkA/file39ca4ab31ae4
   + pushd /var/folders/b2/8w36qffn5rgbkzd2bf8tcgbh0000gn/T//RtmpAqfSkA/file39ca4ab31ae4
   /var/folders/b2/8w36qffn5rgbkzd2bf8tcgbh0000gn/T/RtmpAqfSkA/file39ca4ab31ae4 ~/repos/arrow/r/arrow.Rcheck/00_pkg_src/arrow
   + /usr/local/bin/cmake -DARROW_BOOST_USE_SHARED=OFF -DARROW_BUILD_TESTS=OFF -DARROW_BUILD_SHARED=OFF -DARROW_BUILD_STATIC=ON -DARROW_ACERO=ON -DARROW_COMPUTE=ON -DARROW_CSV=ON -DARROW_DATASET=OFF -DARROW_DEPENDENCY_SOURCE=AUTO -DAWSSDK_SOURCE= -DBoost_SOURCE=BUNDLED -Dlz4_SOURCE=BUNDLED -DARROW_FILESYSTEM=ON -DARROW_GCS=OFF -DARROW_JEMALLOC=OFF -DARROW_MIMALLOC=OFF -DARROW_JSON=OFF -DARROW_PARQUET=OFF -DARROW_S3=OFF -DARROW_WITH_BROTLI=OFF -DARROW_WITH_BZ2=OFF -DARROW_WITH_LZ4=OFF -DARROW_WITH_RE2=OFF -DARROW_WITH_SNAPPY=OFF -DARROW_WITH_UTF8PROC=OFF -DARROW_WITH_ZLIB=OFF -DARROW_WITH_ZSTD=OFF -DARROW_VERBOSE_THIRDPARTY_BUILD=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_DEBUG_MODE=OFF -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/Users/jkeane/repos/arrow/r/arrow.Rcheck/00_pkg_src/arrow/libarrow/arrow-14.0.2 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_UNITY_BUILD=OFF -Dre2_SOURCE=BUNDLED -Dxsimd_SOURCE= -Dzstd_SOURCE= -DARROW_SIMD_L
 EVEL=NONE -DARROW_RUNTIME_SIMD_LEVEL=NONE -G 'Unix Makefiles' /Users/jkeane/repos/arrow/r/arrow.Rcheck/00_pkg_src/arrow/tools/cpp
   -- Building using CMake version: 3.28.1
   -- The C compiler identification is AppleClang 14.0.0.14000029
   -- The CXX compiler identification is AppleClang 14.0.0.14000029
   -- 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/clang - 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/clang++ - skipped
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Arrow version: 15.0.0 (full: '15.0.0-SNAPSHOT')
   -- Arrow SO version: 1500 (full: 1500.0.0)
   -- clang-tidy 14 not found
   -- clang-format 14 not found
   -- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN) 
   -- infer not found
   -- Found Python3: /usr/local/bin/python3.12 (found version "3.12.1") found components: Interpreter 
   -- Using ccache: /usr/local/bin/ccache
   -- Found cpplint executable at /Users/jkeane/repos/arrow/r/arrow.Rcheck/00_pkg_src/arrow/tools/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: PRODUCTION
   -- Build Type: RELEASE
   -- Performing Test CXX_LINKER_SUPPORTS_VERSION_SCRIPT
   -- Performing Test CXX_LINKER_SUPPORTS_VERSION_SCRIPT - Failed
   -- Using AUTO approach to find dependencies
   -- ARROW_ABSL_BUILD_VERSION: 20211102.0
   -- ARROW_ABSL_BUILD_SHA256_CHECKSUM: dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4
   -- ARROW_AWS_C_AUTH_BUILD_VERSION: v0.6.22
   -- ARROW_AWS_C_AUTH_BUILD_SHA256_CHECKSUM: 691a6b4418afcd3dc141351b6ad33fccd8e3ff84df0e9e045b42295d284ee14c
   -- ARROW_AWS_C_CAL_BUILD_VERSION: v0.5.20
   -- ARROW_AWS_C_CAL_BUILD_SHA256_CHECKSUM: acc352359bd06f8597415c366cf4ec4f00d0b0da92d637039a73323dd55b6cd0
   -- ARROW_AWS_C_COMMON_BUILD_VERSION: v0.8.9
   -- ARROW_AWS_C_COMMON_BUILD_SHA256_CHECKSUM: 2f3fbaf7c38eae5a00e2a816d09b81177f93529ae8ba1b82dc8f31407565327a
   -- ARROW_AWS_C_COMPRESSION_BUILD_VERSION: v0.2.16
   -- ARROW_AWS_C_COMPRESSION_BUILD_SHA256_CHECKSUM: 044b1dbbca431a07bde8255ef9ec443c300fc60d4c9408d4b862f65e496687f4
   -- ARROW_AWS_C_EVENT_STREAM_BUILD_VERSION: v0.2.18
   -- ARROW_AWS_C_EVENT_STREAM_BUILD_SHA256_CHECKSUM: 310ca617f713bf664e4c7485a3d42c1fb57813abd0107e49790d107def7cde4f
   -- ARROW_AWS_C_HTTP_BUILD_VERSION: v0.7.3
   -- ARROW_AWS_C_HTTP_BUILD_SHA256_CHECKSUM: 07e16c6bf5eba6f0dea96b6f55eae312a7c95b736f4d2e4a210000f45d8265ae
   -- ARROW_AWS_C_IO_BUILD_VERSION: v0.13.14
   -- ARROW_AWS_C_IO_BUILD_SHA256_CHECKSUM: 12b66510c3d9a4f7e9b714e9cfab2a5bf835f8b9ce2f909d20ae2a2128608c71
   -- ARROW_AWS_C_MQTT_BUILD_VERSION: v0.8.4
   -- ARROW_AWS_C_MQTT_BUILD_SHA256_CHECKSUM: 232eeac63e72883d460c686a09b98cdd811d24579affac47c5c3f696f956773f
   -- ARROW_AWS_C_S3_BUILD_VERSION: v0.2.3
   -- ARROW_AWS_C_S3_BUILD_SHA256_CHECKSUM: a00b3c9f319cd1c9aa2c3fa15098864df94b066dcba0deaccbb3caa952d902fe
   -- ARROW_AWS_C_SDKUTILS_BUILD_VERSION: v0.1.6
   -- ARROW_AWS_C_SDKUTILS_BUILD_SHA256_CHECKSUM: 8a2951344b2fb541eab1e9ca17c18a7fcbfd2aaff4cdd31d362d1fad96111b91
   -- ARROW_AWS_CHECKSUMS_BUILD_VERSION: v0.1.13
   -- ARROW_AWS_CHECKSUMS_BUILD_SHA256_CHECKSUM: 0f897686f1963253c5069a0e495b85c31635ba146cd3ac38cc2ea31eaf54694d
   -- ARROW_AWS_CRT_CPP_BUILD_VERSION: v0.18.16
   -- ARROW_AWS_CRT_CPP_BUILD_SHA256_CHECKSUM: 9e69bc1dc4b50871d1038aa9ff6ddeb4c9b28f7d6b5e5b1b69041ccf50a13483
   -- ARROW_AWS_LC_BUILD_VERSION: v1.3.0
   -- ARROW_AWS_LC_BUILD_SHA256_CHECKSUM: ae96a3567161552744fc0cae8b4d68ed88b1ec0f3d3c98700070115356da5a37
   -- ARROW_AWSSDK_BUILD_VERSION: 1.10.55
   -- ARROW_AWSSDK_BUILD_SHA256_CHECKSUM: 2d552fb1a84bef4a9b65e34aa7031851ed2aef5319e02cc6e4cb735c48aa30de
   -- ARROW_AZURE_SDK_BUILD_VERSION: azure-core_1.10.3
   -- ARROW_AZURE_SDK_BUILD_SHA256_CHECKSUM: dd624c2f86adf474d2d0a23066be6e27af9cbd7e3f8d9d8fd7bf981e884b7b48
   -- ARROW_BOOST_BUILD_VERSION: 1.81.0
   -- ARROW_BOOST_BUILD_SHA256_CHECKSUM: 9e0ffae35528c35f90468997bc8d99500bf179cbae355415a89a600c38e13574
   -- 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.7.1
   -- ARROW_GBENCHMARK_BUILD_SHA256_CHECKSUM: 6430e4092653380d9dc4ccb45a1e2dc9259d581f4866dc0759713126056bc1d7
   -- 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: v2.12.0
   -- ARROW_GOOGLE_CLOUD_CPP_BUILD_SHA256_CHECKSUM: 8cda870803925c62de8716a765e03eb9d34249977e5cdb7d0d20367e997a55e2
   -- 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.9.2
   -- ARROW_ORC_BUILD_SHA256_CHECKSUM: 7f46f2c184ecefd6791f1a53fb062286818bd8710c3f08b94dd3cac365e240ee
   -- 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.10
   -- ARROW_SNAPPY_BUILD_SHA256_CHECKSUM: 49d831bffcc5f3d01482340fe5af59852ca2fe76c3e05df0e67203ebbe0f1d90
   -- ARROW_SUBSTRAIT_BUILD_VERSION: v0.27.0
   -- ARROW_SUBSTRAIT_BUILD_SHA256_CHECKSUM: 4ed375f69d972a57fdc5ec406c17003a111831d8640d3f1733eccd4b3ff45628
   -- ARROW_S2N_TLS_BUILD_VERSION: v1.3.35
   -- ARROW_S2N_TLS_BUILD_SHA256_CHECKSUM: 9d32b26e6bfcc058d98248bf8fc231537e347395dd89cf62bb432b55c5da990d
   -- 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.3
   -- ARROW_ZLIB_BUILD_SHA256_CHECKSUM: ff0ba4c292013dbc27530b3a81e1f9a813cd39de01ca5e0f8bf355702efa593e
   -- ARROW_ZSTD_BUILD_VERSION: 1.5.5
   -- ARROW_ZSTD_BUILD_SHA256_CHECKSUM: 9c4396cc829cfae319a6e2615202e82aad41372073482fce286fac78646d3ee4
   -- 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.
   -- Found hdfs.h at: /Users/jkeane/repos/arrow/r/arrow.Rcheck/00_pkg_src/arrow/tools/cpp/thirdparty/hadoop/include/hdfs.h
   -- All bundled static libraries: 
   -- CMAKE_C_FLAGS: -falign-functions=64 -Wall -g -O2 -Qunused-arguments  -Wall -Wno-unknown-warning-option -Wno-pass-failed 
   -- CMAKE_CXX_FLAGS:  -fno-aligned-new -falign-functions=64 -Wall -g -O2 -Qunused-arguments -fcolor-diagnostics  -Wall -Wno-unknown-warning-option -Wno-pass-failed 
   -- CMAKE_C_FLAGS_RELEASE: -O3 -DNDEBUG -O2 
   -- CMAKE_CXX_FLAGS_RELEASE: -O3 -DNDEBUG -O2 
   -- Looking for backtrace
   -- Looking for backtrace - found
   -- backtrace facility detected in default set of libraries
   -- Found Backtrace: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include  
   -- ---------------------------------------------------------------------
   -- Arrow version:                                 15.0.0-SNAPSHOT
   -- 
   -- Build configuration summary:
   --   Generator: Unix Makefiles
   --   Build type: RELEASE
   --   Source directory: /Users/jkeane/repos/arrow/r/arrow.Rcheck/00_pkg_src/arrow/tools/cpp
   --   Install prefix: /Users/jkeane/repos/arrow/r/arrow.Rcheck/00_pkg_src/arrow/libarrow/arrow-14.0.2
   -- 
   -- 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=OFF [default=ON]
   --       Build shared libraries
   --   ARROW_PACKAGE_KIND="" [default=""]
   --       Arbitrary string that identifies the kind of package
   --       (for informational purposes)
   --   ARROW_GIT_ID=704dc89363332bca033e8f9c584a33d55b61b470 [default=""]
   --       The Arrow git commit id (if any)
   --   ARROW_GIT_DESCRIPTION=apache-arrow-15.0.0.dev-460-g704dc89363 [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=NONE [default=DEFAULT|NONE|SSE4_2|AVX2|AVX512|NEON|SVE|SVE128|SVE256|SVE512]
   --       Compile-time SIMD optimization level
   --   ARROW_RUNTIME_SIMD_LEVEL=NONE [default=MAX|NONE|SSE4_2|AVX2|AVX512]
   --       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=ON [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
   --   ARROW_ENABLE_THREADING=ON [default=ON]
   --       Enable threading in Arrow core
   -- 
   -- 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=static [default=static|shared]
   --       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_ACERO=ON [default=OFF]
   --       Build the Arrow Acero Engine Module
   --   ARROW_AZURE=OFF [default=OFF]
   --       Build Arrow with Azure support (requires the Azure SDK for C++)
   --   ARROW_BUILD_UTILITIES=OFF [default=OFF]
   --       Build Arrow commandline utilities
   --   ARROW_COMPUTE=ON [default=OFF]
   --       Build all Arrow Compute kernels
   --   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=OFF [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=OFF [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=OFF [default=ON]
   --       Build the Arrow jemalloc-based allocator
   --   ARROW_JSON=OFF [default=OFF]
   --       Build Arrow with JSON support (requires RapidJSON)
   --   ARROW_MIMALLOC=OFF [default=OFF]
   --       Build the Arrow mimalloc-based allocator
   --   ARROW_PARQUET=OFF [default=OFF]
   --       Build the Parquet libraries
   --   ARROW_ORC=OFF [default=OFF]
   --       Build the Arrow ORC adapter
   --   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=OFF [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=AUTO [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=OFF [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=ON [default=ON]
   --       Rely on jemalloc shared libraries where relevant
   --   ARROW_LLVM_USE_SHARED=ON [default=ON]
   --       Rely on LLVM 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=OFF [default=OFF]
   --       Build with Snappy compression
   --   ARROW_WITH_ZLIB=OFF [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=OFF [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=OFF [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=OFF [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
   --   ARROW_GDB_INSTALL_DIR="" [default=""]
   --       Use a custom install directory for GDB plugin.
   --       In general, you don't need to specify this because the default
   --       (CMAKE_INSTALL_FULL_BINDIR on Windows, CMAKE_INSTALL_FULL_LIBDIR otherwise)
   --       is reasonable.
   --   Outputting build configuration summary to /var/folders/b2/8w36qffn5rgbkzd2bf8tcgbh0000gn/T/RtmpAqfSkA/file39ca4ab31ae4/cmake_summary.json
   -- Configuring done (4.8s)
   -- Generating done (0.3s)
   -- Build files have been written to: /var/folders/b2/8w36qffn5rgbkzd2bf8tcgbh0000gn/T/RtmpAqfSkA/file39ca4ab31ae4
   + /usr/local/bin/cmake --build . --target install -- -j 2
   [  0%] Built target toolchain
   [  0%] Built target arrow_dependencies
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "jonkeane (via GitHub)" <gi...@apache.org>.
jonkeane commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1458347832


##########
r/tools/nixlibs.R:
##########
@@ -565,8 +565,8 @@ build_libarrow <- function(src_dir, dst_dir) {
     env_var_list <- c(env_var_list, ARROW_DEPENDENCY_SOURCE = "BUNDLED")
   }
 
-  # On macOS, if not otherwise set, let's override Boost_SOURCE to be bundled 
-  # Necessary due to #39590 for CRAN 
+  # On macOS, if not otherwise set, let's override Boost_SOURCE to be bundled
+  # Necessary due to #39590 for CRAN

Review Comment:
   Also styler-corrected whitespace



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #39699:
URL: https://github.com/apache/arrow/pull/39699#issuecomment-1901063563

   Revision: 01eb6ee10fc65c8ebdd635d12921e22392bf24d3
   
   Submitted crossbow builds: [ursacomputing/crossbow @ actions-7e0d11b7c4](https://github.com/ursacomputing/crossbow/branches/all?query=actions-7e0d11b7c4)
   
   |Task|Status|
   |----|------|
   |r-binary-packages|[![GitHub Actions](https://github.com/ursacomputing/crossbow/actions/workflows/crossbow.yml/badge.svg?branch=actions-7e0d11b7c4-github-r-binary-packages)](https://github.com/ursacomputing/crossbow/actions/runs/7588806614/job/20672129046)|


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "nealrichardson (via GitHub)" <gi...@apache.org>.
nealrichardson commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1459036515


##########
r/tools/nixlibs.R:
##########
@@ -912,8 +912,6 @@ if (is_release) {
   VERSION <- VERSION[1, 1:3]
   arrow_repo <- paste0(getOption("arrow.repo", sprintf("https://apache.jfrog.io/artifactory/arrow/r/%s", VERSION)), "/libarrow/")
 } else {
-  # Don't override explictily set NOT_CRAN env var, as it is used in CI.
-  not_cran <- !env_is("NOT_CRAN", "false")

Review Comment:
   This was why the macbuilder offline build was failing: because the submission was from the checkout and thus on a dev version, NOT_CRAN was being flipped, which meant that we weren't checking for online status.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "jonkeane (via GitHub)" <gi...@apache.org>.
jonkeane commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1459152244


##########
r/tools/nixlibs.R:
##########
@@ -912,8 +912,6 @@ if (is_release) {
   VERSION <- VERSION[1, 1:3]
   arrow_repo <- paste0(getOption("arrow.repo", sprintf("https://apache.jfrog.io/artifactory/arrow/r/%s", VERSION)), "/libarrow/")
 } else {
-  # Don't override explictily set NOT_CRAN env var, as it is used in CI.
-  not_cran <- !env_is("NOT_CRAN", "false")

Review Comment:
   Thanks for cleaning that up



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #39699:
URL: https://github.com/apache/arrow/pull/39699#issuecomment-1901763204

   After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 05b8f366e17ee6f21df4746bb6a65be399dfb68d.
   
   There was 1 benchmark result with an error:
   
   - Commit Run on `ursa-i9-9960x` at [2024-01-20 00:43:26Z](https://conbench.ursa.dev/compare/runs/b25f106b80134b38a4b5266c7c6d9660...db7c9a94f77b460498618bca53a58d64/)
     - [`tpch` (R) with engine=arrow, format=parquet, language=R, memory_map=False, query_id=TPCH-21, scale_factor=10](https://conbench.ursa.dev/benchmark-results/065ab32755d879c680003ada0dd70dce)
   
   There were no benchmark performance regressions. 🎉
   
   The [full Conbench report](https://github.com/apache/arrow/runs/20681724403) has more details. It also includes information about 4 possible false positives for unstable benchmarks that are known to sometimes produce them.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "nealrichardson (via GitHub)" <gi...@apache.org>.
nealrichardson commented on PR #39699:
URL: https://github.com/apache/arrow/pull/39699#issuecomment-1899714114

   Hmm the download.file as stop didn't seem to turn off features. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser merged PR #39699:
URL: https://github.com/apache/arrow/pull/39699


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1459713149


##########
r/tools/nixlibs.R:
##########
@@ -906,28 +906,13 @@ on_windows <- tolower(Sys.info()[["sysname"]]) == "windows"
 # For local debugging, set ARROW_R_DEV=TRUE to make this script print more
 quietly <- !env_is("ARROW_R_DEV", "true")
 
-not_cran <- env_is("NOT_CRAN", "true")
-
-if (is_release) {
-  VERSION <- VERSION[1, 1:3]
-  arrow_repo <- paste0(getOption("arrow.repo", sprintf("https://apache.jfrog.io/artifactory/arrow/r/%s", VERSION)), "/libarrow/")
-} else {
-  # Don't override explictily set NOT_CRAN env var, as it is used in CI.
-  not_cran <- !env_is("NOT_CRAN", "false")
-  arrow_repo <- paste0(getOption("arrow.dev_repo", "https://nightlies.apache.org/arrow/r"), "/libarrow/")
-}
-
-if (!is_release && !test_mode) {
-  VERSION <- find_latest_nightly(VERSION)
-}
-
 # To collect dirs to rm on exit, use cleanup() to add dirs
 # we reset it to avoid errors on reruns in the same session.
 options(.arrow.cleanup = character())
 on.exit(unlink(getOption(".arrow.cleanup"), recursive = TRUE), add = TRUE)
 
-# enable full featured builds for macOS in case of CRAN source builds.
-if (not_cran || on_macos) {

Review Comment:
   So we don't want to make sure source build for macos have all features we want the package on cran to have? Or do  I just not see where this is compensated for? iirc it will default to a build without s3/gcs like this.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #39699:
URL: https://github.com/apache/arrow/pull/39699#issuecomment-1899634736

   :warning: GitHub issue #39697 **has been automatically assigned in GitHub** to PR creator.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "jonkeane (via GitHub)" <gi...@apache.org>.
jonkeane commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1458332858


##########
r/tools/nixlibs.R:
##########
@@ -120,11 +120,11 @@ validate_checksum <- function(binary_url, libfile, hush = quietly) {
     # The warnings from system2 if it fails pop up later in the log and thus are
     # more confusing than they are helpful (so we suppress them)
     checksum_ok <- suppressWarnings(system2(
-        "shasum",
-        args = c("--status", "-a", "512", "-c", checksum_file),
-        stdout = ifelse(quietly, FALSE, ""),
-        stderr = ifelse(quietly, FALSE, "")
-      )) == 0
+      "shasum",
+      args = c("--status", "-a", "512", "-c", checksum_file),
+      stdout = ifelse(quietly, FALSE, ""),
+      stderr = ifelse(quietly, FALSE, "")
+    )) == 0

Review Comment:
   Sorry for this whitespace, styler runs when building and I figure we should clean this up regardless anyway



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "jonkeane (via GitHub)" <gi...@apache.org>.
jonkeane commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1458258651


##########
r/tools/nixlibs.R:
##########
@@ -943,7 +942,16 @@ if (not_cran || on_macos) {
 build_ok <- !env_is("LIBARROW_BUILD", "false")
 
 # Check if we're authorized to download
-download_ok <- !test_mode && !env_is("TEST_OFFLINE_BUILD", "true")
+download_ok <- !test_mode && !env_is("ARROW_OFFLINE_BUILD", "true")
+# If not forbidden from downloading, check if we are offline and turn off downloading.
+# The default libarrow source build will download its source dependencies and fail
+# if they can't be retrieved.
+# But, don't do this if the user has requested a binary or a non-minimal build:
+# we should error rather than silently succeeding with a minimal build.
+if (Sys.getenv("LIBARROW_BINARY") %in% c("false", "") && !env_is("LIBARROW_MINIMAL", "false")) {
+  download_ok <- download_ok && try_download("https://apache.jfrog.io/artifactory/arrow/r/")
+}
+

Review Comment:
   I've added it, will push in a bit



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "nealrichardson (via GitHub)" <gi...@apache.org>.
nealrichardson commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1458970943


##########
r/tools/nixlibs.R:
##########
@@ -943,7 +942,22 @@ if (not_cran || on_macos) {
 build_ok <- !env_is("LIBARROW_BUILD", "false")
 
 # Check if we're authorized to download
-download_ok <- !test_mode && !env_is("TEST_OFFLINE_BUILD", "true")
+download_ok <- !test_mode && !env_is("ARROW_OFFLINE_BUILD", "true")
+# If not forbidden from downloading, check if we are offline and turn off downloading.
+# The default libarrow source build will download its source dependencies and fail
+# if they can't be retrieved.
+# But, don't do this if the user has requested a binary or a non-minimal build:
+# we should error rather than silently succeeding with a minimal build.
+if (Sys.getenv("LIBARROW_BINARY") %in% c("false", "") && !env_is("LIBARROW_MINIMAL", "false")) {
+  download_ok <- download_ok && try_download("https://apache.jfrog.io/artifactory/arrow/r/")
+}
+
+if (!download_ok) {
+  lg("Download is not ok, so reverting to a minimal build.")
+  Sys.setenv(LIBARROW_MINIMAL = "true")

Review Comment:
   If the logic is correct, we shouldn't need this because of https://github.com/apache/arrow/blob/493764929bb2b5635c4d3afff79b2d372495373b/r/tools/nixlibs.R#L585-L599 in `build_libarrow()`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-39697: [R] Source build should check if offline [arrow]

Posted by "nealrichardson (via GitHub)" <gi...@apache.org>.
nealrichardson commented on code in PR #39699:
URL: https://github.com/apache/arrow/pull/39699#discussion_r1459914931


##########
r/tools/nixlibs.R:
##########
@@ -912,8 +912,6 @@ if (is_release) {
   VERSION <- VERSION[1, 1:3]
   arrow_repo <- paste0(getOption("arrow.repo", sprintf("https://apache.jfrog.io/artifactory/arrow/r/%s", VERSION)), "/libarrow/")
 } else {
-  # Don't override explictily set NOT_CRAN env var, as it is used in CI.
-  not_cran <- !env_is("NOT_CRAN", "false")

Review Comment:
   I don't feel super strongly, but to argue for deleting it: it was also a poor developer experience trying to debug why the changes I was making weren't being picked up, why it appeared that env vars I hadn't set were somehow on. I'd also think that having more code paths that are different between a release and a development version is risky.
   
   We do recommend that folks installing locally set `NOT_CRAN=true`, so it would be moot in that case. How about we leave it removed in this PR, and if it becomes a real issue with in the future, feel free to add something like this back then.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org