arrow: [C++] Checksum failed for boost 1.75.0
Describe the bug, including details regarding any error messages, version, and platform.
-- verifying file...
file='/opt/gluten/ep/build-arrow/build/arrow_ep/cpp/build/boost_ep-prefix/src/boost_1_75_0.tar.gz'
-- SHA256 hash of
/opt/gluten/ep/build-arrow/build/arrow_ep/cpp/build/boost_ep-prefix/src/boost_1_75_0.tar.gz
does not match expected value
expected: '267e04a7c0bfe85daf796dedc789c3a27a76707e1c968f0a2a87bb96331e2b61'
actual: 'aeb26f80e80945e82ee93e5939baebdca47b9dee80a07d3144be1e1a6a66dd6a'
-- Hash mismatch, removing...
I bumped into this this morning when I was building Arrow 11.0.0 's source code.
It’s weird that the build could succeed before. I manually downloaded the library then found that it matches the “actual” sha256sum:
[root@localhost ~]# wget https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz
--2023-03-22 11:47:48-- https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz
Resolving boostorg.jfrog.io (boostorg.jfrog.io)... 34.211.121.239, 54.189.250.86, 52.40.5.152, ...
Connecting to boostorg.jfrog.io (boostorg.jfrog.io)|34.211.121.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://jfrog-prod-usw2-shared-oregon-main.s3.amazonaws.com/aol-boostorg/filestore/68/68be4a43b73c66370c8d3fd94723b3913217ce1b?X-Artifactory-username=anonymous&X-Artifactory-repositoryKey=main&X-Artifactory-artifactPath=release%2F1.75.0%2Fsource%2Fboost_1_75_0.tar.gz&X-Artifactory-projectKey=default&x-jf-traceId=78bc8128fa9857a2&response-content-disposition=attachment%3Bfilename%3D%22boost_1_75_0.tar.gz%22&response-content-type=application%2Fx-gzip&X-Amz-Security-Token=IQoJb3JpZ2luX2VjENT%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLXdlc3QtMiJGMEQCIDNsJ6mm3ED2qEBKXXogmKqSUgCqmDiHytrUp5fRakRrAiBBzsixGsd2akUqjqrrWzgMe8Hx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vg4DlafPyr7K3dDS7S5LU6Im2VZZp0siN5I4RTx4SezK9xMffluU9XsDp9RylolhWb7Gq6e71ZOslcSwPaBNLt7KRbSq%2Fpqk6cbSLhwI%2BGf%2FafhQ%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230322T034750Z&X-Amz-SignedHeaders=host&X-Amz-Expires=60&X-Amz-Credential=ASIASG3IHPL6UQV3T6HY%2F20230322%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Signature=f3589f0642bc1a1df364baaf54956b3df111ef51902673b92a6a4ac3e9ebe043 [following]
--2023-03-22 11:47:50-- https://jfrog-prod-usw2-shared-oregon-main.s3.amazonaws.com/aol-boostorg/filestore/68/68be4a43b73c66370c8d3fd94723b3913217ce1b?X-Artifactory-username=anonymous&X-Artifactory-repositoryKey=main&X-Artifactory-artifactPath=release%2F1.75.0%2Fsource%2Fboost_1_75_0.tar.gz&X-Artifactory-projectKey=default&x-jf-traceId=78bc8128fa9857a2&response-content-disposition=attachment%3Bfilename%3D%22boost_1_75_0.tar.gz%22&response-content-type=application%2Fx-gzip&X-Amz-Security-Token=IQoJb3JpZ2luX2VjENT%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLXdlc3QtMiJGMEQCIDNsJ6mm3ED2qEBKXXogmKqSUgCqmDiHytrUp5fRakRrAiBBzsixGsd2akUqjqrrWzgMe8HxdEP1LIAAoPsz8AXLTSqPBQid%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAAaDDE1MjE1MzA2MjE0MSIMtL8rAWkfo90CvBSaKuMEzSfcNizP9ia5lyp%2BY%2FpmQyRtUe8i%2BPMNHxt1qeXLxlPDNDAdqNH64C5PGZ%2BoDYu1Y2ofhzbgf%2BjMA3pq1MalfvnJ33rVOrngAhwdSKROzg6qWIz3KtMc9vPpGyT1MjBVAZ9nnn9%2F2BpI99rNPobAX0jci6la4k9GDYrl%2FadSvR1VsW977fwlIGvfzm%2FjQih2RrSArGIHLMXmMSO4n61FxVvO6IoYJsks5cRf53dpJR0PbO2hN9tWidlTapcV00P0F2mMBnZK1dTFwicUjw4lHOf2mFVlFaV2%2FhbWgQV6ap0Xe3tCnCyhZR0GJWGDwOweGyf2oN8eX9Wg5kEDuFpw3TcnaqJ11Y%2B9Rrel%2F1NA8oRTGVGgQL5Ztcn5o7gexSi4LQWnWXaYRUFlUrmm7ovM04afpPiHscmjL1lqqn7p3ncFFRmluT91pX5nLE2cRjeZvyFcwiaeywrNfFM0azeg52aZNfdj2UfHV3PghQcxmi9oEO39FYHPFmVLVqDTurKrg3nWa%2FLAAuSQmW3AeO9zBjQvj7f21Sl%2BIGEgkgRYIKKla4iXVYPFSb4RtF9g%2BfdvBk1%2FhK%2BG6V%2BNW0j4vxeYrtyokIX4TJFBI6VdoM19AsHFPi6D4HJRhVzCOQAjFq1TgleBkt49J%2FPCT1a1BT8IBE8k%2BYownnvrtqOMZsi9qYWinypQBykqS0BztRmi6cUvNcUiEtyrUauSoVTYJJj4nj38nCh%2F7%2FO69x5SSCd3HOVaetg4a%2Br9w8Zwb9K8HRPTzTEHFjJ0GIea9GeqYViXY1MUSBgpUDj7PJI00AFq22%2FK8lQw9%2B7poAY6mwFSw6jCZhWYDjTNq%2F8XDXNmwdqaOSwjg%2FOasApDbXfv3cHi32kMFQYWGkd%2FmsupakPqJd1Y47uzn6c5YiZ8yb6s2IMCtjlxICvg4DlafPyr7K3dDS7S5LU6Im2VZZp0siN5I4RTx4SezK9xMffluU9XsDp9RylolhWb7Gq6e71ZOslcSwPaBNLt7KRbSq%2Fpqk6cbSLhwI%2BGf%2FafhQ%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230322T034750Z&X-Amz-SignedHeaders=host&X-Amz-Expires=60&X-Amz-Credential=ASIASG3IHPL6UQV3T6HY%2F20230322%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Signature=f3589f0642bc1a1df364baaf54956b3df111ef51902673b92a6a4ac3e9ebe043
Resolving jfrog-prod-usw2-shared-oregon-main.s3.amazonaws.com (jfrog-prod-usw2-shared-oregon-main.s3.amazonaws.com)... 52.92.136.225, 52.92.165.97, 52.92.209.41, ...
Connecting to jfrog-prod-usw2-shared-oregon-main.s3.amazonaws.com (jfrog-prod-usw2-shared-oregon-main.s3.amazonaws.com)|52.92.136.225|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 143817536 (137M) [application/x-gzip]
Saving to: ‘boost_1_75_0.tar.gz’
boost_1_75_0.tar.gz 100%[=====================================================================================================================================================================================================>] 137.15M 13.2MB/s in 12s
2023-03-22 11:48:03 (11.2 MB/s) - ‘boost_1_75_0.tar.gz’ saved [143817536/143817536]
[root@localhost ~]# sha256sum boost_1_75_0.tar.gz
aeb26f80e80945e82ee93e5939baebdca47b9dee80a07d3144be1e1a6a66dd6a boost_1_75_0.tar.gz
But in Arrow 11’s code it uses 267e04a7c0bfe85daf796dedc789c3a27a76707e1c968f0a2a87bb96331e2b61
. Why?
Component(s)
C++
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 15 (11 by maintainers)
Same issue is happening again, almost exactly one year after the original bug was filed. That’s a strangely precise, but unclear if it’s a coincidence. Perhaps a certificate expiration or similar?
@shaharv Could you open a new issue for it? It’s not related to this.
Installation of R package fails, too: https://gitlab.b-data.ch/r/tidyverse/-/pipelines/17678.
Steps to reproduce
On a machine with docker:
In the container:
👉 Logfile.txt
Crucial part:
Download locations:
(
8c7cee4bed8b23faf8a60e682a03655ad28c80fabd5d4004176d756f0120e101
is the checksum of the JFrog landing page…)FYI @eitsupi
We can’t change the sha in the 11.0.0 release but you can just install boost on the system you are building on and instruct cmake to use that instead of building from source (
-DBoost_SOURCE=SYSTEM
). That should be a workaround for this issue.