conan-io / conan-center-index

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

[package] sources broken for several packages #10799

Open Artalus opened 2 years ago

Artalus commented 2 years ago

Inspired by #10750 and #10643, I made a silly script that traverses all the recipes in CCI, and ensures that for every version of every package, the sources are downloadable and def source() can be executed: https://github.com/Artalus/cci-source-avail/blob/master/main.py . Looks like there are several "broken" packages at the moment:

blaze/3.7
crowcpp-crow/0.3
eabase/2.09.06
gfortran/10.2
ignition-cmake/2.10.0
ignition-cmake/2.5.0
ignition-math/6.10.0
ignition-math/6.7.0
ignition-tools/1.4.0
ignition-utils/1.3.0
libnova/0.16.0
libsmacker/1.1.1r35
taywee-args/6.2.4
voropp/0.4.6

The issues are mostly sha256 mismatches, though couple of URLs are not working altogether.

List of errors

Broken URLs `gfortran/10.2` - seems that the snapshots in https://gfortran.meteodat.ch/download/x86_64/snapshots/ do not live for long, the ["oldest"](https://gfortran.meteodat.ch/download/x86_64/snapshots/gcc-10-20220428.tar.xz) tarball being from 2022-04-28 ``` ERROR: conanfile.py (gfortran/10.2@avail/script): Error in source() method, line 44 tools.get(**url[it]) NotFoundException: Not found: https://gfortran.meteodat.ch/download/x86_64/snapshots/gcc-10-20210109.tar.xz ``` `libnova/0.16.0` - not sure what's the issue here, the URL to [SourceForge snapshot](https://sourceforge.net/p/libnova/libnova/ci/v0.16/tree/) works fine for me both in browser and with Python's `requests` - but not in conan ``` ERROR: conanfile.py (libnova/0.16.0@avail/script): Error in source() method, line 68 tools.get(**self.conan_data["sources"][self.version]["archive"], NotFoundException: Not found: https://sourceforge.net/code-snapshots/git/l/li/libnova/libnova.git/libnova-libnova-edbf65abe27ef1a2520eb9e839daaf58f15a6941.zip ``` `voropp/0.4.6` - there is an automatic redirect from HTTP to HTTPS here, and despite the link working fine in browser, even `curl` fails to download the tarball, arguing about local issuer. FWIW, it seems the library can be downloaded from github: https://github.com/chr1shr/voro ``` ERROR: conanfile.py (voropp/0.4.6@avail/script): Error in source() method, line 45 tools.get(**self.conan_data["sources"][self.version], ConanException: Error downloading file http://math.lbl.gov/voro++/download/dir/voro++-0.4.6.tar.gz: 'HTTPSConnectionPool(host='math.lbl.gov', port=443): Max retries exceeded with url: /voro++/download/dir/voro++-0.4.6.tar.gz (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)')))' ```
SHA mismatches `blaze/3.7` ``` ERROR: conanfile.py (blaze/3.7@avail/script): Error in source() method, line 20 tools.get(**self.conan_data["sources"][self.version]) ConanException: sha256 signature failed for 'blaze-3.7.tar.gz' file. Provided signature: 4dfd6bf518c983e8785e217262813d44cdd2842955792417eb0b3736586168fa Computed signature: ef3cbc5db7d62dcdde0af88d3c951051254afd750d26773406fddb6afc5ad890 ``` `crowcpp-crow/0.3` ``` ERROR: conanfile.py (crowcpp-crow/0.3@avail/script): Error in source() method, line 39 tools.get( ConanException: sha256 signature failed for 'v0.3.tar.gz' file. Provided signature: 95538db88fba73c0bc87bbc40b62dcf488012c133a895634ade015009ebb4f25 Computed signature: 144742c43fa82a30fbddb612529d79a6ba35dc6abe4ff09fa4deb11b1bb1c363 ``` `eabase/2.09.06` ``` ERROR: conanfile.py (eabase/2.09.06@avail/script): Error in source() method, line 20 tools.get(**self.conan_data["sources"][self.version]) ConanException: sha256 signature failed for '2.09.06.tar.gz' file. Provided signature: 981f922441617152b841585c0fc0bd205bd898c758016fa4985599a63c5a6e16 Computed signature: c25c244a4b4e9df3493972d9ff3ee9bdc9c828f564758cb50bf3ba341a7685c9 ``` `ignition-cmake/2.5.0` ``` ERROR: conanfile.py (ignition-cmake/2.5.0@avail/script): Error in source() method, line 38 tools.get(**self.conan_data["sources"][self.version]) ConanException: sha256 signature failed for 'ignition-cmake2_2.5.0.zip' file. Provided signature: 6d35f015e259ec955f3abda64358a705ce5b3376c3df2ab5f0c17bea4b4e2f68 Computed signature: 30945958fbe598f654d30de926a798f9055b1c635f7d85441ecba1ebe0804d2d ``` `ignition-cmake/2.10.0` ``` ERROR: conanfile.py (ignition-cmake/2.10.0@avail/script): Error in source() method, line 38 tools.get(**self.conan_data["sources"][self.version]) ConanException: sha256 signature failed for 'ignition-cmake2_2.10.0.tar.gz' file. Provided signature: b6075d0835d50a7fe2e1cdfce9fabe74a76d3e5cf677ce1da203bfa88035e88a Computed signature: 48a01131731b09c32cfc7d577c4db378fb02e49a071e24c9299624766e1d05a2 ``` `ignition-math/6.7.0` ``` ERROR: conanfile.py (ignition-math/6.7.0@avail/script): Error in source() method, line 79 tools.get(**self.conan_data["sources"][self.version]) ConanException: sha256 signature failed for 'ignition-math6_6.7.0.tar.gz' file. Provided signature: 8456af51cbb128d7468d65b55124af7a235f052214ac2a239c3f23197416f2d2 Computed signature: e5dac5aca6a117af8bd07ebca6e4ec8255682453487bf8d706bdb0315d17d6af ``` `ignition-math/6.10.0` ``` ERROR: conanfile.py (ignition-math/6.10.0@avail/script): Error in source() method, line 79 tools.get(**self.conan_data["sources"][self.version]) ConanException: sha256 signature failed for 'ignition-math6_6.10.0.tar.gz' file. Provided signature: 9e00284cd6d51afe190165b2b44258e19bd4a28781cbacf21fd6b0bae43c16aa Computed signature: 94e853e1dfba97ebec4b6152691a89af1e94660b02f4ecdf04356b763c2848bd ``` `ignition-tools/1.4.0` ``` ERROR: conanfile.py (ignition-tools/1.4.0@avail/script): Error in source() method, line 68 tools.get(**self.conan_data["sources"][self.version],destination=self._source_subfolder, strip_root=True) ConanException: sha256 signature failed for 'ignition-tools_1.4.0.tar.gz' file. Provided signature: fa3f7984ebb8f412133ea93368395adce426ae36c715a9f94f9509af7dac3b03 Computed signature: 8ceebefcd1977dc2e26beede347a9c06d851b89ec0fd7d5c86126f43a49ac178 ``` `ignition-utils/1.3.0` ``` ERROR: conanfile.py (ignition-utils/1.3.0@avail/script): Error in source() method, line 78 tools.get(**self.conan_data["sources"][self.version], strip_root=True, destination=self._source_subfolder) ConanException: sha256 signature failed for 'ignition-utils1_1.3.0.tar.gz' file. Provided signature: 4ca4f553c2a1cf77c02bd37e0cba35837fd4f46145eac2b0334e33f74fd98163 Computed signature: 062bfbbdc185e1dacc4ffd9e70572fc01e32d11782e991ae027541ee02858e92 ``` `libsmacker/1.1.1r35` ``` ERROR: conanfile.py (libsmacker/1.1.1r35@avail/script): Error in source() method, line 52 tools.get(**self.conan_data["sources"][self.version], ConanException: sha256 signature failed for 'libsmacker-1.1.1r35.tar.gz' file. Provided signature: bb9c22c02ecda189a3389c9340a0eb6a8f287aa257099b54c3d9e1802a454630 Computed signature: 43e447da8a4745f5af63abf56e5116f0f4a9e5b7417c31b0e22943f951cf8eb3 ``` `taywee-args/6.2.4` ``` ERROR: conanfile.py (taywee-args/6.2.4@avail/script): Error in source() method, line 28 tools.get(**self.conan_data["sources"][self.version]) ConanException: sha256 signature failed for '6.2.4.tar.gz' file. Provided signature: dcc6d0d6b941eb40eeeb5741917d557944f3880e0dea9096147d0bdd89c34654 Computed signature: 308eb09a9656315b38c2d1f7526b22b42695b352da316fa4ac17a8b86cdd4663 ```
uilianries commented 2 years ago

Very interesting! Thank you @Artalus for pointing us about those broken signatures!

paulharris commented 2 years ago

What a great idea to check!

jgsogo commented 2 years ago

This is probably something that can be contributed as a Github action. We can run it every day/week and post the results to a pinned issue.