bincrafters / community

Central repository for issues and recipes
http://bincrafters.readthedocs.io/en/latest/
MIT License
218 stars 36 forks source link

Can not build lzma #369

Closed acsvln closed 6 years ago

acsvln commented 6 years ago

Description of Problem, Request, or Question

Can not build lzma package from sources. My command line: acsvln@acsvln-Inspiron-5567:~/development/samples/gtest_sample$ conan install . -s compiler=gcc -s compiler.version=5.4 -s compiler.libcxx=libstdc++11 --build lzma And result:

lzma/5.2.3@bincrafters/stable: Configuring sources in /home/acsvln/.conan/data/lzma/5.2.3/bincrafters/stable/source
ERROR: Error downloading file https://tukaani.org/xz/xz-5.2.3.tar.gz: 'HTTPSConnectionPool(host='tukaani.org', port=443): Max retries exceeded with url: /xz/xz-5.2.3.tar.gz (Caused by SSLError(CertificateError("hostname 'tukaani.org' doesn't match either of '*.zoner.fi', 'zoner.fi'",),))'
Waiting 5 seconds to retry...
lzma/5.2.3@bincrafters/stable: WARN: Trying to remove dirty source folder
lzma/5.2.3@bincrafters/stable: WARN: This can take a while for big packages
ERROR: lzma/5.2.3@bincrafters/stable: Error in source() method, line 38
    tools.download(source_url, archive_name, verify=True)
    ConanException: Error downloading file https://tukaani.org/xz/xz-5.2.3.tar.gz: 'HTTPSConnectionPool(host='tukaani.org', port=443): Max retries exceeded with url: /xz/xz-5.2.3.tar.gz (Caused by SSLError(CertificateError("hostname 'tukaani.org' doesn't match either of '*.zoner.fi', 'zoner.fi'",),))'
acsvln@acsvln-Inspiron-

Package Details (Include if Applicable)

uilianries commented 6 years ago

I think that was a temporary error from lzma server.

I see no errors on my side. Please, try it again.

I executed the follow command:

conan install -r bincrafters lzma/5.2.3@bincrafters/stable --build lzma

Also, it's possible to download the lzma tar by

 wget -O /tmp/xz-5.2.3.tar.gz https://tukaani.org/xz/xz-5.2.3.tar.gz
acsvln commented 6 years ago

I fear i have some problems with conan (or maybe python?) environment. First command failed (same result), second succeeded.

Croydon commented 6 years ago

Since this seems to be a temporary issue I'm going to close it. Please report back if you continue to have problems.