-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error installing boost Verification checksum was incorrect #843
Comments
Facing the same issue on M1 machine |
move to node_modules/react-native/third-party-podspecs. Maybe jfrog close their server |
I have the same issue with React Native 0.72.7 Error installing boost |
Just replace 83 with 76 and 6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e with f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41
|
Changing the checksum without knowing what happened isn’t a good solution. The checksum ensures the integrity and authenticity of your downloaded file, protecting against corrupted, incomplete, or maliciously altered files. So there’s a reason why they use checksums and it's up to you all if you want to skip it 😅 |
We are not changing the checksum. Original link is broken, just replacing it with sourceforge link. |
Ok, created a simple patch for this for RN 0.73.1, but everyone could do this
change # Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
Pod::Spec.new do |spec|
spec.name = 'boost'
spec.version = '1.83.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.83.0/source/boost_1_83_0.tar.bz2',
:sha256 => '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e' }
# Pinning to the same version as React.podspec.
spec.platforms = min_supported_versions
spec.requires_arc = false
spec.module_name = 'boost'
spec.header_dir = 'boost'
spec.preserve_path = 'boost'
end to # Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
Pod::Spec.new do |spec|
spec.name = 'boost'
spec.version = '1.83.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'
# Patched due to issue https://github.com/boostorg/boost/issues/843
spec.source = { :http => 'https://sourceforge.net/projects/boost/files/boost/1.83.0/boost_1_83_0.tar.bz2',
:sha256 => '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e' }
# Pinning to the same version as React.podspec.
spec.platforms = min_supported_versions
spec.requires_arc = false
spec.module_name = 'boost'
spec.header_dir = 'boost'
spec.preserve_path = 'boost'
end
|
facing the same issue with react-native 0.68.1. |
Yes:
|
@wswebcreation since we are not pushing node_modules, is there any other ways to overcome this. this issue interrupts our CI as well. |
You are not creating a new module, you are creating a patch in your project that will be installed when you do the The steps mentioned above create the patch, here's how it looks like in my case |
What about for build systems like AppCenter, where node_modules are created at build time? |
Doesn't work. It just hangs "installing boost (1.76.0)" # Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
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://sourceforge.net/projects/boost/files/boost/1.76.0/boost_1_76_0.tar.bz2',
:sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
# Pinning to the same version as React.podspec.
spec.platforms = { :ios => '11.0' }
spec.requires_arc = false
spec.module_name = 'boost'
spec.header_dir = 'boost'
spec.preserve_path = 'boost'
end |
What do you mean? |
Sorry, can't help with that |
Try running with |
When AppCenter does a build, it generates does an |
Huh, looks like it is downloading. Just really slow. Thanks for the tip. |
@wswebcreation Thanks this works for me. |
Try creating patch on your local computer and upload generated patch then modify package.json file to apply patches. This should work. |
The jfrog.io account is currently disabled; see boostorg/boost#843
Who else is facing incredible slowness in jFrog? it took almost 45 minutes to install boost |
same here |
Follow these steps to create a patch. #843 (comment) Now when running yarn install the patch will be applied in the App Center. |
Implemented the changes suggested as Suggested above, but it really didn't solve the problem. Made a patch of it, it doesn't solve the upstream problem, but crashes the pod install, somehow.
|
Hi @gregoripolak , The url is now: https://archives.boost.io/ JFrog was donating bandwidth. After years, they have requested we switch to another service, to mitigate costs. |
The official URL is still jfrog here: https://www.boost.org/users/download/ The URL that was changed to https://archives.boost.io/ the last time this happened, now changed back to jfrog edited for clarity: |
@userdocs very interesting! Previous versions (1.86.0 etc) switched to the new download link. This needs to be fixed. |
@sdarwin yeah, I rephrased my comment The download page itself does not link to https://archives.boost.io/ nor the newer github latest assets. That info could avoid non packaged boost related issues when jfrog shutdown last night. |
Thank you this is work for me: [root]/node_modules/react-native/third-party-podspecs/boost.podspec line: 13 |
Any chance you could get JFrog to do a DNS forward to the new location? That should be pretty cheap and would keep many things working. |
ok, so why on local |
Because you have the package cached and is not required to re-download. CI is probably uncached |
My patch file loosk like:
into patches/[email protected] (or your own version) |
is there another solution instead of the |
Thanks for the fix! Anyone using 'App Center', follow these steps: Commit the file 'patches/react-native+0.72.6.patch' to your branch and let 'App Center' do the work. Just to be sure, after running 'yarn install' or 'npm i' locally, verify that you’ve got this applied. |
Could someone explain to me how this error appears out of nowhere? It seems that no one on my team is experiencing this issue. |
Great.
The boost download was hosted on JFrog until December 31, 2024 when the service ended. Therefore the problem "appeared out of nowhere" on Jan 1, 2025. Although not completely out of nowhere. the switch was announced in the mailing list, in github issues, and boost.org has pointed to the new download links for 6 months. |
for anyone else having issues still i stumbled onto easier fix for Podfile vs patch-package approach might be worth trying if not able to upgrade yet |
JFrog is no longer offering webspace to Boost. They used to do this, but this is costing them a lot. Boost now offers their own in-house URL to download archives. See: - boostorg/boost#843 (comment) - boostorg/website#900 P.S. while this isn't breaking for the builds, as this is cached. This can result in breaking builds later, if the Dockerfile were to change.
JFrog is no longer offering webspace to Boost. They used to do this, but this is costing them a lot. Boost now offers their own in-house URL to download archives. See: - boostorg/boost#843 (comment) - boostorg/website#900 P.S. while this isn't breaking for the builds, as this is cached. This can result in breaking builds later, if the Dockerfile were to change.
JFrog is no longer used by Boost, as they were donating space and bandwidth. This have become too much of a cost. See: - boostorg/boost#843 (comment) - boostorg/website#900
Fixed
|
Errors
In my case updating the version didn't work. it throw an error
By trying to understand the error it quite obviously the checksum doesn't match and even if I force it to match it throws another error Solutionuse a patch and change the url of the boost file. It looks someone updated the frog link somehow not sure but even forcing to the actual checksum it still throws error like file is not correct format so go here https://www.boost.org/users/history/ where you can find all the version. find the one you need and check the checksum in my case this was the file link and this was the checksum and interesting is the checksum did match with the legacy one I got initially from react native just paste the link instead of the frog one and it works! |
I'm developing a Mobile app with React Native (0.73.1) and for building the app I need to install the pods. The pods contains installing boos, see this file.
I get the following error
When I check this site I see the checksum should be
6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e
When I do this on my Mac
curl -sL https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2 | shasum -a 256 5e89103d9b70bba5c91a794126b169cb67654be2051f90cf7c22ba6893ede0ff -
I get a different checksum
Please let me know what I need to provide more to debug this
The text was updated successfully, but these errors were encountered: