-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[package] boost/1.71.0: sha256 signature failed #26397
Comments
Hi @ebassi00 - thank you for opening this issue Could you paste the output of
to double check which URL is being accessed and whether there are mirrors configured? thanks |
Hi @jcar87, thank you for the reply, that's the output for the given command: `patches:
|
Thanks ! The issue is that the sources at https://boostorg.jfrog.io are no longer there - the sha256 is because those URLs now respond with an error page (rather than say, a 404) We have recently amended the sources #26314 but only for versions 1.79 and onwards - however, all versions since 1.72 have a second fallback URL that should be attempted if the first one fails conan-center-index/recipes/boost/all/conandata.yml Lines 72 to 79 in 861d3ab
unfortunately, it doesn't look like this fallback URL ever extended to You have a few options:
If you do have your own Artifactory and you have a requirement of not accessing the external internet, I would strongly recommend setting up a source backups local to your artifactory, and configuring your Conan client to use that instead |
@jcar87 thank you a lot for your time, that should be it! |
Description
Hi everyone,
I'm trying to download boost/1.71.0 from my artifactory (only accessible via a private network which can't go outside the internet). I already have it in repo but, when I download it from conanfile (along with others packages ), I get SSL Certificate error (basically telling me it's trying to download the relative bzip2 package but can't access the URL where the package is because I can't go outside), which suggests that the uploaded version in my artifactory is somehow not compatible with this distribution.
Then i thought to manually download boost from conancenter (connecting to a free network that can go outside) but, as soon as I download it (successfully) and try again to install the other dependencies from my conanfile, it gives me sha256 signature failed error:
boost/1.71.0: Calling source() in /root/.conan2/p/boosta84c6dca88e65/s/src ERROR: boost/1.71.0: Error in source() method, line 845 get(self, **self.conan_data["sources"][self.version], ConanException: sha256 signature failed for 'boost_1_71_0.tar.bz2' file. Provided signature: d73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee Computed signature: 79e6d3f986444e5a80afbeccdaf2d1c1cf964baa8d766d20859d653a16c39848
Package and Environment Details
Conan profile
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
Steps to reproduce
conan download boost/1.71.0 -r conancenter
conan install . -b missing --ouptut-folder=build -r artifactory
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: