Open facontidavide opened 1 year ago
your local cache is corrupted, remove bzip2 recipe and try again.
Thanks for the prompt response. As suggested:
[dfaconti-Legion] ~$ conan remove bzip2/*
Are you sure you want to delete from 'bzip2/1.0.8' (yes/no): yes
Output:
[dfaconti-Legion] ~$ conan install -r conancenter -s build_type=RelWithDebInfo --build=missing bzip2/1.0.8@
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=RelWithDebInfo
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=9
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
bzip2/1.0.8: Retrieving from server 'conancenter'
bzip2/1.0.8: Trying with 'conancenter'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [4.26k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
bzip2/1.0.8: Downloaded recipe revision 0
Installing package: bzip2/1.0.8
Requirements
bzip2/1.0.8 from 'conancenter' - Downloaded
Packages
bzip2/1.0.8:ff2ff6bb41ed84283a6634bada252c37f13eb93c - Build
Installing (downloading, building) binaries...
Downloading conan_sources.tgz completed [0.59k]
Decompressing conan_sources.tgz completed [0.00k]
bzip2/1.0.8: Configuring sources in /home/dfaconti/.conan/data/bzip2/1.0.8/_/_/source/src
bzip2/1.0.8: ERROR: Error downloading file https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz: 'HTTPSConnectionPool(host='sourceware.org', port=443): Max retries exceeded with url: /pub/bzip2/bzip2-1.0.8.tar.gz (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)')))'
bzip2/1.0.8: Waiting 5 seconds to retry...
ERROR: bzip2/1.0.8: Error in source() method, line 58
get(self, **self.conan_data["sources"][self.version],
ConanException: Error downloading file https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz: 'HTTPSConnectionPool(host='sourceware.org', port=443): Max retries exceeded with url: /pub/bzip2/bzip2-1.0.8.tar.gz (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)')))'
Well it seems that you have certificate issues on your machine.
Description
I find this issue when trying to import boost/1.80.0 using build type RelWithDebInfo.
Package and Environment Details
Conan profile
[settings] arch=x86_64 arch_build=x86_64 build_type=RelWithDebInfo compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux os_build=Linux [options] [build_requires] [env]
Steps to reproduce
conan install -r conancenter -s build_type=RelWithDebInfo --build=missing bzip2/1.0.8@
Logs
Click to expand log
``` Installing (downloading, building) binaries... b2/4.9.2: Already installed! bzip2/1.0.8: Copying sources to build folder bzip2/1.0.8: Building your package in /home/dfaconti/.conan/data/bzip2/1.0.8/_/_/build/ff2ff6bb41ed84283a6634bada252c37f13eb93c bzip2/1.0.8: Generator txt created conanbuildinfo.txt bzip2/1.0.8: Calling generate() bzip2/1.0.8: Preset 'relwithdebinfo' added to CMakePresets.json. Invoke it manually using 'cmake --preset relwithdebinfo' bzip2/1.0.8: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake