[jira] [Created] (ARROW-16003) Installing on R fails with hash mismatch for Boost
bers created ARROW-16003: Summary: Installing on R fails with hash mismatch for Boost Key: ARROW-16003 URL: https://issues.apache.org/jira/browse/ARROW-16003 Project: Apache Arrow Issue Type: Bug Components: R Affects Versions: 7.0.0 Reporter: bers `install.packages(arrow)` fails on Linux when downloading Boost due to a hash mismatch. The expected hash is 267e04a7c0bfe85daf796dedc789c3a27a76707e1c968f0a2a87bb96331e2b61 according to https://github.com/apache/arrow/blob/master/cpp/thirdparty/versions.txt#L37, while the actual one is aeb26f80e80945e82ee93e5939baebdca47b9dee80a07d3144be1e1a6a66dd6a (in line with the official ones, https://www.boost.org/users/history/version_1_75_0.html). {quote}CMake Error at boost_ep-stamp/boost_ep-download-RELEASE.cmake:37 (message): Command failed: 1 '/opt/cmake/bin/cmake' '-Dmake=' '-Dconfig=' '-P' '/tmp/RtmpHTgeAH/file48f93e4a54d3/boost_ep-prefix/src/boost_ep-stamp/boost_ep-download-RELEASE-impl.cmake' See also /tmp/RtmpHTgeAH/file48f93e4a54d3/boost_ep-prefix/src/boost_ep-stamp/boost_ep-download-*.log -- stdout output is: ...skipping to end... mplete] -- [download 100% complete] -- verifying file... file='/tmp/RtmpHTgeAH/file48f93e4a54d3/boost_ep-prefix/src/boost_1_75_0.tar.gz' -- SHA256 hash of /tmp/RtmpHTgeAH/file48f93e4a54d3/boost_ep-prefix/src/boost_1_75_0.tar.gz does not match expected value expected: '267e04a7c0bfe85daf796dedc789c3a27a76707e1c968f0a2a87bb96331e2b61' actual: 'aeb26f80e80945e82ee93e5939baebdca47b9dee80a07d3144be1e1a6a66dd6a' -- Hash mismatch, removing... -- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz' -- [download 100% complete] -- [download 0% complete] -- [download 100% complete] -- verifying file... file='/tmp/RtmpHTgeAH/file48f93e4a54d3/boost_ep-prefix/src/boost_1_75_0.tar.gz' -- SHA256 hash of /tmp/RtmpHTgeAH/file48f93e4a54d3/boost_ep-prefix/src/boost_1_75_0.tar.gz does not match expected value expected: '267e04a7c0bfe85daf796dedc789c3a27a76707e1c968f0a2a87bb96331e2b61' actual: 'aeb26f80e80945e82ee93e5939baebdca47b9dee80a07d3144be1e1a6a66dd6a' -- Hash mismatch, removing... -- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz' -- [download 0% complete] -- [download 100% complete] -- verifying file... file='/tmp/RtmpHTgeAH/file48f93e4a54d3/boost_ep-prefix/src/boost_1_75_0.tar.gz' -- SHA256 hash of /tmp/RtmpHTgeAH/file48f93e4a54d3/boost_ep-prefix/src/boost_1_75_0.tar.gz does not match expected value expected: '267e04a7c0bfe85daf796dedc789c3a27a76707e1c968f0a2a87bb96331e2b61' actual: 'aeb26f80e80945e82ee93e5939baebdca47b9dee80a07d3144be1e1a6a66dd6a' -- Hash mismatch, removing... -- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz' -- [download 100% complete] -- [download 0% complete] -- [download 100% complete] -- verifying file... file='/tmp/RtmpHTgeAH/file48f93e4a54d3/boost_ep-prefix/src/boost_1_75_0.tar.gz' -- SHA256 hash of /tmp/RtmpHTgeAH/file48f93e4a54d3/boost_ep-prefix/src/boost_1_75_0.tar.gz does not match expected value expected: '267e04a7c0bfe85daf796dedc789c3a27a76707e1c968f0a2a87bb96331e2b61' actual: 'aeb26f80e80945e82ee93e5939baebdca47b9dee80a07d3144be1e1a6a66dd6a' -- Hash mismatch, removing... -- stderr output is: CMake Error at boost_ep-stamp/download-boost_ep.cmake:170 (message): Each download failed! error: downloading 'https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz' failed status_code: 22 status_string: "HTTP response code said error" log: CMake Error at boost_ep-stamp/boost_ep-download-RELEASE-impl.cmake:9 (message): Command failed (1): '/opt/cmake/bin/cmake' '-P' '/tmp/RtmpHTgeAH/file48f93e4a54d3/boost_ep-prefix/src/boost_ep-stamp/download-boost_ep.cmake' CMake Error at boost_ep-stamp/boost_ep-download-RELEASE.cmake:47 (message): Stopping after outputting logs. make[2]: *** [CMakeFiles/boost_ep.dir/build.make:110: boost_ep-prefix/src/boost_ep-stamp/boost_ep-download] Error 1 make[1]: *** [CMakeFiles/Makefile2:1084: CMakeFiles/boost_ep.dir/all] Error 2 gmake: *** [Makefile:160: all] Error 2 Error building Arrow C++. - NOTE --- There was an issue preparing the Arrow C++ libraries. See https://arrow.apache.org/docs/r/articles/install.html - ERROR: configuration failed for package ‘arrow’ * removing ‘/opt/R/4.1/library/arrow’ The downloaded source packages are in ‘/tmp/Rtmp0FpihC/downloaded_packages’ Warning message: In install.packages("arrow") : installation of package ‘arrow’ had non-zero exit status > remove.packages("arrow") CMake Error at
[jira] [Created] (ARROW-12503) Cannot call io___MemoryMappedFile__Open()
bers created ARROW-12503: Summary: Cannot call io___MemoryMappedFile__Open() Key: ARROW-12503 URL: https://issues.apache.org/jira/browse/ARROW-12503 Project: Apache Arrow Issue Type: Bug Environment: R4.0.5 openSUSE Leap 15.2 Reporter: bers I have checked [https://arrow.apache.org/docs/r/articles/install.html#package-installed-without-c-dependencies|https://arrow.apache.org/docs/r/articles/install.html#package-installed-without-c-dependencies,] and that none of the known issues apply to me. So then it's telling me to issue `[arrow::install_arrow(verbose = TRUE)|https://arrow.apache.org/docs/r/reference/install_arrow.html]`, which I did. Here's the output: ``` > arrow::install_arrow(verbose = TRUE) Installing package into ‘/data2/bers/opt/R/4.0/library’ (as ‘lib’ is unspecified) trying URL 'https://cran.r-project.org/src/contrib/arrow_3.0.0.tar.gz' Content type 'application/x-gzip' length 344814 bytes (336 KB) == downloaded 336 KB * installing *source* package ‘arrow’ ... ** package ‘arrow’ successfully unpacked and MD5 sums checked ** using staged installation trying URL 'https://dl.bintray.com/ursalabs/arrow-r/libarrow/bin/opensuse-15/arrow-3.0.0.zip' Error in download.file(from_url, to_file, quiet = quietly) : cannot open URL 'https://dl.bintray.com/ursalabs/arrow-r/libarrow/bin/opensuse-15/arrow-3.0.0.zip' *** No C++ binaries found for opensuse-15 trying URL 'https://dl.bintray.com/ursalabs/arrow-r/libarrow/src/arrow-3.0.0.zip' Error in download.file(from_url, to_file, quiet = quietly) : cannot open URL 'https://dl.bintray.com/ursalabs/arrow-r/libarrow/src/arrow-3.0.0.zip' trying URL 'https://www.apache.org/dyn/closer.lua?action=download=arrow/arrow-3.0.0/apache-arrow-3.0.0.tar.gz' Content type 'application/x-gzip' length 8200790 bytes (7.8 MB) == downloaded 7.8 MB *** Successfully retrieved C++ source *** Building C++ libraries *** Building with MAKEFLAGS= -j2 arrow with SOURCE_DIR="/tmp/RtmpOXZGhl/file156868fe52ec/apache-arrow-3.0.0/cpp" BUILD_DIR="/tmp/RtmpOXZGhl/file1568178b21a6" DEST_DIR="libarrow/arrow-3.0.0" CMAKE="/data2/bers/opt/cmake/bin/cmake" CC="gcc" CXX="g++ -std=gnu++11" LDFLAGS="-L/usr/local/lib64" ARROW_S3=ON ARROW_MIMALLOC=ON ++ pwd + : /tmp/RtmppXbaGR/R.INSTALL155322509007/arrow + : /tmp/RtmpOXZGhl/file156868fe52ec/apache-arrow-3.0.0/cpp + : /tmp/RtmpOXZGhl/file1568178b21a6 + : libarrow/arrow-3.0.0 + : /data2/bers/opt/cmake/bin/cmake ++ cd /tmp/RtmpOXZGhl/file156868fe52ec/apache-arrow-3.0.0/cpp ++ pwd + SOURCE_DIR=/tmp/RtmpOXZGhl/file156868fe52ec/apache-arrow-3.0.0/cpp ++ mkdir -p libarrow/arrow-3.0.0 ++ cd libarrow/arrow-3.0.0 ++ pwd + DEST_DIR=/tmp/RtmppXbaGR/R.INSTALL155322509007/arrow/libarrow/arrow-3.0.0 + '[' '' = '' ']' + which ninja + '[' FALSE = false ']' + ARROW_DEFAULT_PARAM=OFF + mkdir -p /tmp/RtmpOXZGhl/file1568178b21a6 + pushd /tmp/RtmpOXZGhl/file1568178b21a6 /tmp/RtmpOXZGhl/file1568178b21a6 /tmp/RtmppXbaGR/R.INSTALL155322509007/arrow + /data2/bers/opt/cmake/bin/cmake -DARROW_BOOST_USE_SHARED=OFF -DARROW_BUILD_TESTS=OFF -DARROW_BUILD_SHARED=OFF -DARROW_BUILD_STATIC=ON -DARROW_COMPUTE=ON -DARROW_CSV=ON -DARROW_DATASET=ON -DARROW_DEPENDENCY_SOURCE=BUNDLED -DARROW_FILESYSTEM=ON -DARROW_JEMALLOC=ON -DARROW_MIMALLOC=ON -DARROW_JSON=ON -DARROW_PARQUET=ON -DARROW_S3=ON -DARROW_WITH_BROTLI=OFF -DARROW_WITH_BZ2=OFF -DARROW_WITH_LZ4=OFF -DARROW_WITH_SNAPPY=OFF -DARROW_WITH_UTF8PROC=OFF -DARROW_WITH_ZLIB=OFF -DARROW_WITH_ZSTD=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/tmp/RtmppXbaGR/R.INSTALL155322509007/arrow/libarrow/arrow-3.0.0 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_UNITY_BUILD=ON -G 'Unix Makefiles' /tmp/RtmpOXZGhl/file156868fe52ec/apache-arrow-3.0.0/cpp -- Building using CMake version: 3.19.5 -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - 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/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Arrow version: 3.0.0 (full: '3.0.0') -- Arrow SO version: 300 (full: 300.0.0) -- clang-tidy not found -- clang-format not found -- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN) -- infer not found fatal: not a git repository (or any of the parent directories): .git -- Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter) Reason given by package: Interpreter: Cannot use the interpreter