Repository navigation
Pod install error verification checksum was incorrect at boost (1.83.0) #42109
Description
Activity
- addedNeeds: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.
on Dec 31, 2023 ⚠️ Missing Reproducible Example ℹ️ We could not detect a reproducible example in your issue report. Please provide either: - If your bug is UI related: a Snack
- If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.
Having the same issue
+1
same issue. started tonight
The issue seems to be on jfrog.io, the download links are dead https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz
It seems to be the only mirror according to:
https://www.boost.org/users/history/version_1_76_0.htmlThe issue seems to be on jfrog.io, the download links are dead https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz
It seems to be the only mirror according to: https://www.boost.org/users/history/version_1_76_0.html
And even there links dont work, rederecting to dead site
We found a temporary solution until the issue is resolved
move to
node_modules/react-native/third-party-podspecs/boost.podspecspec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2', :sha256 => '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e' }change to
spec.source = { :http => 'https://sourceforge.net/projects/boost/files/boost/1.83.0/boost_1_83_0.tar.bz2', :sha256 => '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e' }Reacted by Intan Nuraini, Tonismar Régis Bernardo, waves, Qiuzhuang Lian, Donatas, zh, Shotaro and Bayu PermanaReacted by InquestApp-Admin, Luke Gordon, James Perrett, ombogdan, Jimmy DJABALI, wacker-xrex, Abdy Malik Mulky, Jonathanide1, Ben, Osvaldo Ulises Larrea and 6 moreReacted by Ngo Dang Truong, DONGYEONG, Nicolas Cavallin, Arthur, Daniel Antonio, Caleb Han, teetee6, barghi, Sobhan Bera, Firzan Armani and 12 moreI solved it with this.
@cortinico do you plan to fix it so we would not need to patch it? Any ETA?
I solved it with this.
Same issue.
same issue
same issue
44 remaining items
Also having the issue (running
react-native@0.72.4)The same case.
Happy New Year You All Guys!
Reacted by Donatas, Louis Lecocq, Carlos Vieira and daman-talkshopliveReacted by Donatas, Oleg Derecha, Carlos Vieira and daman-talkshoplive- Facing the same issue... Running on React native 0.72.8, Boost 1.76.0
Error installing boost
Verification checksum was incorrect, expected f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41, got 5e89103d9b70bba5c91a794126b169cb67654be2051f90cf7c22ba6893ede0ffReacted by Sirui Li and Louis LecocqSame issue as @prateekuttreja2020 . Running on React Native 0.70. Boost 1.76.0
same issue, react native v. 0.72.6 - only happens in the CI/CD pipeline though..
Same issue with me but why this issue is closed ?
Same error here. (0.71.6)
Hi everyone. We are extremely sorry for the disruption. As I mention already, we don't own the service where Boost is hosted, so this is not a part of our infra where we can intervene directly.
We are working on a solution to avoid this problem in the future, so bear with us for now.
From your reports, I can see that the version affected are:- 0.70
- 0.71
- 0.72
- 0.73
Please bear in mind that 0.70 is not supported anymore. We might consider to make a new release for the sake of this change, but that's still up for discussion.
Please, stop adding comment like "+1" or "I'm affected too", because this just adds noise to the issue and doesn't make us work faster.
@prashantkamboj the issue is closed because the exact same incident happened around New Year's Eve and then the infra recovered the 1st of January, so we closed the issue.
Now, a week after, it is presenting again.Workaround
To unblock yourself, you can apply the changes highlighted by this PR: https://github.com/facebook/react-native/pull/42118/files
For 0.72 and 0.73, these changes should be straight forward, as they are already in the monorepo setup, so the files path matches with the one of the PR.
For 0.70 and 0.71, we are not in the monorepo. To get the right path, remove the
package/react-nativefrom the two files paths.
So, the paths are:- For the
build.gradle.kts:<your_project>/node_modules/react-native/ReactAndroid/build.gradle.kts - For the
boost.podspec:<your_project>/node_modules/react-native/third-party-podspecs/boost.podspec
Reacted by Carlos Vieira, Filippo Mantovan, Maxime BARRY, Ngoc Le, Krystof Woldrich, melvin-qte, Gustavo Olmedo, Lorenzo Sciandra, Hur Ali, Leon Horlings and 7 morefor those with boost@1.76
spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.gz', :sha256 => '7bd7ddceec1a1dfdcbdb3e609b60d01739c38390a5f956385a12f3122049f0ca' }Quick way to find out: download the file and run
sha256sum <filename>Reacted by Ahmad Waqarfor those with boost@1.76
spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.gz', :sha256 => '7bd7ddceec1a1dfdcbdb3e609b60d01739c38390a5f956385a12f3122049f0ca' }Quick way to find out: download the file and run
sha256sum <filename>Excellent! The temporary solution, as mentioned by others earlier, is effective. However, the issue is that we need to apply this solution every time we install fresh packages. Even creating a patch for these changes doesn't work seamlessly. I'm still in search of a permanent fix.
Reacted by Ahmad WaqarHi!
React V. 0.70.5 question. Im a bit unsure what to do as remove "package/react-native" from the path..../node_modules/react-native/ReactAndroid/build.gradle has
src("https://archives.boost.io/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz") onlyIfNewer(true) overwrite(false) dest(new File(downloadsDir, "boost_${BOOST_VERSION}.tar.gz"))And .../node_modules/react-native/third-party-podspecs
spec.name = 'boost' spec.version = '1.76.0' spec.license = { :type => 'Boost Software License', :file => "LICENSE_1_0.txt" } spec.homepage = 'http://www.boost.org' spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.' spec.authors = 'Rene Rivera' spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2', :sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41'}I am unsure what to change like @cipolleschi mentioned.
Could somebody point me on what to change as issue is critical for me at the moment.
Hi! React V. 0.70.5 question. Im a bit unsure what to do as remove "package/react-native" from the path.
.../node_modules/react-native/ReactAndroid/build.gradle has
task downloadBoost(dependsOn: createNativeDepsDirectories, type: Download) { src("https://archives.boost.io/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz") onlyIfNewer(true) overwrite(false) dest(new File(downloadsDir, "boost_${BOOST_VERSION}.tar.gz")) }And .../node_modules/react-native/third-party-podspecs
Pod::Spec.new do |spec| spec.name = 'boost' spec.version = '1.76.0' spec.license = { :type => 'Boost Software License', :file => "LICENSE_1_0.txt" } spec.homepage = 'http://www.boost.org' spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.' spec.authors = 'Rene Rivera' spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2', :sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }I am unsure what to change like @cipolleschi mentioned.
Could somebody point me on what to change as issue is critical for me at the moment.
You could check this. Maybe it helps
Could somebody point me on what to change as issue is critical for me at the moment.
i guess you need to do the patch package by changing the source url
We have an official workaround and a pinned issue: #42180.
I'm locking this conversation.- locked and limited conversation to collaborators
on Jan 8, 2024
Description
[!] Error installing boost
Verification checksum was incorrect, expected 6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e, got 5e89103d9b70bba5c91a794126b169cb67654be2051f90cf7c22ba6893ede0ff
Steps to reproduce
React Native Version
0.73.1
Affected Platforms
Build - MacOS
Output of
npx react-native infoStacktrace or Logs
Reproducer
none
Screenshots and Videos
No response