You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "bers (Jira)" <ji...@apache.org> on 2022/03/22 15:28:00 UTC

[jira] [Commented] (ARROW-16003) Installing on R fails with hash mismatch for Boost

    [ https://issues.apache.org/jira/browse/ARROW-16003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510690#comment-17510690 ] 

bers commented on ARROW-16003:
------------------------------

For the record, downloading "arrow_7.0.0.tar.gz", untaring, fixing the bad hash in "tools/cpp/thirdparty/versions.txt" and then installing using "devtools::install()" has fixed the issue for me.

> 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
>            Priority: Major
>
> `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]).
> {code}
> 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 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")
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)