conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
972 stars 1.78k forks source link

[package] zlib/1.2.13: sha256 signature failed on Windows 2022 (Github runner) #15325

Open sburton84 opened 1 year ago

sburton84 commented 1 year ago

Description

May be related to https://github.com/conan-io/conan-center-index/issues/11841. Our CI is getting a lot of the following errors when building things that depend on zlib:

Downloading conan_sources.tgz
zlib/1.2.13: Configuring sources in C:\Users\runneradmin\.conan\data\zlib\1.2.13\_\_\source\src
ERROR: zlib/1.2.13: Error in source() method, line 51
    get(self, **self.conan_data["sources"][self.version],
    ConanException: sha256 signature failed for 'zlib-1.2.13.tar.gz' file. 
 Provided signature: b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30  
 Computed signature: 6d4b0a291283ec2f9a21799122bc4caf3b546006b54ec7b58b7439dafb3638c8

These are intermittent errors, so rerunning the steps a few times eventually gets them to succeed. We only see these errors on the Windows builds, we have Linux builds as well which never receive this error, which is strange since the source package being downloaded does not appear to be Windows-specific.

Package and Environment Details

Conan profile

I can't easily run conan profile show default on the Github CI runner but this is the config output from one of the build commands:

Configuration (profile_host):
[settings]
arch=x86_64
arch_build=x86_64
build_type=Debug
compiler=Visual Studio
compiler.runtime=MDd
compiler.version=17
os=Windows
os_build=Windows
[options]
libcurl:with_ssl=schannel
[build_requires]
[env]

Steps to reproduce

conan install .. -s build_type=${{ matrix.build_type }} -pr:b=default -pr:h=default --build=missing --update -o:h libcurl:with_ssl=${{ matrix.with_ssl }}

Logs

Click to expand log (some build output removed due to character limit) ``` Configuration (profile_host): [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MDd compiler.version=17 os=Windows os_build=Windows [options] enable_fm=False use_cobra=False libcurl:with_ssl=schannel [build_requires] [env] Configuration (profile_build): [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=17 os=Windows os_build=Windows [options] [build_requires] [env] boost/1.81.0: Not found in local cache, looking in remotes... boost/1.81.0: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz boost/1.81.0: Downloaded recipe revision 0aca3d1f3a8d8b2f46886c7c26da599d zlib/1.2.13: Not found in local cache, looking in remotes... zlib/1.2.13: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.13: Downloaded recipe revision 13c96f538b52e1600c40b88994de240f bzip2/1.0.8: Not found in local cache, looking in remotes... bzip2/1.0.8: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz bzip2/1.0.8: Downloaded recipe revision 464be69744fa6d48ed01928cfe470008 botan/2.19.3: Not found in local cache, looking in remotes... botan/2.19.3: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz botan/2.19.3: Downloaded recipe revision 8a2cae2f6e7232f116d384c8aa221875 cli11/2.3.2: Not found in local cache, looking in remotes... cli11/2.3.2: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz cli11/2.3.2: Downloaded recipe revision 8ccdf14fb1ad53532d498c16ae580b4b cppcodec/0.2: Not found in local cache, looking in remotes... cppcodec/0.2: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz cppcodec/0.2: Downloaded recipe revision 1bcfe6df5a5f09e5f877f18d681dcd17 fmt/9.1.0: Not found in local cache, looking in remotes... fmt/9.1.0: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz fmt/9.1.0: Downloaded recipe revision 811e918ca4b4e0b9ddd6d5a2883efa82 gtest/1.12.1: Not found in local cache, looking in remotes... gtest/1.12.1: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz gtest/1.12.1: Downloaded recipe revision 43277155c631b245cd49ef6a07281989 mbedtls/3.2.1: Not found in local cache, looking in remotes... mbedtls/3.2.1: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz mbedtls/3.2.1: Downloaded recipe revision ef1b7b412b77109557aeff658aaf6f03 spdlog/1.11.0: Not found in local cache, looking in remotes... spdlog/1.11.0: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz spdlog/1.11.0: Downloaded recipe revision 1e0f4eb6338d05e4bd6fcc6bf4734172 sqlitecpp/3.2.1: Not found in local cache, looking in remotes... sqlitecpp/3.2.1: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz sqlitecpp/3.2.1: Downloaded recipe revision cd4d77bb249f41acb25fc189e92cabe7 sqlite3/3.40.0: Not found in local cache, looking in remotes... sqlite3/3.40.0: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz sqlite3/3.40.0: Downloaded recipe revision 00595463c6f423c2929b63911fc9393c yaml-cpp/0.7.0: Not found in local cache, looking in remotes... yaml-cpp/0.7.0: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz yaml-cpp/0.7.0: Downloaded recipe revision 59c4415f9012cc5774a768a5e0b879eb qo_common/0.9@quantinuum/main: Not found in local cache, looking in remotes... qo_common/0.9@quantinuum/main: Trying with 'conancenter'... qo_common/0.9@quantinuum/main: Trying with 'artifactory'... Downloading conanmanifest.txt Downloading conanfile.py qo_common/0.9@quantinuum/main: Downloaded recipe revision d51f2b143c501c052d066db1d934bb6f WARN: qo_common/0.9@quantinuum/main: requirement cppcodec/[^0.2] overridden by functionality-module/2.2.0 to cppcodec/0.2 WARN: qo_common/0.9@quantinuum/main: requirement fmt/[^9.1.0] overridden by functionality-module/2.2.0 to fmt/9.1.0 WARN: qo_common/0.9@quantinuum/main: requirement gtest/[^1.12.1] overridden by functionality-module/2.2.0 to gtest/1.12.1 WARN: qo_common/0.9@quantinuum/main: requirement libcurl/[^7.86.0] overridden by functionality-module/2.2.0 to libcurl/7.87.0 WARN: qo_common/0.9@quantinuum/main: requirement spdlog/[^1.11.0] overridden by functionality-module/2.2.0 to spdlog/1.11.0 libcurl/7.87.0: Not found in local cache, looking in remotes... libcurl/7.87.0: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libcurl/7.87.0: Downloaded recipe revision 49aef207be78c7c727bd54624307d590 c-ares/1.18.1: Not found in local cache, looking in remotes... c-ares/1.18.1: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz c-ares/1.18.1: Downloaded recipe revision c88bae59343c20f4baaff0301f9205f2 magic_enum/0.8.2: Not found in local cache, looking in remotes... magic_enum/0.8.2: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz magic_enum/0.8.2: Downloaded recipe revision 5eae561127e141d2cb07c91167d17dfe nlohmann_json/3.11.2: Not found in local cache, looking in remotes... nlohmann_json/3.11.2: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz nlohmann_json/3.11.2: Downloaded recipe revision a35423bb6e1eb8f931423557e282c7ed b2/4.9.3: Not found in local cache, looking in remotes... b2/4.9.3: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz b2/4.9.3: Downloaded recipe revision c721ad9d71f6b114ed03a94887c973b6 Version ranges solved boost/* versions found in 'conancenter' remote Version range '^1.80.0' required by 'conanfile.py (functionality-module/2.2.0)' resolved to 'boost/1.81.0' in remote 'conancenter' botan/* versions found in 'conancenter' remote Version range '^2.19.2' required by 'conanfile.py (functionality-module/2.2.0)' resolved to 'botan/2.19.3' in remote 'conancenter' cli11/* versions found in 'conancenter' remote Version range '^2.2.0' required by 'conanfile.py (functionality-module/2.2.0)' resolved to 'cli11/2.3.2' in remote 'conancenter' cppcodec/* versions found in 'conancenter' remote Version range '^0.2' required by 'conanfile.py (functionality-module/2.2.0)' resolved to 'cppcodec/0.2' in remote 'conancenter' fmt/* versions found in 'conancenter' remote Version range '^9.1.0' required by 'conanfile.py (functionality-module/2.2.0)' resolved to 'fmt/9.1.0' in remote 'conancenter' gtest/* versions found in 'conancenter' remote WARN: Version 'cci.20210126' is not semver, cannot be compared with a range Version range '^1.12.1' required by 'conanfile.py (functionality-module/2.2.0)' resolved to 'gtest/1.12.1' in remote 'conancenter' mbedtls/* versions found in 'conancenter' remote Version range '^3.2.1' required by 'conanfile.py (functionality-module/2.2.0)' resolved to 'mbedtls/3.2.1' in remote 'conancenter' spdlog/* versions found in 'conancenter' remote Version range '^1.10.0' required by 'conanfile.py (functionality-module/2.2.0)' resolved to 'spdlog/1.11.0' in remote 'conancenter' sqlitecpp/* versions found in 'conancenter' remote Version range '^3.2.0' required by 'conanfile.py (functionality-module/2.2.0)' resolved to 'sqlitecpp/3.2.1' in remote 'conancenter' yaml-cpp/* versions found in 'conancenter' remote Version range '^0.7.0' required by 'conanfile.py (functionality-module/2.2.0)' resolved to 'yaml-cpp/0.7.0' in remote 'conancenter' qo_common/*@quantinuum/main versions found in 'artifactory' remote Version range '^0.9' required by 'conanfile.py (functionality-module/2.2.0)' resolved to 'qo_common/0.9@quantinuum/main' in remote 'artifactory' libcurl/* versions found in 'conancenter' remote Version range '^7.86.0' required by 'conanfile.py (functionality-module/2.2.0)' resolved to 'libcurl/7.87.0' in remote 'conancenter' Version range '^0.2' required by 'qo_common/0.9@quantinuum/main' valid for downstream requirement 'cppcodec/0.2' Version range '^9.1.0' required by 'qo_common/0.9@quantinuum/main' valid for downstream requirement 'fmt/9.1.0' Version range '^1.12.1' required by 'qo_common/0.9@quantinuum/main' valid for downstream requirement 'gtest/1.12.1' Version range '^7.86.0' required by 'qo_common/0.9@quantinuum/main' valid for downstream requirement 'libcurl/7.87.0' magic_enum/* versions found in 'conancenter' remote Version range '^0.8.2' required by 'qo_common/0.9@quantinuum/main' resolved to 'magic_enum/0.8.2' in remote 'conancenter' nlohmann_json/* versions found in 'conancenter' remote Version range '^3.11.2' required by 'qo_common/0.9@quantinuum/main' resolved to 'nlohmann_json/3.11.2' in remote 'conancenter' Version range '^1.11.0' required by 'qo_common/0.9@quantinuum/main' valid for downstream requirement 'spdlog/1.11.0' conanfile.py (functionality-module/2.2.0): Installing package Requirements boost/1.81.0 from 'conancenter' - Downloaded botan/2.19.3 from 'conancenter' - Downloaded bzip2/1.0.8 from 'conancenter' - Downloaded c-ares/1.18.1 from 'conancenter' - Downloaded cli11/2.3.2 from 'conancenter' - Downloaded cppcodec/0.2 from 'conancenter' - Downloaded fmt/9.1.0 from 'conancenter' - Downloaded gtest/1.12.1 from 'conancenter' - Downloaded libcurl/7.87.0 from 'conancenter' - Downloaded magic_enum/0.8.2 from 'conancenter' - Downloaded mbedtls/3.2.1 from 'conancenter' - Downloaded nlohmann_json/3.11.2 from 'conancenter' - Downloaded qo_common/0.9@quantinuum/main from 'artifactory' - Downloaded spdlog/1.11.0 from 'conancenter' - Downloaded sqlite3/3.40.0 from 'conancenter' - Downloaded sqlitecpp/3.2.1 from 'conancenter' - Downloaded yaml-cpp/0.7.0 from 'conancenter' - Downloaded zlib/1.2.13 from 'conancenter' - Downloaded Packages boost/1.81.0:c16d614bb966cd4b029ded7ef4fdc14b694dd24c - Build botan/2.19.3:bba469bbdc248d7139ac6dfdccebd3fdc819aced - Build bzip2/1.0.8:d74f69022acf854c1ce6f27efa07ccbb6504e4b1 - Build c-ares/1.18.1:1c54d4c95d5eabc2f165e2921683e7e0ae946eff - Build cli11/2.3.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download cppcodec/0.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download fmt/9.1.0:2c52a23dc25833dd4323e8144302393f0061b96b - Build gtest/1.12.1:c90356447c271a780b4d6eb892b871cb78d8df35 - Build libcurl/7.87.0:b6752cc63a1113e8d1683362c4ab8c984374bc1d - Build magic_enum/0.8.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download mbedtls/3.2.1:164640aad040835ac89882393a96d89200694f04 - Build nlohmann_json/3.11.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download qo_common/0.9@quantinuum/main:7f06604753b6e1a1afdcf16ddf50519d129318ba - Build spdlog/1.11.0:80ba5fa094e2c380295741ebe5ab58dc37ba6887 - Build sqlite3/3.40.0:53a0c927fe06bb08bbc43f2e832285d78e41278e - Build sqlitecpp/3.2.1:1860487b79e948f1d9f526a706a6bb915e85795e - Build yaml-cpp/0.7.0:164640aad040835ac89882393a96d89200694f04 - Build zlib/1.2.13:164640aad040835ac89882393a96d89200694f04 - Build Build requirements b2/4.9.3 from 'conancenter' - Downloaded Build requirements packages b2/4.9.3:ca33edce272a279b24f87dc0d4cf5bbdcffbc187 - Download Installing (downloading, building) binaries... b2/4.9.3: Retrieving package ca33edce272a279b24f87dc0d4cf5bbdcffbc187 from remote 'conancenter' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz b2/4.9.3: Package installed ca33edce272a279b24f87dc0d4cf5bbdcffbc187 b2/4.9.3: Downloaded package revision af21ef6c069218ac14bd644751369edd cli11/2.3.2: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conancenter' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz cli11/2.3.2: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 cli11/2.3.2: Downloaded package revision 09c1dc4dee183b34db337018b53f7137 cppcodec/0.2: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conancenter' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz cppcodec/0.2: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 cppcodec/0.2: Downloaded package revision 7cc28e0ff294e67dccc1ddcbeff2d51a magic_enum/0.8.2: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conancenter' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz magic_enum/0.8.2: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 magic_enum/0.8.2: Downloaded package revision ab2d4eeeeee6bba4a658e91931b28f2d nlohmann_json/3.11.2: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conancenter' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz nlohmann_json/3.11.2: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 nlohmann_json/3.11.2: Downloaded package revision 7af677b9629093b9161d0f67a4cc72c1 botan/2.19.3: Configuring sources in C:\Users\runneradmin\.conan\data\botan\2.19.3\_\_\source botan/2.19.3: Copying sources to build folder botan/2.19.3: Building your package in C:\Users\runneradmin\.conan\data\botan\2.19.3\_\_\build\bba469bbdc248d7139ac6dfdccebd3fdc819aced botan/2.19.3: Generator txt created conanbuildinfo.txt botan/2.19.3: Aggregating env generators botan/2.19.3: Calling build() INFO: ./configure.py invoked with options "--build-targets=static --distribution-info=Conan --without-documentation --cc-abi-flags= --extra-cxxflags=-fPIC --cc=msvc --cpu=x86_64 --prefix=C:\Users\runneradmin\.conan\data\botan\2.19.3\_\_\package\bba469bbdc248d7139ac6dfdccebd3fdc819aced --os=windows --amalgamation --debug-mode --msvc-runtime=MDd --without-pkg-config" INFO: Configuring to build Botan 2.19.3 (revision unknown) INFO: Running under 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)] INFO: Autodetected platform information: OS="Windows" machine="AMD64" proc="Intel64 Family 6 Model 106 Stepping 6, GenuineIntel" WARNING: Could not execute ['cl', '/nologo', '/EP', '.\\src\\build-data\\detect_version.cpp']: [WinError 2] The system cannot find the file specified WARNING: Tried to get msvc version, but output '0.0' does not match expected version format WARNING: Could not execute ['cl', '/nologo', '/EP', '/MDd', '/bigobj', '', '', '.\\src\\build-data\\detect_arch.cpp']: [WinError 2] The system cannot find the file specified WARNING: Unable to detect target architecture via compiler macro checks INFO: Target is msvc:0.0-windows-x86_64 INFO: Assuming target x86_64 is little endian INFO: Skipping (dependency failure): asio certstor_sqlite3 sessions_sqlite3 INFO: Skipping (incompatible CPU): aes_armv8 aes_power8 sha1_armv8 sha2_32_armv8 sm4_armv8 INFO: Skipping (incompatible OS): certstor_system_macos commoncrypto dev_random fd_unix getentropy proc_walk INFO: Skipping (incompatible compiler): aes_vperm argon2_ssse3 serpent_avx2 sha1_x86 sha2_32_bmi2 sha2_32_x86 sha2_64_bmi2 sha3_bmi2 shacal2_x86 INFO: Skipping (no enabled compression schemes): compression INFO: Skipping (requires external dependency): boost bzip2 lzma sqlite3 tpm zlib INFO: Loading modules: adler32 aead aes aes_ni aont argon2 aria asn1 auto_rng base base32 base58 base64 bcrypt bcrypt_pbkdf bigint blake2 block blowfish camellia cascade cast128 cast256 cbc cbc_mac ccm cecpq1 certstor_flatfile certstor_sql certstor_system certstor_system_windows cfb chacha chacha20poly1305 chacha_avx2 chacha_rng chacha_simd32 checksum cmac comb4p cpuid crc24 crc32 cryptobox ctr curve25519 des dh dl_algo dl_group dlies dsa dyn_load eax ec_group ecc_key ecdh ecdsa ecgdsa ecies eckcdsa ed25519 elgamal eme_oaep eme_pkcs1 eme_raw emsa1 emsa_pkcs1 emsa_pssr emsa_raw emsa_x931 entropy ffi filters fpe_fe1 gcm ghash ghash_cpu ghash_vperm gmac gost_28147 gost_3410 gost_3411 hash hash_id hex hkdf hmac hmac_drbg hotp http_util idea idea_sse2 iso9796 kasumi kdf kdf1 kdf1_iso18033 kdf2 keccak keypair lion locking_allocator mac mce mceies md4 md5 mdx_hash mem_pool mgf1 misty1 mode_pad modes mp newhope nist_keywrap noekeon noekeon_simd numbertheory ocb ofb par_hash passhash9 pbes2 pbkdf pbkdf1 pbkdf2 pem pgp_s2k pk_pad pkcs11 poly1305 poly_dbl prf_tls prf_x942 processor_rng psk_db pubkey rc4 rdrand_rng rdseed rfc3394 rfc6979 rmd160 rng roughtime rsa salsa20 scrypt seed serpent serpent_simd sessions_sql sha1 sha1_sse2 sha2_32 sha2_64 sha3 shacal2 shacal2_avx2 shacal2_simd shake shake_cipher simd simd_avx2 siphash siv skein sm2 sm3 sm4 socket sodium sp800_108 sp800_56a sp800_56c srp6 stateful_rng stream streebog system_rng thread_utils threefish_512 threefish_512_avx2 tiger tls tls_10 tls_cbc tss twofish utils uuid whirlpool win32_stats x509 x919_mac xmss xtea xts zfec zfec_sse2 zfec_vperm INFO: Using hardlink to link files into build dir (use --link-method to change) INFO: Writing amalgamation header to botan_all.h INFO: Writing amalgamation source to botan_all.cpp INFO: Botan 2.19.3 (revision unknown) (unreleased undated) build setup is complete ********************************************************************** ** Visual Studio 2022 Developer Command Prompt v17.4.3 ** Copyright (c) 2022 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' Microsoft (R) Program Maintenance Utility Version 14.34.31937.0 Copyright (C) Microsoft Corporation. All rights reserved. cl /Fdbuild/botan.pdb /EHs /GR /D_WIN32_WINNT=0x0600 /MDd /bigobj /Zi /FS -fPIC -DBOTAN_IS_BEING_BUILT /W4 /wd4250 /wd4251 /wd4275 /wd4127 /Ibuild\include /Ibuild\include\external /nologo /c botan_all.cpp /Fobuild\obj\lib\botan_all.obj cl : Command line warning D9002 : ignoring unknown option '-fPIC' botan_all.cpp botan_all.cpp(99330): warning C4101: 'ex': unreferenced local variable yaml-cpp/0.7.0 package(): Packaged 37 '.h' files yaml-cpp/0.7.0 package(): Packaged 1 '.lib' file: yaml-cppd.lib yaml-cpp/0.7.0 package(): Packaged 1 '.cmake' file: conan-official-yaml-cpp-targets.cmake yaml-cpp/0.7.0 package(): Packaged 1 file: LICENSE yaml-cpp/0.7.0: Package '164640aad040835ac89882393a96d89200694f04' created yaml-cpp/0.7.0: Created package revision 8c1b3a14e537481cbf26c8a72cce2568 Downloading conan_sources.tgz zlib/1.2.13: Configuring sources in C:\Users\runneradmin\.conan\data\zlib\1.2.13\_\_\source\src ERROR: zlib/1.2.13: Error in source() method, line 51 get(self, **self.conan_data["sources"][self.version], ConanException: sha256 signature failed for 'zlib-1.2.13.tar.gz' file. Provided signature: b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30 Computed signature: be9d95cebf268d6f7a5a8e451e842f91d20c169302c057d163e1f8a9ab8a119a Error: Process completed with exit code 1. ```
FranzPoize commented 1 year ago

Same issue for us

Probably the same bug as #11801 (Edit: This is not the same bug)

FranzPoize commented 1 year ago

Also we don't use a cache:

zlib/1.2.13: Not found in local cache, looking in remotes...
zlib/1.2.13: Trying with 'adnn'...
zlib/1.2.13: Trying with 'conancenter'...
Downloading conanmanifest.txt
Downloading conanfile.py
Downloading conan_export.tgz
zlib/1.2.13: Downloaded recipe revision 13c96f538b52e1600c40b88994de240f

zlib is downloaded from conancenter and does not match the provided sha signature

Strangely enough we do not have the same computed signature

ERROR: zlib/1.2.13: Error in source() method, line 51
    get(self, **self.conan_data["sources"][self.version],
    ConanException: sha256 signature failed for 'zlib-1.2.13.tar.gz' file. 
 Provided signature: b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30  
 Computed signature: 73379e81780744ab040c2932ecbb7631dc04a356a0667f71d6cb3a73767574cd
FranzPoize commented 1 year ago

My workmate says that this happens haphazardly so this may be a network or download issue

FranzPoize commented 1 year ago

Unfortunately there seems to be no difference in the log about the revision downloaded between a successful signature match and failing one

Jean1995 commented 1 year ago

Same issue for us. We use the exact same package (with the identical provided signature), but the windows runner fails.

In this PR, it took six attempts until the hash was finally correct. While the provided signature is always the same (same as in this issue), the computed signature was always different.

Since the problem appears to happen for this exact package, I doubt that it is only a network issue?

Dregu commented 1 year ago

The recipe is downloading from https://zlib.net/fossils/ which just responds "Please wait while your request is being verified..." in html. I had to change the mirror to something sane to build anything locally. Github runner has been failing on this for three weeks.

klausholstjacobsen commented 1 year ago

I am also seeing download issues. zlib.net is not responding. It seems to have been down for more than a week? Any resolution to this?

Regards Klaus

farhadarab commented 10 months ago

I have same problem. but I can't find any solution for it. I am really disappointment. No one gives a definite solution. I did all the ways that were mentioned in the net. Unfortunately, Conan do not respond to this issue, and Apparently, they don't care at all.