[package] libjpeg/9d: Can't build on windows (hash mismatch)
See original GitHub issueDescription
Whenever I try to build libjpeg on windows I get an error about a failed sha256 signature for ‘jpehsrc.v9d.tar.gz’ file.
Package and Environment Details
- Package Name/Version: libjpeg/9d
- Operating System+version: Windows 10
- Compiler+version: Visual Studio 16 2019
- Conan version: conan 1.53.0
- Python version: Python 3.9.5
Conan profile
[settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.cppstd=17 compiler.runtime=MD compiler.version=16 os=Windows os_build=Windows [options] *:fPIC=True [build_requires] [env]
Steps to reproduce
conan install libjpeg/9d@ -s build_type=Release -r conancenter --build libjpeg
Logs
Click to expand log
> conan install libjpeg/9d@ -s build_type=Release -r conancenter --build libjpeg -pr release
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.cppstd=17
compiler.runtime=MD
compiler.version=16
os=Windows
os_build=Windows
[options]
*:fPIC=True
[build_requires]
[env]
libjpeg/9d: Forced build from source
Installing package: libjpeg/9d
Requirements
libjpeg/9d from 'artifactory' - Cache
Packages
libjpeg/9d:3fb49604f9c2f729b85ba3115852006824e72cab - Build
Installing (downloading, building) binaries...
libjpeg/9d: WARN: Trying to remove corrupted source folder
libjpeg/9d: WARN: This can take a while for big packages
libjpeg/9d: Configuring sources in C:\Users\saphi\.conan\data\libjpeg\9d\_\_\source
Downloading jpegsrc.v9d.tar.gz completed [1006.75k]
ERROR: libjpeg/9d: Error in source() method, line 41
tools.get(**self.conan_data["sources"][self.version])
ConanException: sha256 signature failed for 'jpegsrc.v9d.tar.gz' file.
Provided signature: 6c434a3be59f8f62425b2e3c077e785c9ce30ee5874ea1c270e843f273ba71ee
Computed signature: 2303a6acfb6cc533e0e86e8a9d29f7e6079e118b9de3f96e07a71a11c082fa6a
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
[package] libjpeg/9d: wrong SHA256 checksum #4151 - GitHub
Ich checked the source repository on the website, downloaded the archive file and generated the hash. Indeed the result changed! Is this maybe...
Read more >SFC: Cannot Repair......Hash Mismatch - Microsoft Community
Hi, This is incorrect, if SFC is saying there is a Hash Mismatch it means that the file is corrupt, it doesn't mean...
Read more >Error installing OpenCV using BUILD_ALL: field of class type ...
I have been trying to install OpenCV using source files, Cmake (gui) and Visual Studio on Windows and am encountering a few problems....
Read more >Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. It is automatically generated based on the packages in this Spack version....
Read more >The Buildroot user manual
Config files; 18.3. The .mk file; 18.4. The .hash file; 18.5. The SNNfoo start script; 18.6. Infrastructure for packages with specific build systems;...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Okay, I got an answer from the official contact:
So it’s safe to update the checksum in conandata.yml
Again? It’s not the first time they change checksum of their tarball. What a mess.